mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-30 17:14:50 +00:00
c6e9bc44a9
* use checkboxHack for the menu * streamline language and more action menu styles and classes
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
{{!
|
|
object data-page-views
|
|
object data-page-namespaces
|
|
object data-page-actions
|
|
bool has-languages
|
|
object data-page-toolbox
|
|
}}
|
|
{{#data-pagetools}}
|
|
<div class="page-actions">
|
|
{{#data-page-views}}{{>Menu}}{{/data-page-views}}
|
|
{{#data-namespaces}}{{>Menu}}{{/data-namespaces}}
|
|
{{#has-languages}}{{>PageTools__languages}}{{/has-languages}}
|
|
<div class="page-actions-more page-actions__item mw-checkbox-hack-container">
|
|
<input
|
|
type="checkbox"
|
|
id="page-actions-more__checkbox"
|
|
class="mw-checkbox-hack-checkbox"
|
|
role="button"
|
|
aria-labelledby="page-actions-more__buttonCheckbox"
|
|
aria-haspopup="true">
|
|
<aside id="page-actions-more__card" class="page-actions__card mw-checkbox-hack-target">
|
|
{{#data-page-actions}}{{>Menu}}{{/data-page-actions}}
|
|
{{#data-page-toolbox}}{{>Menu}}{{/data-page-toolbox}}
|
|
</aside>
|
|
<label
|
|
id="page-actions-more__buttonCheckbox"
|
|
class="mw-checkbox-hack-button page-actions__button page-actions__button--icon"
|
|
for="page-actions-more__checkbox"
|
|
title="{{msg-citizen-actions-more-toggle}}"
|
|
aria-hidden="true">
|
|
<span>{{msg-citizen-actions-more-toggle}}</span>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
{{/data-pagetools}} |