0.0.27
This commit is contained in:
@@ -42,10 +42,21 @@ def get_content_for_section_ajax(request):
|
|||||||
|
|
||||||
from .funcs import get_sections
|
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 = {
|
Dict = {
|
||||||
'cur_section': section,
|
'cur_section': section,
|
||||||
'sections': get_sections(),
|
'sections': get_sections(),
|
||||||
'services': services
|
'services': services,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
html = render_to_string('pages/content/c_projectiing_section.html', Dict, request=request)
|
html = render_to_string('pages/content/c_projectiing_section.html', Dict, request=request)
|
||||||
|
|||||||
@@ -58,6 +58,10 @@ body,html{
|
|||||||
text-align: -webkit-right;
|
text-align: -webkit-right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.logo_header{
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
.right_part_header {
|
.right_part_header {
|
||||||
width: 75%;
|
width: 75%;
|
||||||
float: right;
|
float: right;
|
||||||
@@ -630,4 +634,23 @@ body,html{
|
|||||||
color: #000000;
|
color: #000000;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
width: calc(100% - 40px);
|
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;
|
||||||
}
|
}
|
||||||
27
templates/blocks/b_footer.html
Normal file
27
templates/blocks/b_footer.html
Normal 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>
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
{% load static %}
|
{% load static %}
|
||||||
|
{% load i18n %}
|
||||||
{% load admin_interface_tags %}
|
{% load admin_interface_tags %}
|
||||||
|
|
||||||
<div class="header">
|
<div class="header">
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{% load static %}
|
{% load static %}
|
||||||
|
{% load i18n %}
|
||||||
|
|
||||||
<div class="form_consultation_container">
|
<div class="form_consultation_container">
|
||||||
<div class="top_border_gradient"></div>
|
<div class="top_border_gradient"></div>
|
||||||
|
|||||||
@@ -11,4 +11,5 @@
|
|||||||
{% 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' %}
|
{% include 'blocks/b_faq.html' %}
|
||||||
|
{% include 'blocks/b_footer.html' %}
|
||||||
Reference in New Issue
Block a user