You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
|