2020-05-16 22:15:16 +02:00
|
|
|
<?php echo template::formOpen('configAdminForm'); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::button('configAdminBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . 'theme',
|
|
|
|
'ico' => 'left',
|
|
|
|
'value' => 'Retour'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-05-18 10:50:43 +02:00
|
|
|
<div class="col2 offset6">
|
2020-05-17 07:41:44 +02:00
|
|
|
<?php echo template::button('configAdminReset', [
|
2020-05-16 22:15:16 +02:00
|
|
|
'class' => 'buttonRed',
|
|
|
|
'href' => helper::baseUrl() . 'theme/resetAdmin',
|
|
|
|
'value' => 'Réinitialiser'
|
2020-05-17 07:41:44 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-05-16 22:15:16 +02:00
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::submit('configAdminSubmit',[
|
2020-05-21 12:01:46 +02:00
|
|
|
'value' => 'Valider',
|
2020-05-16 22:15:16 +02:00
|
|
|
'ico' => 'check'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>Couleurs</h4>
|
|
|
|
<div class="row">
|
2020-05-17 07:41:44 +02:00
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::text('adminBackgroundColor', [
|
2020-05-16 22:15:16 +02:00
|
|
|
'class' => 'colorPicker',
|
|
|
|
'help' => 'Couleur visible en l\'absence d\'une image.<br />Le curseur horizontal règle le niveau de transparence.',
|
|
|
|
'label' => 'Arrière-plan',
|
|
|
|
'value' => $this->getData(['admin', 'backgroundColor'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-05-17 07:41:44 +02:00
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::text('adminBackGroundBlockColor', [
|
|
|
|
'class' => 'colorPicker',
|
|
|
|
'help' => 'Couleur visible en l\'absence d\'une image.<br />Le curseur horizontal règle le niveau de transparence.',
|
|
|
|
'label' => 'Arrière-plan des blocs',
|
|
|
|
'value' => $this->getData(['admin', 'backgroundBlockColor'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::text('adminBorderBlockColor', [
|
|
|
|
'class' => 'colorPicker',
|
|
|
|
'help' => 'Couleur visible en l\'absence d\'une image.<br />Le curseur horizontal règle le niveau de transparence.',
|
|
|
|
'label' => 'Bordure des blocs',
|
|
|
|
'value' => $this->getData(['admin', 'borderBlockColor'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::text('adminColorTitle', [
|
2020-05-16 22:15:16 +02:00
|
|
|
'class' => 'colorPicker',
|
|
|
|
'help' => 'Couleur visible en l\'absence d\'une image.<br />Le curseur horizontal règle le niveau de transparence.',
|
|
|
|
'label' => 'Titres',
|
|
|
|
'value' => $this->getData(['admin', 'colorTitle'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-05-17 07:41:44 +02:00
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::text('adminColorText', [
|
2020-05-16 22:15:16 +02:00
|
|
|
'class' => 'colorPicker',
|
|
|
|
'help' => 'Couleur visible en l\'absence d\'une image.<br />Le curseur horizontal règle le niveau de transparence.',
|
|
|
|
'label' => 'Texte',
|
|
|
|
'value' => $this->getData(['admin', 'colorText'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-05-17 07:41:44 +02:00
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::text('adminColorButtonText', [
|
2020-05-16 22:15:16 +02:00
|
|
|
'class' => 'colorPicker',
|
|
|
|
'help' => 'Couleur visible en l\'absence d\'une image.<br />Le curseur horizontal règle le niveau de transparence.',
|
|
|
|
'label' => 'Texte des boutons',
|
|
|
|
'value' => $this->getData(['admin', 'colorButtonText'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col3">
|
2020-05-17 07:41:44 +02:00
|
|
|
<?php echo template::text('adminColorGrey', [
|
2020-05-16 22:15:16 +02:00
|
|
|
'class' => 'colorPicker',
|
|
|
|
'help' => 'Couleur visible en l\'absence d\'une image.<br />Le curseur horizontal règle le niveau de transparence.',
|
|
|
|
'label' => 'Bouton retour',
|
|
|
|
'value' => $this->getData(['admin', 'backgroundColorButtonGrey'])
|
|
|
|
]); ?>
|
2020-05-17 07:41:44 +02:00
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::text('adminColorButton', [
|
|
|
|
'class' => 'colorPicker',
|
|
|
|
'help' => 'Couleur visible en l\'absence d\'une image.<br />Le curseur horizontal règle le niveau de transparence.',
|
|
|
|
'label' => 'Bouton standard',
|
|
|
|
'value' => $this->getData(['admin', 'backgroundColorButton'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-05-16 22:15:16 +02:00
|
|
|
<div class="col3">
|
2020-05-17 07:41:44 +02:00
|
|
|
<?php echo template::text('adminColorRed', [
|
2020-05-16 22:15:16 +02:00
|
|
|
'class' => 'colorPicker',
|
|
|
|
'help' => 'Couleur visible en l\'absence d\'une image.<br />Le curseur horizontal règle le niveau de transparence.',
|
|
|
|
'label' => 'Bouton effacement',
|
|
|
|
'value' => $this->getData(['admin', 'backgroundColorButtonRed'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2020-05-17 07:41:44 +02:00
|
|
|
<?php echo template::text('adminColorGreen', [
|
2020-05-16 22:15:16 +02:00
|
|
|
'class' => 'colorPicker',
|
|
|
|
'help' => 'Couleur visible en l\'absence d\'une image.<br />Le curseur horizontal règle le niveau de transparence.',
|
|
|
|
'label' => 'Bouton validation',
|
|
|
|
'value' => $this->getData(['admin', 'backgroundColorButtonGreen'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>Mise en forme du texte</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
2020-05-17 07:41:44 +02:00
|
|
|
<?php echo template::select('adminFontText', $module::$fonts, [
|
2020-05-16 22:15:16 +02:00
|
|
|
'label' => 'Police du texte',
|
2020-05-17 07:41:44 +02:00
|
|
|
'selected' => $this->getData(['admin', 'fontText']),
|
2020-05-16 22:15:16 +02:00
|
|
|
'fonts' => true
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2020-05-17 07:41:44 +02:00
|
|
|
<?php echo template::select('adminFontTextSize', $module::$siteFontSizes, [
|
2020-05-16 22:15:16 +02:00
|
|
|
'label' => 'Taille',
|
|
|
|
'selected' => $this->getData(['admin', 'fontSize'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2020-05-17 07:41:44 +02:00
|
|
|
<?php echo template::select('adminFontTitle', $module::$fonts, [
|
2020-05-16 22:15:16 +02:00
|
|
|
'label' => 'Police des titres',
|
|
|
|
'selected' => $this->getData(['admin', 'fontTitle']),
|
|
|
|
'fonts' => true
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo template::formClose(); ?>
|