mediawiki-skins-Vector/includes/templates/Header.mustache
jdlrobson ad5c127239 [Storybook] Add Header component
* Moves screen variables relating to Header to Header
* Adds a Header storybook entry
* Moves data-logo from Logo template to Header.mustache
* Updates UserLinks to use USER_LINK_PARTIALS
* Renames confusing SearchBox story names
* Updates package.json to use a static folder.
* Use mediawiki.org for sourcing mw-ui-button and mw-ui-icon styles
since deploys there come earlier
* Removes usages of ID selectors

Change-Id: I0e158fa7e62c56a50cfff497d75f0808effd1eed
2021-09-14 18:33:10 +00:00

17 lines
536 B
Plaintext

<header class="mw-header">
<label
id="mw-sidebar-button"
class="mw-checkbox-hack-button mw-ui-icon mw-ui-button mw-ui-quiet mw-ui-icon-element"
for="mw-sidebar-checkbox"
role="button"
aria-controls="mw-panel"
data-event-name="ui.sidebar"
tabindex="0"
title="{{msg-vector-main-menu-tooltip}}">
{{msg-vector-action-toggle-sidebar}}
</label>
{{#data-logos}}{{>Logo}}{{/data-logos}}
{{#data-search-box}}{{>SearchBox}}{{/data-search-box}}
{{#data-vector-user-links}}{{>UserLinks}}{{/data-vector-user-links}}
</header>