0.0.14 block photo150_n_title codding
This commit is contained in:
81
templates/blocks/b_photo150_n_title.html
Normal file
81
templates/blocks/b_photo150_n_title.html
Normal file
@@ -0,0 +1,81 @@
|
||||
{% 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">
|
||||
{{ block.title }}
|
||||
</div>
|
||||
{% if block.rel_widgets_for_block.all %}
|
||||
<div class="descript_process_block">
|
||||
{% for b_widget in block.rel_widgets_for_block.all %}
|
||||
|
||||
<div class="descript_process_container">
|
||||
{% if b_widget.picture %}
|
||||
<div class="photo_container_descript_process">
|
||||
<img class="img_descript_process" src="{{ MEDIA_URL }}{{ b_widget.picture }}">
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if b_widget.title %}
|
||||
<div class="txt_descript_process standart_txt">
|
||||
{{ b_widget.title }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{# <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>
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
||||
<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>
|
||||
@@ -1,3 +1,8 @@
|
||||
{% include 'blocks/dynamic/b_sections_buttons.html' %}
|
||||
{% include 'blocks/b_service.html' %}
|
||||
{% include 'blocks/b_how_with_us_working.html' %}
|
||||
{#{% include 'blocks/b_how_with_us_working.html' %}#}
|
||||
{% for block in cur_section.blocks.all %}
|
||||
{% if block.block_type == 'photo150_n_title' %}
|
||||
{% include 'blocks/b_photo150_n_title.html' %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user