mediawiki-skins-Citizen/templates/Drawer.mustache

27 lines
919 B
Plaintext

{{!
string msg-citizen-drawer-toggle The label used by the drawer button.
string msg-sitetitle the contents of the sitesubtitle message key
}}
<div class="citizen-drawer citizen-header__item citizen-menu-checkbox-container">
<input
type="checkbox"
id="citizen-drawer__checkbox"
class="citizen-menu-checkbox-checkbox"
role="button"
aria-labelledby="citizen-drawer__buttonCheckbox"
aria-haspopup="true">
{{>Drawer__button}}
{{! ID needed for a11y and checkbox hack }}
<aside id="citizen-drawer__card" class="citizen-drawer__card citizen-menu__card citizen-menu-checkbox-target">
<header class="citizen-drawer__header">
{{>Drawer__logo}}
<div class="citizen-drawer__siteinfo">
{{#data-site-stats}}{{>SiteStats}}{{/data-site-stats}}
<div class="mw-logo-wordmark">{{msg-sitetitle}}</div>
</div>
</header>
{{#data-main-menu}}
{{>MainMenu}}
{{/data-main-menu}}
</aside>
</div>