MediaWiki:Ws-header: verschil tussen versies
Uit Dorpsbelang Den Hout
Regel 1: | Regel 1: | ||
− | {{#widget:theme css|value={{#if:{{#var:@color }}|{{#var:@color }}|359 }} }}<!-- | + | {{#widget:theme css|value={{#if:{{#var:@color }}|{{#var:@color }}|359 }} }}<!-- set the color |
--><div class="main-wrapper"><!-- | --><div class="main-wrapper"><!-- | ||
− | + | --><br><!-- | |
− | + | --><div class="burger d-lg-none position-absolute"><!-- burger menu for mobile | |
− | + | --><wslabel for="open-menu" class="btn">{{fa|bars}}</wslabel><!-- | |
− | + | --></div><!-- | |
− | + | -->{{#vardefine:@color|{{#ask:[[Class::Domein]][[Domein::{{SERVERNAME}}]]|?Color|link=none|format=plainlist|mainlabel=-|headers=hide}} }}<!-- define color we use at the top | |
− | --><div>[[File:{{#replace:{{SERVERNAME}}|.|-}}-logo.png|link=|300x100px|Logo.png]]</div><!-- | + | --><div class="align-items-end d-lg-flex justify-content-between" ><!-- |
− | --><wsfield type="checkbox" id="open-menu" class="d-none"/><!-- | + | --><div>[[File:{{#replace:{{SERVERNAME}}|.|-}}-logo.png|link=|300x100px|Logo.png]]</div><!-- logo |
+ | --><wsfield type="checkbox" id="open-menu" class="d-none"/><!-- checkbox to toggle mobile menu | ||
--><div class="main-menu mb-2 w-100">{{wiki:{{SERVERNAME}}-main-menu}}</div><!-- | --><div class="main-menu mb-2 w-100">{{wiki:{{SERVERNAME}}-main-menu}}</div><!-- | ||
--><div><!-- | --><div><!-- | ||
− | --><wsfield type="checkbox" id="open-search" class="d-none"/><!-- | + | --><wsfield type="checkbox" id="open-search" class="d-none"/><!-- checkbox to toggle searchbox |
--><div class="width-none">{{#widget:Searchbar}}</div><!-- | --><div class="width-none">{{#widget:Searchbar}}</div><!-- | ||
− | --><wslabel for="open-search" class="btn mb-2">{{fa|search}}</wslabel><!-- | + | --><wslabel for="open-search" class="btn mb-2">{{fa|search}}</wslabel><!-- search button |
--></div><!-- | --></div><!-- | ||
− | --><div>{{#widget:link|type=a|href={{fullurl:Beheer}}|text={{fa|edit}}|class=btn mb-2}}</div><!-- | + | --><div>{{#widget:link|type=a|href={{fullurl:Beheer}}|text={{fa|edit}}|class=btn mb-2}}</div><!-- admin link |
--></div><!-- | --></div><!-- | ||
− | --><hr></div> | + | --><hr><!-- |
+ | --></div> |