mediawiki-skins-Vector/includes/templates/PageToolbar.mustache
bwang a348db9969 Add generic classes to pinnable container
Bug: T324877
Change-Id: Iab94f9f600f8e6d032ad70d6b8e502686977441c
2022-12-20 17:22:11 -06:00

32 lines
1.2 KiB
Plaintext

<div class="vector-page-toolbar">
<div class="vector-page-toolbar-container">
{{#data-portlets}}
<div id="left-navigation">
<nav aria-label="{{msg-namespaces}}">
{{#data-associated-pages}}{{>Tabs}}{{/data-associated-pages}}
{{#data-variants}}{{>VariantsDropdown}}{{/data-variants}}
</nav>
</div>
<div id="right-navigation" class="vector-collapsible">
<nav aria-label="{{msg-views}}">
{{#data-views}}{{>Tabs}}{{/data-views}}
</nav>
<nav class="vector-page-tools-landmark" aria-label="{{msg-tooltip-p-cactions}}">
{{#is-page-tools-enabled}}
{{#data-page-tools-dropdown}}{{>Dropdown/Open}}{{/data-page-tools-dropdown}}
{{#data-page-tools}}
{{>PinnableContainer/Unpinned/Open}}
{{! Use `#vector-page-tools-unpinned-container .vector-page-tools` to target styles at this element}}
{{^is-pinned}}{{>PageTools}}{{/is-pinned}}
{{>PinnableContainer/Close}}
{{/data-page-tools}}
{{#data-page-tools-dropdown}}{{>Dropdown/Close}}{{/data-page-tools-dropdown}}
{{/is-page-tools-enabled}}
{{^is-page-tools-enabled}}{{#data-actions}}{{>LegacyMoreMenu}}{{/data-actions}}{{/is-page-tools-enabled}}
</nav>
</div>
{{/data-portlets}}
</div>
</div>