<?xml version="1.0" encoding="utf-8"?>
<!--
<?xml-model href="https://ProfessionalWiki.github.io/chameleon/schema/3.2/layout.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
This file is part of the MediaWiki skin Chameleon.

@copyright 2013 - 2021, 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://ProfessionalWiki.github.io/chameleon/schema/3.2/layout.rng">
	<grid class="flex-fill">
		<row>
			<cell class="flex-grow-0">
				<component type="Logo" addLink="yes"/>
			</cell>

			<cell class="ml-auto col-12 col-cmln">

				<row>
					<cell>
						<component type="PersonalTools" hideNewtalkNotifier="yes" class="pull-right"/>
					</cell>
				</row>

				<row>
					<cell>
						<component type="SearchBar" buttons="go" class="pull-right"/>
					</cell>
				</row>

			</cell>
		</row>

		<row>
			<cell>
				<component type="NavbarHorizontal" class="mb-3 mt-2 mt-cmln-0">
					<component type="NavMenu"/>
					<component type="Menu" message="secondary-menu"/>
				</component>
			</cell>
		</row>

		<row>
			<cell>
				<component type="PageTools" class="mb-3"/>
			</cell>
		</row>

		<row>
			<cell class="col-auto mx-auto">
				<component type="SiteNotice"/>
			</cell>
		</row>

		<row>
			<cell class="col-auto mx-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>
				<component type="MainContent"/>
			</cell>
		</row>
	</grid>

	<grid class="mb-2 mt-4">
		<row>
			<cell>
				<component type="NavbarHorizontal" collapsible="no" class="small mb-2" >
					<component type="Toolbox" flatten="no" class="dropup"/>
					<component type="LangLinks" flatten="no" class="dropup"/>
				</component>
			</cell>
		</row>

		<row>
			<cell>
				<component type="FooterInfo"/>
				<component type="FooterPlaces"/>
			</cell>
			<cell>
				<component type="FooterIcons" class="justify-content-end"/>
			</cell>
		</row>
	</grid>
</structure>
