From 838313ea02c8baa1b473783c39c2a4d76beff39a Mon Sep 17 00:00:00 2001 From: SBD Date: Mon, 27 Nov 2023 12:57:56 +0300 Subject: [PATCH] 0.0.17 --- static/aerbimCSS.css | 20 +++++++++++++++++-- templates/blocks/b_3d_s_d.html | 17 ++++++++++++++++ templates/blocks/b_service.html | 5 +++-- .../pages/content/c_projectiing_section.html | 3 ++- 4 files changed, 40 insertions(+), 5 deletions(-) create mode 100644 templates/blocks/b_3d_s_d.html diff --git a/static/aerbimCSS.css b/static/aerbimCSS.css index a291414..f720aa6 100644 --- a/static/aerbimCSS.css +++ b/static/aerbimCSS.css @@ -104,6 +104,15 @@ body,html{ line-height: normal; } +.semi_large_light{ + color: #000000; + font-family: -apple-system, 'Raleway-Regular', sans-serif; + font-size: 18px; + font-style: normal; + font-weight: 300; + line-height: normal; +} + .medium_txt{ color: #000000; font-family: -apple-system, 'Raleway-Regular', sans-serif; @@ -233,13 +242,20 @@ body,html{ } .left_part_service{ - width: 30%; + width: 60px; float: left; } +.service_img{ + object-fit: cover; + width: 60px; + height: 60px; +} + .right_part_service{ - width: 65%; + width: calc(100% - 80px); float: right; + padding-left: 20px; } .right_part_service.w_100{ diff --git a/templates/blocks/b_3d_s_d.html b/templates/blocks/b_3d_s_d.html new file mode 100644 index 0000000..64c0835 --- /dev/null +++ b/templates/blocks/b_3d_s_d.html @@ -0,0 +1,17 @@ +{% load static %} +
+
Все работы по проектированию производятся с помощью
+
Плагина 3D SECURITY DESIGNER
+
+
+
+ +
+ + +
+
+ +
+
+
\ No newline at end of file diff --git a/templates/blocks/b_service.html b/templates/blocks/b_service.html index 02af34c..2f789d0 100644 --- a/templates/blocks/b_service.html +++ b/templates/blocks/b_service.html @@ -5,14 +5,15 @@ {% for service in services %}
- {% if sub_serv.picture %} + {% if service.picture %}
{% endif %} -
+
{{ service.name }}
+
{% if service.rel_children_for_service.all %}
{% for sub_serv in service.rel_children_for_service.all %} diff --git a/templates/pages/content/c_projectiing_section.html b/templates/pages/content/c_projectiing_section.html index de3dc72..a9b8d7b 100644 --- a/templates/pages/content/c_projectiing_section.html +++ b/templates/pages/content/c_projectiing_section.html @@ -5,4 +5,5 @@ {% if block.block_type == 'photo150_n_title' %} {% include 'blocks/b_photo150_n_title.html' %} {% endif %} -{% endfor %} \ No newline at end of file +{% endfor %} +{#{% include 'blocks/b_3d_s_d.html' %}#} \ No newline at end of file