mediawiki-skins-Vector/includes/templates/PageToolbar.mustache

32 lines
1.2 KiB
Plaintext
Raw Normal View History

<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-vector-variants}}{{>VariantsDropdown}}{{/data-vector-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>