mediawiki-skins-Citizen/templates/Drawer.mustache
alistair3149 442f241641
feat(core): add language menu to page tools
In other language menu and language variant menu are merged into a singular menu
with a toggle in page tools. This is the first step towards having better language
handling in the skin.
2022-05-16 00:50:00 -04:00

28 lines
967 B
Plaintext

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