This commit is contained in:
SBD
2023-11-26 19:26:58 +03:00
parent bf3147ede9
commit a5949294ec
4 changed files with 14 additions and 21 deletions

View File

@@ -50,10 +50,11 @@ body,html{
} }
.right_part_header { .right_part_header {
width: calc(75% - 320px); width: 75%;
float: right; float: right;
padding: 17px 0 15px 320px; padding: 17px 0 15px 0;
position: relative; position: relative;
text-align: -webkit-right;
} }
.text_header{ .text_header{

View File

@@ -0,0 +1 @@
{% load static %}

View File

@@ -1,10 +1,9 @@
<!DOCTYPE html> <div class="container_sections_buttons">
<html lang="en"> <div class="cut-width container_content_sections_buttons">
<head> {% for section in sections %}
<meta charset="UTF-8"> <a href="{% url 'section_page' section.url %}" class="section_btn close standart_txt" data-url="{{ section.url }}">
<title>Title</title> <div class="txt_section standart_txt">{{ section.name }}</div>
</head> </a>
<body> {% endfor %}
</div>
</body> </div>
</html>

View File

@@ -1,14 +1,6 @@
{% extends 'tb_base.html' %} {% extends 'tb_base.html' %}
{% block CONTENT %} {% block CONTENT %}
<div class="container_sections_buttons"> {% include 'blocks/dynamic/b_sections_buttons.html' %}
<div class="cut-width container_content_sections_buttons">
{% for section in sections %}
<a href="{% url 'section_page' section.url %}" class="section_btn close standart_txt" data-url="{% url 'section_page' section.url %}">
<div class="txt_section standart_txt">{{ section.name }}</div>
</a>
{% endfor %}
</div>
</div>
{% endblock %} {% endblock %}