diff --git a/static/css/styles.css b/static/css/styles.css index e82be5d..376b0c9 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -1853,7 +1853,7 @@ button#more_button{ } .feedback_form{ - margin-top: 120px; + margin-top: 60px; padding: 0px 40px 0px 40px; } @@ -1877,10 +1877,12 @@ button#more_button{ } .counter-box>textarea{ - border-radius: 10px; + border-radius: 10px; border: 1px solid #FF613A; - width: 400px; - height: 140px; + width: 405px; + height: 130px; + min-width: 65px; + padding: 10px 0px 0px 10px; } .counter-text{ position: absolute; @@ -1889,6 +1891,21 @@ button#more_button{ color: #7E7E7E; } +.button_feedback_form{ + text-align: center; +} +button#send_feedback_form{ + border-radius: 10px; + background: #FF613A; + height: 60px; + color: #FFF; + font-size: 18px; + font-style: normal; + font-weight: 600; + line-height: 26px; + width: 100%; + margin-top: 13px; +} /*end_static_pages*/ diff --git a/templates/blocks/static_pages_blocks/b_about_service.html b/templates/blocks/static_pages_blocks/b_about_service.html index 0d60422..1068ed1 100644 --- a/templates/blocks/static_pages_blocks/b_about_service.html +++ b/templates/blocks/static_pages_blocks/b_about_service.html @@ -76,7 +76,11 @@ + +
+

{% translate "Мы всегда на связи!" %}

+ {% translate "У вас есть вопрос? Отправьте нам сообщение" %}
@@ -108,7 +112,7 @@ onFocus="this.select()" oninput="counterText(this)" id="id_text" class="feedback_form_message" - placeholder= {% translate "Сообщение" %} + placeholder= {% translate "Сообщение" %} value="{% if form.adding_machine.text %}{{ form.initial.text }}{% endif %}" maxlength="100" > @@ -120,6 +124,11 @@
+
+ + +
+
diff --git a/templates/blocks/static_pages_blocks/b_contacts.html b/templates/blocks/static_pages_blocks/b_contacts.html new file mode 100644 index 0000000..854d7fa --- /dev/null +++ b/templates/blocks/static_pages_blocks/b_contacts.html @@ -0,0 +1,69 @@ +{% load i18n %} +
+ + + + + + + + + + diff --git a/templates/pages/p_static_page.html b/templates/pages/p_static_page.html index ea0c5cf..3b9f550 100644 --- a/templates/pages/p_static_page.html +++ b/templates/pages/p_static_page.html @@ -14,5 +14,8 @@ {% if page.url == 'partners' %} {% include "blocks/static_pages_blocks/b_partners.html" %} {% endif %} + {% if page.url == 'contacts' %} + {% include "blocks/static_pages_blocks/b_contacts.html" %} + {% endif %} {% endblock %} \ No newline at end of file