This commit is contained in:
SBD
2023-11-28 14:02:49 +03:00
parent aa79cbd743
commit a740e48c8e
7 changed files with 52 additions and 26 deletions

View File

@@ -380,8 +380,8 @@ body,html{
} }
.form_consultation_container{ .form_consultation_container{
margin: 130px 90px 0 90px; padding: 130px 90px 0 90px;
padding-bottom: 110px; padding-bottom: 90px;
} }
@@ -571,7 +571,7 @@ body,html{
} }
.container_content_faq{ .container_content_faq{
margin: 0 170px; margin: 100px 170px 0 170px;
padding-bottom: 90px; padding-bottom: 90px;
} }
@@ -646,8 +646,6 @@ body,html{
.footer_els_container{ .footer_els_container{
width: 73%; width: 73%;
display: flex; display: flex;
padding-top: 70px;
padding-bottom: 60px;
flex-wrap: wrap; flex-wrap: wrap;
} }
@@ -668,11 +666,15 @@ body,html{
.footer_name_str{ .footer_name_str{
margin-top: 20px; margin-top: 20px;
display: block;
text-decoration: none;
} }
.flex_container_footer{ .flex_container_footer{
display: flex; display: flex;
width: 100%; width: 100%;
padding-top: 70px;
padding-bottom: 60px;
} }
.btn_contacts_footer{ .btn_contacts_footer{
@@ -682,6 +684,7 @@ body,html{
color: #FB6952; color: #FB6952;
background: none; background: none;
width: 100%; width: 100%;
transition: 200ms;
} }
.btn_contacts_footer:hover{ .btn_contacts_footer:hover{
border-radius: 2px; border-radius: 2px;
@@ -689,8 +692,17 @@ body,html{
padding: 15px 0; padding: 15px 0;
background: #FB6952; background: #FB6952;
color: #ffffff; color: #ffffff;
transition: 200ms;
} }
.logo_footer{ .logo_footer{
height: 35px; height: 35px;
} }
.inf_contacts_footer{
padding: 20px 0 15px 0;
}
.txt_footer{
padding-bottom: 5px;
}

View File

@@ -1,5 +1,7 @@
$(document).ready(function (){ $(document).ready(function (){
if (document.querySelector(".header").dataset['page'] === true){
renderContent() renderContent()
}
}) })
function getInfoAboutUser (){ function getInfoAboutUser (){

View File

@@ -5,18 +5,19 @@
<div class="cut-width"> <div class="cut-width">
<div class="flex_container_footer"> <div class="flex_container_footer">
<div class="footer_els_container"> <div class="footer_els_container">
{% for service in services %} {% for item in sections %}
<div class="footer_el"> <div class="footer_el">
<div class="footer_name_str medium_txt"> <div class="footer_name_str medium_txt">
{{ service.name }} {# {{ item.name }}#}
Разделы
</div> </div>
{% if service.rel_children_for_service.all %} {% if sections %}
<div class="footer_el_childs"> <div class="footer_el_childs">
{% for sub_serv in service.rel_children_for_service.all %} {% for sub_item in sections %}
<div class="footer_name_str standart_semi_bold_txt"> <a href="{% url 'section_page' sub_item.url %}" class="footer_name_str standart_semi_bold_txt">
{{ service.name }} {{ sub_item.name }}
</div> </a>
{% endfor %} {% endfor %}
</div> </div>
{% endif %} {% endif %}
@@ -28,8 +29,10 @@
<div class="logo_container_footer"> <div class="logo_container_footer">
<img src="{{ logo }}" class="logo_footer"> <img src="{{ logo }}" class="logo_footer">
</div> </div>
<div class="standart_txt">+1 234 5678901</div> <div class="inf_contacts_footer">
<div class="standart_txt">company@aerbim.com</div> <div class="standart_txt txt_footer">+1 234 5678901</div>
<div class="standart_txt txt_footer">company@aerbim.com</div>
</div>
<button class="btn_contacts_footer">Контакты</button> <button class="btn_contacts_footer">Контакты</button>
</div> </div>
</div> </div>

View File

@@ -2,7 +2,7 @@
{% load i18n %} {% load i18n %}
{% load admin_interface_tags %} {% load admin_interface_tags %}
<div class="header"> <div class="header" data-page="{{ main }}">
<div class="cut-width"> <div class="cut-width">
<div class="left_part_header"> <div class="left_part_header">
{# <img src="{% static "images/logo.svg" %}" class="logo_header">#} {# <img src="{% static "images/logo.svg" %}" class="logo_header">#}

View File

@@ -14,4 +14,3 @@
{% if cur_section.plugin_presentation.all %} {% if cur_section.plugin_presentation.all %}
{% include 'blocks/b_3d_s_d.html' with block=cur_section.plugin_presentation.all.0 %} {% include 'blocks/b_3d_s_d.html' with block=cur_section.plugin_presentation.all.0 %}
{% endif %} {% endif %}
{% include 'blocks/b_faq.html' %}

View File

@@ -1,10 +1,19 @@
<!DOCTYPE html> {% extends 'tb_base.html' %}
<html lang="en"> {% block CONTENT %}
<head> {% include 'blocks/dynamic/b_sections_buttons.html' %}
<meta charset="UTF-8"> {% include 'blocks/b_service.html' %}
<title>Title</title> {% for block in page.blocks.all %}
</head> {% if block.block_type == 'photo150_n_title' %}
<body> {% include 'blocks/b_photo150_n_title.html' %}
{% elif block.block_type == 'how_work' %}
{% include 'blocks/b_how_with_us_working.html' %}
{% elif block.block_type == 'feedback_form' %}
{% include 'forms/f_consultation.html' %}
{% endif %}
</body> {% endfor %}
</html> {% if page.plugin_presentation.all %}
{% include 'blocks/b_3d_s_d.html' with block=page.plugin_presentation.all.0 %}
{% endif %}
{% endblock %}

View File

@@ -20,6 +20,7 @@
{% endblock %} {% endblock %}
</div> </div>
{% include 'blocks/b_faq.html' %}
{% include 'blocks/b_footer.html' %} {% include 'blocks/b_footer.html' %}
</body> </body>
</html> </html>