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