This commit is contained in:
SBD
2023-11-28 12:36:27 +03:00
parent e3ec92dbf5
commit 852368f4bd
6 changed files with 66 additions and 2 deletions

View File

@@ -42,10 +42,21 @@ def get_content_for_section_ajax(request):
from .funcs import get_sections
# one_list_childs = {
# 'name' : 'вгд'
# }
# list_childs = [one_list_childs]
# one_list_el = {
# 'name':'абв',
# 'childs': list_childs
# }
# els_footer_list = [one_list_el]
#
Dict = {
'cur_section': section,
'sections': get_sections(),
'services': services
'services': services,
}
html = render_to_string('pages/content/c_projectiing_section.html', Dict, request=request)

View File

@@ -58,6 +58,10 @@ body,html{
text-align: -webkit-right;
}
.logo_header{
height: 50px;
}
.right_part_header {
width: 75%;
float: right;
@@ -630,4 +634,23 @@ body,html{
color: #000000;
padding: 20px;
width: calc(100% - 40px);
}
/*footer*/
.block_footer{
width: 100%;
background: #10212B;
}
.footer_els_container{
width: 100%;
display: flex;
padding-top: 70px;
padding-bottom: 60px;
}
.footer_name_str{
color: #ffffff;
font-weight: 500;
}

View File

@@ -0,0 +1,27 @@
{% load static %}
{% load i18n %}
<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>
{% 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 %}
</div>
</div>
</div>

View File

@@ -1,4 +1,5 @@
{% load static %}
{% load i18n %}
{% load admin_interface_tags %}
<div class="header">

View File

@@ -1,4 +1,5 @@
{% load static %}
{% load i18n %}
<div class="form_consultation_container">
<div class="top_border_gradient"></div>

View File

@@ -11,4 +11,5 @@
{% 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_faq.html' %}
{% include 'blocks/b_footer.html' %}