Merge remote-tracking branch 'origin/main'

This commit is contained in:
SBD
2023-11-19 18:04:01 +03:00
4 changed files with 21 additions and 11 deletions

View File

@@ -2046,8 +2046,8 @@ button#more_button{
.mid_block_static{
margin: 120px 40px 0 40px;
width: 90%;
margin: 120px 0 0;
width: 100%;
}
.mid_block_static>.text_wrapper>span{
display: block;
@@ -2764,7 +2764,7 @@ details[open] summary ~ *{
.news_item_pagination{
width: 90%;
width: 100%;
background: white;
margin: 0 auto 10px;
border-radius: 15px;

View File

@@ -5,7 +5,9 @@
<h2 id=title_static>{{ page.title }}</h2>
<span id="sub_title_static">{{ page.description }}</span>
<div class="button_container">
<button id="more_button">{% translate "Узнать подробнее" %}</button>
<button
onclick="document.location='{% url "static_page" "partners" %}'"
id="more_button">{% translate "Узнать подробнее" %}</button>
</div>
</div>
</div>

View File

@@ -62,8 +62,8 @@
</div>
<div class="clear_both"></div>
</form>
<div class="clear_both"></div>
</div>

View File

@@ -16,14 +16,18 @@
<div class="button_container">
{% if page.url == 'for_customers' %}
<button id="more_button">{% translate "Отправить посылку" %}</button>
<button
onclick="document.location='{% url 'profile_page' 'create_route_for_customer' %}'"
id="more_button">{% translate "Отправить посылку" %}</button>
{% endif %}
{% if page.url == 'for_movers' %}
<button id="more_button">{% translate "Перевезти посылку" %}</button>
<button
onclick="document.location='{% url 'profile_page' 'create_route_for_mover' %}'"
id="more_button">{% translate "Перевезти посылку" %}</button>
{% endif %}
<button
onclick="scrollToEl(this)"
onclick= "document.location='#title_static'"
id="how_it_work_b">{% translate "Как это работает?" %}
</button>
</div>
@@ -113,10 +117,14 @@
<div class="button_container">
{% if page.url == 'for_customers' %}
<button id="more_button">{% translate "Отправить посылку" %}</button>
<button
onclick="document.location='{% url 'profile_page' 'create_route_for_customer' %}'"
id="more_button">{% translate "Отправить посылку" %}</button>
{% endif %}
{% if page.url == 'for_movers' %}
<button id="more_button">{% translate "Перевезти посылку" %}</button>
<button
onclick="document.location='{% url 'profile_page' 'create_route_for_mover' %}'"
id="more_button">{% translate "Перевезти посылку" %}</button>
{% endif %}
</div>
<div class="subscribes_container">