diff --git a/templates/base/components/alert/layout.html.twig b/templates/base/components/alert/layout.html.twig index 166ef1ceb..e945546f9 100644 --- a/templates/base/components/alert/layout.html.twig +++ b/templates/base/components/alert/layout.html.twig @@ -1,5 +1,6 @@
+ class="ibo-alert ibo-is-{{ oUIBlock.GetColor() }}{% if oUIBlock.IsOpenedByDefault() %} ibo-is-opened{% endif %}{% if oUIBlock.IsHidden() %} ibo-is-hidden{% endif %} {{ oUIBlock.GetAdditionalCSSClassesAsString() }}" + data-role="ibo-alert"> {% if oUIBlock.IsCollapsible() %}
diff --git a/templates/base/components/breadcrumbs/layout.html.twig b/templates/base/components/breadcrumbs/layout.html.twig index 665952d42..938764178 100644 --- a/templates/base/components/breadcrumbs/layout.html.twig +++ b/templates/base/components/breadcrumbs/layout.html.twig @@ -1,4 +1,4 @@ -
+
- + +
diff --git a/templates/base/components/datatable/layout.html.twig b/templates/base/components/datatable/layout.html.twig index a77093020..af41a78da 100644 --- a/templates/base/components/datatable/layout.html.twig +++ b/templates/base/components/datatable/layout.html.twig @@ -12,7 +12,7 @@ {% endif %} {% endif %} - +
{% if oUIBlock.GetOption("select_mode") is not empty %} diff --git a/templates/base/components/datatable/static/formtable/layout.html.twig b/templates/base/components/datatable/static/formtable/layout.html.twig index 526e00adb..2f3b9dbf3 100644 --- a/templates/base/components/datatable/static/formtable/layout.html.twig +++ b/templates/base/components/datatable/static/formtable/layout.html.twig @@ -4,7 +4,7 @@ {% set columns = oUIBlock.GetColumns() %} -
+
{% for column in columns %} diff --git a/templates/base/components/datatable/static/layout.html.twig b/templates/base/components/datatable/static/layout.html.twig index ca8191e2c..d6f594c3c 100644 --- a/templates/base/components/datatable/static/layout.html.twig +++ b/templates/base/components/datatable/static/layout.html.twig @@ -2,7 +2,7 @@ {# @license http://opensource.org/licenses/AGPL-3.0 #} {% set columns = oUIBlock.GetColumns() %} -
+
{% for column in columns %} diff --git a/templates/base/components/fieldset/layout.html.twig b/templates/base/components/fieldset/layout.html.twig index 12e29f82e..cc9afb759 100644 --- a/templates/base/components/fieldset/layout.html.twig +++ b/templates/base/components/fieldset/layout.html.twig @@ -1,5 +1,5 @@ {% if oUIBlock.GetSubBlocks() %} -
+
{{ oUIBlock.GetLegend()| raw }} {% for oSubBlock in oUIBlock.GetSubBlocks() %} {{ render_block(oSubBlock, {aPage: aPage}) }} diff --git a/templates/base/components/form/layout.html.twig b/templates/base/components/form/layout.html.twig index 284bd42de..6066467e0 100644 --- a/templates/base/components/form/layout.html.twig +++ b/templates/base/components/form/layout.html.twig @@ -1,5 +1,6 @@
+
{% if oUIBlock.GetImageUrl() != '' %} {% endif %} diff --git a/templates/base/components/popover-menu/item/mode_separator.html.twig b/templates/base/components/popover-menu/item/mode_separator.html.twig index e57df049d..909d8ebb1 100644 --- a/templates/base/components/popover-menu/item/mode_separator.html.twig +++ b/templates/base/components/popover-menu/item/mode_separator.html.twig @@ -1,6 +1,6 @@ {% extends 'base/components/popover-menu/item/layout.html.twig' %} {% block iboPopoverMenuItem %} - + {% endapply %} \ No newline at end of file diff --git a/templates/base/components/title/layout.html.twig b/templates/base/components/title/layout.html.twig index ab025454f..f22e34847 100644 --- a/templates/base/components/title/layout.html.twig +++ b/templates/base/components/title/layout.html.twig @@ -1,5 +1,5 @@ {% apply spaceless %} -
+
{% if oUIBlock.HasIcon() %}
diff --git a/templates/base/components/toolbar/layout.html.twig b/templates/base/components/toolbar/layout.html.twig index 6b6d586e3..a100b8660 100644 --- a/templates/base/components/toolbar/layout.html.twig +++ b/templates/base/components/toolbar/layout.html.twig @@ -3,7 +3,8 @@ {# Toolbar #} {% apply spaceless %}
{% for oSubBlock in oUIBlock.GetSubBlocks() %} diff --git a/templates/base/layouts/content-block/layout.html.twig b/templates/base/layouts/content-block/layout.html.twig index 9e8b4d59e..0934088a9 100644 --- a/templates/base/layouts/content-block/layout.html.twig +++ b/templates/base/layouts/content-block/layout.html.twig @@ -8,7 +8,7 @@ {% block iboContentBlockContainer %} {% if bHasDiv %}
-
{{ oUIBlock.GetTitle() }}
+
+
{{ oUIBlock.GetTitle() }}
{{ render_block(oUIBlock.GetToolbar(), {aPage: aPage}) }}
diff --git a/templates/base/layouts/multi-column/column/layout.html.twig b/templates/base/layouts/multi-column/column/layout.html.twig index 387a905d7..64b2cf6ca 100644 --- a/templates/base/layouts/multi-column/column/layout.html.twig +++ b/templates/base/layouts/multi-column/column/layout.html.twig @@ -1,6 +1,6 @@ {# @copyright Copyright (C) 2010-2021 Combodo SARL #} {# @license http://opensource.org/licenses/AGPL-3.0 #} -
+
{% for oSubBlock in oUIBlock.GetSubBlocks() %} {{ render_block(oSubBlock, {aPage: aPage}) }} {% endfor %} diff --git a/templates/base/layouts/multi-column/layout.html.twig b/templates/base/layouts/multi-column/layout.html.twig index ad3983358..1655d653a 100644 --- a/templates/base/layouts/multi-column/layout.html.twig +++ b/templates/base/layouts/multi-column/layout.html.twig @@ -1,6 +1,6 @@ {# @copyright Copyright (C) 2010-2021 Combodo SARL #} {# @license http://opensource.org/licenses/AGPL-3.0 #} -
+
{% for oSubBlock in oUIBlock.GetSubBlocks() %} {{ render_block(oSubBlock, {aPage: aPage}) }} {% endfor %} diff --git a/templates/base/layouts/page-content/layout.html.twig b/templates/base/layouts/page-content/layout.html.twig index 3afe97c03..218eb5243 100644 --- a/templates/base/layouts/page-content/layout.html.twig +++ b/templates/base/layouts/page-content/layout.html.twig @@ -1,4 +1,4 @@ -
+
{% block iboPageCenterContainer %}
{# Note: The header is inside the main content div to avoid glitches with other layouts (eg. in a side content layout) #} diff --git a/templates/base/layouts/page-content/with-side-content.html.twig b/templates/base/layouts/page-content/with-side-content.html.twig index da748ec4b..1d7ca4aac 100644 --- a/templates/base/layouts/page-content/with-side-content.html.twig +++ b/templates/base/layouts/page-content/with-side-content.html.twig @@ -7,7 +7,7 @@ {% block iboPageCenterContainer %} {{ parent() }} -