This commit is contained in:
SBD
2023-11-29 13:14:41 +03:00
parent 98b4e5fbf6
commit fc2be35f61
7 changed files with 142 additions and 12 deletions

View File

@@ -1,10 +1,12 @@
{% load static %}
<div class="container_sections_buttons">
<div class="cut-width container_content_sections_buttons">
{% for section in sections %}
<a href="{% url 'section_page' section.url %}" class="section_btn {% if section == cur_section or page == section %}open{% else %}close{% endif %} standart_txt pointer" data-url="{{ section.url }}">
<div class="txt_section standart_txt">{{ section.name }}</div>
</a>
{% endfor %}
<div class="cut-width sections_btns">
<div class="container_content_sections_buttons">
{% for section in sections %}
<a href="{% url 'section_page' section.url %}" class="section_btn {% if section == cur_section or page == section %}open{% else %}close{% endif %} standart_txt pointer" data-url="{{ section.url }}">
<div class="txt_section standart_txt">{{ section.name }}</div>
</a>
{% endfor %}
</div>
</div>
</div>