mediawiki-skins-Citizen/includes/templates/Drawer.mustache
2021-01-15 19:56:59 -05:00

33 lines
1 KiB
Plaintext

{{!
string msg-citizen-drawer-toggle The label used by the drawer button.
}}
<input
type="checkbox"
id="mw-drawer-checkbox"
class="mw-checkbox-hack-checkbox">
<label
id="mw-drawer-button"
class="mw-checkbox-hack-button"
for="mw-drawer-checkbox"
role="button"
aria-controls="mw-drawer">
{{msg-citizen-drawer-toggle}}
</label>
<div id="mw-drawer-button-icon">
<div id="mw-drawer-button-icon-1" class="mw-drawer-button-icon-div"></div>
<div id="mw-drawer-button-icon-2" class="mw-drawer-button-icon-div"></div>
<div id="mw-drawer-button-icon-3" class="mw-drawer-button-icon-div"></div>
</div>
<nav id="mw-drawer">
<section id="mw-drawer-logo" role="banner">
{{>Logo}}
</section>
<section id="mw-drawer-main">
{{#data-portals-first}}{{>Menu}}{{/data-portals-first}}
{{#array-portals-rest}}{{>Menu}}{{/array-portals-rest}}
{{#data-portals-languages}}{{>Menu}}{{/data-portals-languages}}
</section>
<section id="mw-drawer-user" class="mw-user-links">
{{#data-personal-menu}}{{>Menu}}{{/data-personal-menu}}
</section>
</nav>