forked from ZwiiCMS-Team/ZwiiCMS
106 lines
3.2 KiB
PHP
Executable File
106 lines
3.2 KiB
PHP
Executable File
<?php echo template::formOpen('themeMenuForm'); ?>
|
|
<div class="row">
|
|
<div class="col2">
|
|
<?php echo template::button('themeMenuBack', [
|
|
'class' => 'buttonGrey',
|
|
'href' => helper::baseUrl() . 'theme',
|
|
'ico' => 'left',
|
|
'value' => 'Retour'
|
|
]); ?>
|
|
</div>
|
|
<div class="col2 offset8">
|
|
<?php echo template::submit('themeMenuSubmit'); ?>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col6">
|
|
<div class="block">
|
|
<h4>Couleur</h4>
|
|
<div class="row">
|
|
<div class="col6">
|
|
<?php echo template::text('themeMenuBackgroundColor', [
|
|
'class' => 'colorPicker',
|
|
'label' => 'Fond',
|
|
'value' => $this->getData(['theme', 'menu', 'backgroundColor'])
|
|
]); ?>
|
|
</div>
|
|
<div class="col6">
|
|
<?php echo template::text('themeMenuTextColor', [
|
|
'class' => 'colorPicker',
|
|
'label' => 'Texte',
|
|
'value' => $this->getData(['theme', 'menu', 'textColor'])
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col6">
|
|
<div class="block">
|
|
<h4>Mise en forme du texte</h4>
|
|
<div class="row">
|
|
<div class="col4">
|
|
<?php echo template::select('themeMenuTextTransform', $module::$textTransforms, [
|
|
'label' => 'Caractères',
|
|
'selected' => $this->getData(['theme', 'menu', 'textTransform'])
|
|
]); ?>
|
|
</div>
|
|
<div class="col4">
|
|
<?php echo template::select('themeMenuFontWeight', $module::$fontWeights, [
|
|
'label' => 'Style',
|
|
'selected' => $this->getData(['theme', 'menu', 'fontWeight'])
|
|
]); ?>
|
|
</div>
|
|
<div class="col4">
|
|
<?php echo template::select('themeMenuFontSize', $module::$menuFontSizes, [
|
|
'label' => 'Taille',
|
|
'selected' => $this->getData(['theme', 'menu', 'fontSize'])
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col12">
|
|
<div class="block">
|
|
<h4>Configuration</h4>
|
|
<div class="row">
|
|
<div class="col4">
|
|
<?php echo template::select('themeMenuPosition', $module::$menuPositions, [
|
|
'label' => 'Position',
|
|
'selected' => $this->getData(['theme', 'menu', 'position'])
|
|
]); ?>
|
|
</div>
|
|
<div class="col4">
|
|
<?php echo template::select('themeMenuHeight', $module::$menuHeights, [
|
|
'label' => 'Hauteur',
|
|
'selected' => $this->getData(['theme', 'menu', 'height'])
|
|
]); ?>
|
|
</div>
|
|
<div class="col4">
|
|
<?php echo template::select('themeMenuTextAlign', $module::$aligns, [
|
|
'label' => 'Alignement du contenu',
|
|
'selected' => $this->getData(['theme', 'menu', 'textAlign'])
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
<div id="themeMenuPositionOptions" class="displayNone">
|
|
<?php echo template::checkbox('themeMenuMargin', true, 'Aligner le menu avec le contenu', [
|
|
'checked' => $this->getData(['theme', 'menu', 'margin'])
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col6">
|
|
<div class="block">
|
|
<h4>Contenu</h4>
|
|
<?php echo template::checkbox('themeMenuLoginLink', true, 'Lien de connexion', [
|
|
'checked' => $this->getData(['theme', 'menu', 'loginLink']),
|
|
'help' => 'Visible seulement sur cette page et lorsque vous n\'êtes pas connecté.'
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php echo template::formClose(); ?>
|