mediawiki-skins-Vector/includes/templates/StickyHeader.mustache
jdlrobson 8657171471 Build the sticky header skeleton
The sticky header is currently disabled unconditionally
and nothing is wired up, with placeholders for data and
functionality which will be added in future.

Bug: T289716
Change-Id: I16223ce849267e718aad22b8a24b2327332ac8b7
2021-09-01 12:32:31 -07:00

30 lines
833 B
Plaintext

<header id="vector-sticky-header"
class="vector-sticky-header {{#is-visible}}vector-sticky-header-visible{{/is-visible}}">
<div class="vector-sticky-header-start">
<div class="vector-sticky-header-icon-start">
{{#data-icon-start}}
{{>Icon}}
{{/data-icon-start}}
</div>
<div class="vector-sticky-header-context-bar">
<div class="vector-sticky-header-context-bar-primary">{{title}}</div>
<div class="vector-sticky-header-context-bar-secondary">{{heading}}</div>
</div>
</div>
<div class="vector-sticky-header-end">
<div class="vector-sticky-header-icons">
{{#data-icons}}
{{>Icon}}
{{/data-icons}}
</div>
<div class="mw-ui-button">
{{primary-action}}
</div>
<div class="vector-sticky-header-icon-end">
{{#data-icon-end}}
{{>Icon}}
{{/data-icon-end}}
</div>
</div>
</header>