mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-17 19:21:39 +00:00
e72c0d7ba4
This is a second attempt at I3892afb5ed3df628e2845043cf3bbc22a9928921 that is cached HTML friendly and won't cause T234599. This time rather than solving the entire problem, we'll start rendering the menu on the server, to allow us in future to drop the Menu code Bug: T234650 Change-Id: Iea5406ef1c561f2907ec6132481007673aabf1e9
69 lines
2.2 KiB
Plaintext
69 lines
2.2 KiB
Plaintext
{{{headelement}}}
|
|
<div id="mw-mf-viewport">
|
|
<nav id="mw-mf-page-left" class="navigation-drawer navigation-drawer--loading view-border-box">
|
|
{{{mainmenuhtml}}}
|
|
</nav>
|
|
<div id="mw-mf-page-center">
|
|
<!-- transparent-shield can be removed when Drawer updated -->
|
|
<a class="mw-mf-page-center__mask transparent-shield" href="#"></a>
|
|
<header class="header-container header-chrome">
|
|
<form class="header" action="{{wgScript}}" method="get">
|
|
<div>{{{menuButton}}}</div>
|
|
<div class="branding-box">
|
|
<a href="{{mainPageURL}}">
|
|
<span>{{{siteheading}}}</span>
|
|
{{#isBeta}}<sup>β</sup>{{/isBeta}}
|
|
</a>
|
|
</div>
|
|
<div class="search-box">
|
|
<input class="search mw-ui-background-icon-search skin-minerva-search-trigger" type="search" name="search" id="searchInput"
|
|
autocomplete="off" placeholder="{{placeholder}}" aria-label="{{placeholder}}"
|
|
value="{{search}}">
|
|
</div>
|
|
<nav class="minerva-user-navigation" aria-labelledby="minerva-user-menu-toggle"> {{! See ToggleList's toggleID. }}
|
|
<div>{{{searchButton}}}</div>
|
|
{{^isAnon}}
|
|
<div class="minerva-user-notifications">
|
|
{{#userNotificationsData}}{{>userNotifications}}{{/userNotificationsData}}
|
|
</div>
|
|
{{/isAnon}}
|
|
{{#userMenuHTML}}{{{userMenuHTML}}}{{/userMenuHTML}}
|
|
</nav>
|
|
</form>
|
|
</header>
|
|
<main id="content" class="mw-body">
|
|
<div class="banner-container">
|
|
{{>banners}}
|
|
</div>
|
|
{{#hasheadingholder}}
|
|
{{{prebodyhtml}}}
|
|
<div class="pre-content heading-holder">
|
|
<div class="page-heading">
|
|
{{{headinghtml}}}
|
|
{{{taglinehtml}}}
|
|
</div>
|
|
{{#tabs}}
|
|
<div class="minerva__tab-container">
|
|
{{#items}}
|
|
<a href="{{href}}" rel="{{rel}}" class="minerva__tab {{class}}" data-event-name="tabs.{{context}}">{{text}}</a>
|
|
{{/items}}
|
|
</div>
|
|
{{/tabs}}
|
|
{{{pageactionshtml}}}
|
|
{{{postheadinghtml}}}
|
|
{{{internalBanner}}}
|
|
<div class="minerva__subtitle">{{{subtitle}}}</div>
|
|
</div>
|
|
{{/hasheadingholder}}
|
|
{{{precontenthtml}}}
|
|
{{{contenthtml}}}
|
|
<div class="post-content" id="page-secondary-actions">
|
|
{{{secondaryactionshtml}}}
|
|
</div>
|
|
</main>
|
|
{{>footer}}
|
|
</div>
|
|
</div>
|
|
<div class="mw-notification-area" data-mw="interface"></div>
|
|
<!-- v:8.1.12 -->
|