mediawiki-skins-Vector/includes/templates/Header.mustache
bwang 46f17487fd Update main menu templates and classes to be consistent with other pinnable elements
- Rename data-portlets-main-menu to data-main-menu
- Rename MainMenuContents.mustache to MainMenu
- Replace usage of .vector-main-menu-contents in favor of .vector-main-menu
- Add classes to PinnableContainer
- Use PinnableContainer and PinnableElement in main menu
- Remove MainMenuDropdown.less

Bug: T317900
Change-Id: I59b3acd3d56cd5761e5978607634dfb9a88f60e3
2022-12-16 17:34:23 +00:00

16 lines
508 B
Plaintext

<header class="mw-header mw-ui-icon-flush-left mw-ui-icon-flush-right">
<div class="vector-header-start">
{{^is-page-tools-enabled}}
{{>deprecated/MainMenuBtn}}
{{/is-page-tools-enabled}}
{{#is-page-tools-enabled}}
{{>MainMenuDropdown}}
{{/is-page-tools-enabled}}
{{#data-logos}}{{>Logo}}{{/data-logos}}
</div>
<div class="vector-header-end">
{{#data-search-box}}{{>SearchBox}}{{/data-search-box}}
{{#data-vector-user-links}}{{>UserLinks}}{{/data-vector-user-links}}
</div>
</header>