This commit is contained in:
SBD
2023-11-28 13:28:11 +03:00
parent 852368f4bd
commit 1406c85735
6 changed files with 73 additions and 21 deletions

View File

@@ -644,13 +644,53 @@ body,html{
}
.footer_els_container{
width: 100%;
width: 73%;
display: flex;
padding-top: 70px;
padding-bottom: 60px;
flex-wrap: wrap;
}
.footer_el{
width: 44%;
margin-right: 50px;
margin-bottom: 20px;
}
.footer_name_str{
color: #ffffff;
font-weight: 500;
}
.footer_el_childs{
margin-top: 20px;
}
.footer_name_str{
margin-top: 20px;
}
.flex_container_footer{
display: flex;
width: 100%;
}
.btn_contacts_footer{
border-radius: 2px;
border: 1px solid #FB6952;
padding: 15px 0;
color: #FB6952;
background: none;
width: 100%;
}
.btn_contacts_footer:hover{
border-radius: 2px;
border: 1px solid #FB6952;
padding: 15px 0;
background: #FB6952;
color: #ffffff;
}
.logo_footer{
height: 35px;
}

View File

@@ -0,0 +1 @@
{% load static %}

View File

@@ -1,27 +1,37 @@
{% load static %}
{% load i18n %}
{% load admin_interface_tags %}
<div class="block_footer">
<div class="cut-width">
<div class="footer_els_container">
{% for service in services %}
<div class="footer_el">
<div class="footer_name_str medium_txt">
{{ service.name }}
<div class="flex_container_footer">
<div class="footer_els_container">
{% for service in services %}
<div class="footer_el">
<div class="footer_name_str medium_txt">
{{ service.name }}
</div>
{% if service.rel_children_for_service.all %}
<div class="footer_el_childs">
{% for sub_serv in service.rel_children_for_service.all %}
<div class="footer_name_str standart_semi_bold_txt">
{{ service.name }}
</div>
{% endfor %}
</div>
{% endif %}
</div>
{% if service.rel_children_for_service.all %}
<div class="footer_el_childs">
{% for sub_serv in service.rel_children_for_service.all %}
<div class="footer_el_children_name_str">
{{ service.name }}
</div>
{% endfor %}
</div>
{% endif %}
</div>
{% endfor %}
{% endfor %}
</div>
<div class="right_part_footer">
<div class="logo_container_footer">
<img src="{{ logo }}" class="logo_footer">
</div>
<div class="standart_txt">+1 234 5678901</div>
<div class="standart_txt">company@aerbim.com</div>
<button class="btn_contacts_footer">Контакты</button>
</div>
</div>
</div>
</div>

View File

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

View File

@@ -3,4 +3,5 @@
{% include 'blocks/dynamic/b_sections_buttons.html' %}
{% endblock %}

View File

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