mediawiki-skins-Citizen/includes/templates/PersonalMenu.mustache
alistair3149 f65bf157bd
feat: move personal menu to header (#231)
* fix: fix header background bleeding in VE

* feat: move personal menu out of drawer to header

* feat: update personal menu styles in smaller breakpoints

* fix: fix typo in qqq documentation

* ci: lint code to MediaWiki standards

Check commit and GitHub actions for more details

* feat: add title text to personal menu button

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-01-19 15:56:42 -05:00

19 lines
500 B
Plaintext

{{!
string msg-citizen-drawer-toggle The label used by the drawer button.
}}
<input
type="checkbox"
id="personalmenu-checkbox"
class="mw-checkbox-hack-checkbox">
<label
id="personalmenu-button"
class="mw-checkbox-hack-button"
for="personalmenu-checkbox"
role="button"
title="{{msg-citizen-personalmenu-toggle}}"
aria-controls="personalmenu">
{{msg-citizen-personalmenu-toggle}}
</label>
<nav id="personalmenu">
{{#data-personal-menu-list}}{{>Menu}}{{/data-personal-menu-list}}
</nav>