diff --git a/static/aerbimCSS.css b/static/aerbimCSS.css index d76a91b..419788b 100644 --- a/static/aerbimCSS.css +++ b/static/aerbimCSS.css @@ -1057,4 +1057,58 @@ body.n_scroll{ .description_slide{ overflow-wrap: break-word; +} + +/* presentation aerBim*/ + +.container_block_presentation_aerBim{ + width: 100%; + display: block; +} + +.w_one_present{ + width: 100%; + display: flex; + flex-wrap: wrap; + margin-bottom: 100px; +} + +.w_one_present.odd{ + flex-direction: row-reverse; +} +.w_one_present.even{ + flex-direction: row; +} +.txt_part_w_one_present{ + width: 45%; +} +.w_one_present.even .txt_part_w_one_present{ + margin-right: 5%; +} +.w_one_present.odd .txt_part_w_one_present{ + margin-left: 5%; +} + +.title_w_one_present{ + color: #000000; + text-transform: uppercase; + font-size: 36px; + font-weight: 600; +} + +.splinner_w_one_present{ + height: 1px; + margin: 30px 0; + width: 50%; + background: #9CDDF7; +} + +.description_w_one_present{ + color: #000000; + font-size: 16px; + font-weight: 400; +} + +.img_container_part_w_one_present{ + width: 50%; } \ No newline at end of file diff --git a/templates/blocks/b_presentation_aerBim.html b/templates/blocks/b_presentation_aerBim.html index 689eac6..304652a 100644 --- a/templates/blocks/b_presentation_aerBim.html +++ b/templates/blocks/b_presentation_aerBim.html @@ -3,7 +3,7 @@
- {% for section in sections %} + {% for widget in block.get_widgets %} {% include "widgets/w_one_present_aerBim.html" %} {% endfor %}
diff --git a/templates/pages/content/c_blocks_constructor.html b/templates/pages/content/c_blocks_constructor.html index 7385dc7..ad56a55 100644 --- a/templates/pages/content/c_blocks_constructor.html +++ b/templates/pages/content/c_blocks_constructor.html @@ -23,7 +23,7 @@ {% elif block.block_type == 'main_block_w_subblocks' %} {% include 'blocks/b_functional_features.html' %} {% elif block.block_type == 'photo_n_text' %} - {% include 'blocks/b_photo_n_text.html' %} + {% include 'blocks/b_presentation_aerBim.html' %} {% endif %} {% endfor %} diff --git a/templates/widgets/w_one_present_aerBim.html b/templates/widgets/w_one_present_aerBim.html index 28339d4..80ab60e 100644 --- a/templates/widgets/w_one_present_aerBim.html +++ b/templates/widgets/w_one_present_aerBim.html @@ -1,15 +1,25 @@ {% load static %} -
+
-
- видеообзор функционала плагина 3D Security Designer -
-
-
- Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley -
-
-
- + {% if widget.name %} +
+ видеообзор функционала плагина 3D Security Designer +
+ {% endif %} + {% if widget.description %} +
+
+ Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley +
+ {% endif %}
+ {% if widget.video_url or widget.picture %} +
+ {% if widget.picture %} + + {% elif widget.video_url %} +
{{ widget.video_url|safe }}
+ {% endif %} +
+ {% endif %}
\ No newline at end of file