forked from projects/fipamo
3f9506ac6b
Cleaned up resonsive for the rest of the remaining pages: the dash index, page index, page editor, navigation editor and plugged in a mobile nav that activates when the viewport gets skinny. Whew.
58 lines
1.4 KiB
Twig
58 lines
1.4 KiB
Twig
<div role="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 role="menu-toggle">
|
|
<i class="ti ti-menu-2"></i>
|
|
</button>
|
|
|
|
<div role="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>
|