Everybodywiki:Vectorlike.xml
Fra EverybodyWiki Bios & Wiki
<?xml version="1.0" encoding="utf-8"?>
<!--
<?xml-model href="https://cmln.github.io/chameleon/schema/2.0/layout.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
This file is part of the MediaWiki skin Chameleon.
@copyright 2013 - 2019, Stephan Gambke
@license GNU General Public License, version 3 (or any later version)
The Chameleon skin is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
The Chameleon skin is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public License along
with this program. If not, see <http://www.gnu.org/licenses/>.
@author Stephan Gambke
@since 1.0
@ingroup Skins
-->
<structure xmlns="https://cmln.github.io/chameleon/schema/3.0/layout.rng">
<grid class="flex-fill container-fluid">
<row><!--Sidebar on wide scren, hidden on sm and smaler screens -->
<cell class="mw-sidebar ml-0 col-md-3 col-lg-2 d-none d-md-block">
<component type="Logo" addLink="yes" class="mb-5 pb-5" position="head"/>
<component type="NavMenu" class="border-primary border-right mb-3 mt-5 pl-0 ml-0 pt-5 mt-cmln-0 navbar-expand-md" flatten="navigation" >
<component type="NavMenu" class="mt-5"/>
</component>
</cell>
<!--Top navbar hidden on md and wider screens-->
<cell class="d-md-none">
<component type="NavbarHorizontal" class="mb-2 mt-2 mt-cmln-0 navbar-expand-md">
<component type="Logo" addLink="yes" position="head" class="d-lg-none"/>
<component type="NavMenu" flatten="navigation"/>
<component type="Menu" message="secondary-menu"/>
<component type="PersonalTools" hideNewtalkNotifier="yes" class="pull-right" position="top"/>
</component>
</cell>
<cell class="col-12 col-md-9 col-lg-10 mt-md-4">
<row>
<cell class="col-9 mt-md-1 col-cmln">
<component type="SearchBar" buttons="go" />
</cell>
<cell class="col-12 col-lg-8 d-none d-md-block mt-md-1 ml-5">
<!--<component type="NavbarHorizontal" class="navbar-brand small bg-white navbar-expand">-->
<component type="PersonalTools" position="top" />
</cell>
<!--hidden on md and wider screens-->
<cell class="col-1 col-sm-1 d-md-none mt-1">
<component type="NavbarHorizontal" class="navbar-brand small bg-white navbar-expand">
<component type="PersonalTools" position="top" />
</component>
</cell>
</row>
<row>
</row>
<row>
<cell class="ml-auto col-12 d-block d-md-none">
<component type="SiteNotice"/>
</cell>
</row>
<row>
<cell class="col-12 col-md-9 mr-auto">
</cell>
</row>
<row>
<cell class="col-12 ml-auto">
<!--FIXME: Is this a good place to put the notifier? Vector et al. put it inside the MainContent under siteSub and contentSub -->
<component type="NewtalkNotifier" class="mb-3"/>
</cell>
</row>
<row>
<cell class="col-12 col-lg-9 mr-auto">
<component type="PageTools" class="border-primary border-left border-right vector-menu-tabs mr-0 mb-0 mt-md-5"/>
<component type="MainContent"/>
</cell>
<cell class="ml-auto col-lg-3 d-none d-lg-block">
<component type="SiteNotice"/>
</cell>
</row>
</cell>
</row>
</grid>
<grid class="mb-5 mt-4">
<row>
<cell>
<component type="NavbarHorizontal" collapsible="no" class="small mb-2" >
<component type="Toolbox" flatten="no"/>
<component type="LangLinks" flatten="no" class="dropup"/>
</component>
</cell>
</row>
<row class="mb-5">
<cell>
<component type="FooterInfo"/>
<component type="FooterPlaces"/>
</cell>
<cell class="mb-5">
<component type="FooterIcons" class="justify-content-end" />
</cell>
</row>
</grid>
</structure>