mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-09-15 04:44:47 +08:00
18 lines
938 B
Plaintext
18 lines
938 B
Plaintext
{#
|
|
The logout control, guarded on the node being dispatchable. One markup for every layout, since a
|
|
layout is a presentation choice and must not fork the markup. It is also the only logout the theme
|
|
renders: menu-footstrap.js drops the menu tree's own admin/logout node.
|
|
Licensed to the public under the Apache License 2.0.
|
|
-#}
|
|
{% if (dispatcher.lookup("admin/logout")): %}
|
|
<a class="fs-logout" href="{{ dispatcher.build_url('admin/logout') }}" title="{{ _('Log out') }}" aria-label="{{ _('Log out') }}">
|
|
{#
|
|
Mirrored about x=12, so the glyph reads LEAVING rather than entering: each x becomes 24-x and
|
|
each arc's sweep flag flips with it, leaving stroke widths, corner radii and the 24x24 box
|
|
untouched.
|
|
-#}
|
|
{% include('themes/footstrap/partials/icon', { body: '<path d="M10 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h4"/><path d="M14 12h7m0 0-3-3m3 3-3 3"/>' }) %}
|
|
<span class="fs-label">{{ _('Log out') }}</span>
|
|
</a>
|
|
{% endif %}
|