diff --git a/static/css/styles.css b/static/css/styles.css index 7ed50cf..9190672 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -1770,7 +1770,7 @@ button#more_button{ height: fit-content; align-items: flex-start; gap: 74px; - justify-content: center; + justify-content: space-around; margin-bottom: 20px } @@ -1800,9 +1800,10 @@ button#more_button{ } .bottom_block_static{ - margin-top: 120px; - padding: 0px 40px 0px 40px; + padding: 40px 40px 0px 40px; position: relative; + width: 80%; + margin: auto; } @@ -1826,15 +1827,15 @@ button#more_button{ .bottom_block_static img:nth-child(4) { /* Положение нижнего левого изображения */ - left: 3%; + left: -5%; bottom: 0%; } .bottom_block_static img:nth-child(5) { /* Положение верхнего левого изображения */ - top: 4%; - left: 12%; + top: 13%; + left: 3%; transform: scale(-1, 1); @@ -1842,17 +1843,17 @@ button#more_button{ .bottom_block_static img:nth-child(6) { /* Положение нижнего правого изображения */ - right: 1%; - top: 60%; - transform: scale(1, -1); + right: -5%; + bottom: 0%; + transform: scale(1, -1); } .bottom_block_static img:nth-child(7) { /* Положение верхнего правого изображения */ - top: 11%; - right: 10%; + top: 18%; + right: 1%; } @@ -1954,6 +1955,12 @@ button#send_feedback_form{ margin-top: 13px; } +.subscribes_container{ + width: 80%; + margin: auto; + padding-top: 5%; +} + /*end_static_pages*/ /*my routes END*/ diff --git a/static/js/global_js.js b/static/js/global_js.js index 2b27e0d..910777b 100644 --- a/static/js/global_js.js +++ b/static/js/global_js.js @@ -11,11 +11,22 @@ window.onload = function (){ function middleWareJS(){ let footer = document.querySelector("footer") + let body = document.body.style; + if (document.querySelector(".block-list-of-users")){ footer.style.display = "none" + body.overflowY = "hidden" + + } else { footer.style.display = "" } + + + + + + // let window_messages = document.querySelector(".container-messages") // let new_timeout_time; // if (window_messages !== null){ diff --git a/templates/blocks/profile/b_subscribe_current.html b/templates/blocks/profile/b_subscribe_current.html index d1d1ad9..e5160e3 100644 --- a/templates/blocks/profile/b_subscribe_current.html +++ b/templates/blocks/profile/b_subscribe_current.html @@ -1,8 +1,8 @@ {% load static %} -
- Подписка -
+{#
#} +{# Подписка#} +{#
#}
diff --git a/templates/blocks/profile/b_subscribe_variants.html b/templates/blocks/profile/b_subscribe_variants.html index c14ddc4..68d8158 100644 --- a/templates/blocks/profile/b_subscribe_variants.html +++ b/templates/blocks/profile/b_subscribe_variants.html @@ -16,6 +16,7 @@
+
{% for subscribe in subscribes %}
diff --git a/templates/blocks/profile/b_support_chat.html b/templates/blocks/profile/b_support_chat.html index 0db2773..825dfe1 100644 --- a/templates/blocks/profile/b_support_chat.html +++ b/templates/blocks/profile/b_support_chat.html @@ -6,9 +6,9 @@ {#
#}
-
-

Техническая поддержка

-
+{#
#} +{#

Техническая поддержка

#} +{#
#} {% if ticket %}
diff --git a/templates/blocks/static_pages_blocks/b_mover_search.html b/templates/blocks/static_pages_blocks/b_mover_search.html index 047d46c..d623999 100644 --- a/templates/blocks/static_pages_blocks/b_mover_search.html +++ b/templates/blocks/static_pages_blocks/b_mover_search.html @@ -1,5 +1,8 @@ +{% load static %} {% load i18n %} + +

{{ page.title }}

{{ page.description }} @@ -16,6 +19,7 @@
+

{% translate "О сервисе Trip With Bonus" %}

@@ -58,21 +62,98 @@
{% translate "Общение и новые знакомства" %}
+ +

{% translate "Как это работает?" %}

+
+ +
+ +

{% translate "Разместите объявление" %}

+ {% translate "Укажите откуда, куда хотите перевезти посылку, а также Вашу дату отправки и прибытия. При желании Вы можете указать дополнительные параметры: тип, вес, вид перевозки и т.д" %} +
+ + +
+ +

{% translate "Свяжитесь с перевозчиком" %}

+ {% translate "В отобразившемся списке выберите подходящего отправителя и посылку, откройте контакты и свяжитесь удобным способом. Если не нашли подходящего отправителя с посылкой, разместите объявление о возможности перевезти посылку и отправители Вас сами найдут" %} +
+ +
+ +

{% translate "Передайте посылку" %}

+ {% translate "Обсудите с отправителем все условия: время, место и прочие детали. Готово! Доставьте посылку из пункта А в пункт Б и получите благодарность отправителя!" %} +
+
+ +
+ + +
+ +
+
+

{% translate "Тарифы" %}

+ +
+ {% for subscribe in subscribes %} +
+
+
+ {{ subscribe.name }} +
+
+ {% if subscribe.price %} + {{ subscribe.price|floatformat }}$ + {% else %} + Бесплатно + {% endif %} +
+
+ Период: {{ subscribe.period_name }} +
+
+
+
+ Опции: +
+
+
    + {% for opt in subscribe.options.all %} +
  • {{ opt.name }}
  • + {% endfor %} + {% for opt_dis in subscribe.disabled_options %} +
  • {{ opt_dis.name }}
  • + {% endfor %} + +
+
+
+
+ +
+
+ {% endfor %} +
+ +
+ + + + + +
-

{% translate "Станьте нашим партнером" %}

- -

- {% translate "Приглашаем к сотрудничесту и развитию, вместе с большой и сильной командой. Мы предлагаем Вам" %} - {% translate "вместе с нами развивать сервис и стать партнером" %} -

-
+

{% translate "Оформи подписку сейчас и получи" %}

+

{% translate "1 день пользования сервисом в подарок!" %}

+ +
- +
@@ -83,64 +164,7 @@ - + diff --git a/templates/pages/p_static_page.html b/templates/pages/p_static_page.html index 08c84c0..8d0de0b 100644 --- a/templates/pages/p_static_page.html +++ b/templates/pages/p_static_page.html @@ -2,12 +2,10 @@ {% block content %} - {% if page.url == 'for_customers' %} - {% include "blocks/static_pages_blocks/b_customer_search.html" %} - {% endif %} - {% if page.url == 'for_movers' %} + {% if page.url == 'for_customers' or page.url == 'for_movers' %} {% include "blocks/static_pages_blocks/b_mover_search.html" %} {% endif %} + {% if page.url == 'advertisement' %} {% include "blocks/static_pages_blocks/b_advertisement.html" %} {% endif %}