From a5949294ece5fb19281ea29973e05cac5ed2056e Mon Sep 17 00:00:00 2001 From: SBD Date: Sun, 26 Nov 2023 19:26:58 +0300 Subject: [PATCH] 0.0.08 --- static/aerbimCSS.css | 5 +++-- .../blocks/dynamic/b_sections_buttons.html | 1 + .../pages/content/c_projectiing_section.html | 19 +++++++++---------- templates/pages/p_main.html | 10 +--------- 4 files changed, 14 insertions(+), 21 deletions(-) create mode 100644 templates/blocks/dynamic/b_sections_buttons.html diff --git a/static/aerbimCSS.css b/static/aerbimCSS.css index 68a084f..42c0787 100644 --- a/static/aerbimCSS.css +++ b/static/aerbimCSS.css @@ -50,10 +50,11 @@ body,html{ } .right_part_header { - width: calc(75% - 320px); + width: 75%; float: right; - padding: 17px 0 15px 320px; + padding: 17px 0 15px 0; position: relative; + text-align: -webkit-right; } .text_header{ diff --git a/templates/blocks/dynamic/b_sections_buttons.html b/templates/blocks/dynamic/b_sections_buttons.html new file mode 100644 index 0000000..b0797a4 --- /dev/null +++ b/templates/blocks/dynamic/b_sections_buttons.html @@ -0,0 +1 @@ +{% load static %} \ No newline at end of file diff --git a/templates/pages/content/c_projectiing_section.html b/templates/pages/content/c_projectiing_section.html index 566549b..2563793 100644 --- a/templates/pages/content/c_projectiing_section.html +++ b/templates/pages/content/c_projectiing_section.html @@ -1,10 +1,9 @@ - - - - - Title - - - - - \ No newline at end of file +
+
+ {% for section in sections %} + +
{{ section.name }}
+
+ {% endfor %} +
+
\ No newline at end of file diff --git a/templates/pages/p_main.html b/templates/pages/p_main.html index 889a58e..610cd0f 100644 --- a/templates/pages/p_main.html +++ b/templates/pages/p_main.html @@ -1,14 +1,6 @@ {% extends 'tb_base.html' %} {% block CONTENT %} -
-
- {% for section in sections %} - -
{{ section.name }}
-
- {% endfor %} -
-
+ {% include 'blocks/dynamic/b_sections_buttons.html' %} {% endblock %} \ No newline at end of file