This commit is contained in:
SBD
2023-11-27 01:07:45 +03:00
parent 9e01eef08d
commit 9ab186ac8b
6 changed files with 269 additions and 26 deletions

View File

@@ -0,0 +1,69 @@
{% load static %}
{% load i18n %}
{# h_w_u_w - how with us working #}
<div class="container_how_w_us_working">
<div class="cut-width">
<div class="large_txt h_w_u_w">
{% translate 'КАК С НАМИ РАБОТАТЬ?' %}
</div>
<div class="descript_process_block">
<div class="descript_process_container">
<div class="photo_container_descript_process">
<img class="img_descript_process" src="{% static "images/delete_later/photo_test_descript_process.svg" %}">
</div>
<div class="txt_descript_process standart_txt">
Получение инфы
</div>
</div>
<div class="descript_process_container">
<div class="photo_container_descript_process">
<img class="img_descript_process" src="{% static "images/delete_later/photo_test_descript_process.svg" %}">
</div>
<div class="txt_descript_process standart_txt">
Получение инфы
</div>
</div>
<div class="descript_process_container">
<div class="photo_container_descript_process">
<img class="img_descript_process" src="{% static "images/delete_later/photo_test_descript_process.svg" %}">
</div>
<div class="txt_descript_process standart_txt">
Получение инфы
</div>
</div>
<div class="descript_process_container">
<div class="photo_container_descript_process">
<img class="img_descript_process" src="{% static "images/delete_later/photo_test_descript_process.svg" %}">
</div>
<div class="txt_descript_process standart_txt">
Получение инфы
</div>
</div>
</div>
<div class="form_consultation_container">
<div class="top_border_gradient"></div>
<form class="form_consultation">
<div class="container_content_form_consultation">
<div class="description_form_consultation">
<div class="medium_txt title_form_consultation">
{% translate 'НУЖНА КОНСУЛЬТАЦИЯ - ИХ ЕСТЬ У НАС!' %}
</div>
<div class="standart_txt description_form_consultation_txt">
{% translate 'Lorem ipsum dolor sit amet consectetur. Rutrum tristique mauris non vitae varius porta quis. Magna adipiscing in turpis pellentesque sit turpis enim condimentum cras. Imperdiet enim feugiat blandit in vitae congue cursus ac.' %}
</div>
<button class="button_form_consultation">{% translate 'Отправить запрос' %}</button>
</div>
<div class="form_consultation_content">
<input class="input_form_consultation" id="id_name" name="name" placeholder="{% translate 'Имя' %}">
<input class="input_form_consultation" id="id_company" name="company" placeholder="{% translate 'Компания' %}">
<input class="input_form_consultation" id="id_contacts" name="contacs" placeholder="{% translate 'Компания' %}">
<label class="label_consultation_form standart_txt" for="id_consultation_topic">{% translate 'Тема консультации' %}</label>
<textarea class="textarea_form_consultation" id="id_consultation_topic" name="consultation_topic"></textarea>
</div>
</div>
</form>
</div>
</div>
</div>

View File

@@ -1,32 +1,34 @@
{% load static %}
{% load i18n %}
<div class="services_block">
{% for service in services %}
<div class="service_container">
{% if sub_serv.picture %}
<div class="left_part_service">
<img class="service_img" src="{{ MEDIA_URL }}{{ service.picture }}">
<div class="cut-width">
<div class="block_service">
{% for service in services %}
<div class="service_container">
{% if sub_serv.picture %}
<div class="left_part_service">
<img class="service_img" src="{{ MEDIA_URL }}{{ service.picture }}">
</div>
{% endif %}
<div class="right_part_service {% if sub_serv.picture %}w_100{% endif %}">
{{ service.name }}
</div>
{% endif %}
<div class="right_part_service {% if sub_serv.picture %}w_100{% endif %}">
{{ service.name }}
</div>
{% if service.rel_children_for_service.all %}
{% for sub_serv in service.rel_children_for_service.all %}
<div class="services_block">
<div class="service_container">
{% if sub_serv.picture %}
<div class="left_part_service">
<img class="service_img" src="{{ MEDIA_URL }}{{ sub_serv.picture }}">
{% if service.rel_children_for_service.all %}
{% for sub_serv in service.rel_children_for_service.all %}
<div class="services_block">
<div class="service_container">
{% if sub_serv.picture %}
<div class="left_part_service">
<img class="service_img" src="{{ MEDIA_URL }}{{ sub_serv.picture }}">
</div>
{% endif %}
<div class="right_part_service {% if not sub_serv.picture %}w_100{% endif %}">
{{ sub_serv.name }}
</div>
{% endif %}
<div class="right_part_service {% if not sub_serv.picture %}w_100{% endif %}">
{{ sub_serv.name }}
</div>
</div>
</div>
{% endfor %}
{% endif %}
</div>
{% endfor %}
{% endfor %}
{% endif %}
</div>
{% endfor %}
</div>
</div>

View File

@@ -1,2 +1,3 @@
{% include 'blocks/dynamic/b_sections_buttons.html' %}
{% include 'blocks/b_service.html' %}
{% include 'blocks/b_service.html' %}
{% include 'blocks/b_how_with_us_working.html' %}