mediawiki-skins-MinervaNeue/includes/skins/minerva.mustache
jdlrobson ed5e9dd1d5 Hygiene: Refactor Minerva history link generation
* Create several sub functions to manage complexity of the history link
* Clean up MinervaTemplate to use data directly and remove isMainPage
template variable which is no longer being used.

Change-Id: I124aec9637f3635a335c58e559e578b2a56eb4c5
2017-11-27 14:27:11 -08:00

36 lines
986 B
Plaintext

{{{headelement}}}
<div id="mw-mf-viewport">
{{>ie8Html5Support}}
<nav id="mw-mf-page-left" class="navigation-drawer view-border-box">
{{{mainmenuhtml}}}
</nav>
<div id="mw-mf-page-center">
<div class="banner-container">
{{>banners}}
</div>
<div class="header-container header-chrome">
<form class="header" action="{{wgScript}}" method="get">
<div>{{{menuButton}}}</div>
<div class="branding-box">
<h1>
<span>{{{headinghtml}}}</span>
<sup>&beta;</sup>
</h1>
</div>
<div class="search-box">
<input class="search" type="search" name="search" id="searchInput"
autocomplete="off" placeholder="{{placeholder}}"
value="{{search}}">
</div>
<div>{{{searchButton}}}</div>
{{^isAnon}}<div>{{#secondaryButtonData}}{{>secondaryButton}}{{/secondaryButtonData}}</div>{{/isAnon}}
</form>
</div>
<div id="content" class="mw-body">
{{{contenthtml}}}
</div>
{{>footer}}
</div>
</div>
<!-- v:8.1.1 -->