bt5, main layout, responsive header

This commit is contained in:
2021-07-03 13:37:00 +02:00
parent 8e8cdfce0a
commit 4ca1618480
5 changed files with 122 additions and 136 deletions

View File

@@ -17,17 +17,16 @@
#}
<li class="nav-item dropdown btn btn-primary">
<a id="dropdownMenu1Button"
<a id="menu-section"
class="nav-link dropdown-toggle"
type="button"
data-toggle="dropdown"
data-bs-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false">
{{ 'Sections'|trans }}
</a>
<div
class="dropdown-menu"
aria-labelledby="dropdownMenu1Button">
<div class="dropdown-menu dropdown-menu-end dropdown-menu-dark" aria-labelledby="menu-section">
{% for menu in menus %}
<a class="dropdown-item list-group-item bg-dark text-white"
href="{{ menu.uri }}">
@@ -35,7 +34,7 @@
{% apply spaceless %}
{% if menu.extras.icons is defined %}
{% for icon in menu.extras.icons %}
<i class="fa fa-{{ icon }}"></i>
<i class="fa fa-{{ icon }} fa-lg"></i>
{% endfor %}
{% endif %}
{% endapply %}</a>