forked from projects/fipamo
ac08c77813
Began the process of removing all invalid role attributes starting with the header, login, and notifications components. Updated the corresponding scripts as well. Made a few structural changes to the header to simply it and then tested it to ensure notification still worked.
58 lines
1.4 KiB
Twig
58 lines
1.4 KiB
Twig
<div class="menu">
|
|
{% if title == "Settings" %}
|
|
{% apply spaceless %}
|
|
{{ include("dash/partials/submenu_settings.twig") }}
|
|
{% endapply %}
|
|
{% elseif title=="Start" %}
|
|
{% apply spaceless %}
|
|
{{ include("dash/partials/submenu_start.twig") }}
|
|
{% endapply %}
|
|
{% endif %}
|
|
<a id="settings" href="/dashboard/settings" title="settings">
|
|
<button>
|
|
<i class="ti ti-home-cog"></i>
|
|
</button>
|
|
</a>
|
|
<a id="navigation" href="/dashboard/navigation" title="edit navigation">
|
|
<button>
|
|
<i class="ti ti-arrow-autofit-height"></i>
|
|
</button>
|
|
</a>
|
|
<a id="navigation" href="/dashboard/logout" title="log out">
|
|
<button>
|
|
<i class="ti ti-logout"></i>
|
|
</button>
|
|
</a>
|
|
</div>
|
|
|
|
<button class="menu-toggle">
|
|
<i class="ti ti-menu-2"></i>
|
|
</button>
|
|
|
|
<div class="mobile-menu">
|
|
{% if title == "Settings" %}
|
|
{% apply spaceless %}
|
|
{{ include("dash/partials/submenu_settings.twig") }}
|
|
{% endapply %}
|
|
{% elseif title=="Start" %}
|
|
{% apply spaceless %}
|
|
{{ include("dash/partials/submenu_start.twig") }}
|
|
{% endapply %}
|
|
{% endif %}
|
|
<a id="settings" href="/dashboard/settings" title="settings">
|
|
<button>
|
|
<i class="ti ti-home-cog"></i>
|
|
</button>
|
|
</a>
|
|
<a id="navigation" href="/dashboard/navigation" title="edit navigation">
|
|
<button>
|
|
<i class="ti ti-arrow-autofit-height"></i>
|
|
</button>
|
|
</a>
|
|
<a id="navigation" href="/dashboard/logout" title="log out">
|
|
<button>
|
|
<i class="ti ti-logout"></i>
|
|
</button>
|
|
</a>
|
|
</div>
|