157 lines
5.5 KiB
PHP
157 lines
5.5 KiB
PHP
<?php echo template::formOpen('configAdminForm'); ?>
|
|
<div class="row">
|
|
<div class="col1">
|
|
<?php echo template::button('configAdminBack', [
|
|
'class' => 'buttonGrey',
|
|
'href' => helper::baseUrl() . 'theme',
|
|
'value' => template::ico('left')
|
|
]); ?>
|
|
</div>
|
|
<!--
|
|
<div class="col2 offset5">
|
|
<?php echo template::button('configAdminTest', [
|
|
'value' => 'Bouton Standard'
|
|
]); ?>
|
|
</div>
|
|
-->
|
|
<div class="col1 offset8">
|
|
<?php echo template::button('configAdminReset', [
|
|
'class' => 'buttonRed',
|
|
'href' => helper::baseUrl() . 'theme/reset/admin' . '&csrf=' . $_SESSION['csrf'],
|
|
'value' => template::ico('cancel'),
|
|
'help' => 'Réinitialiser avec le thème par défaut'
|
|
]); ?>
|
|
</div>
|
|
<div class="col2">
|
|
<?php echo template::submit('configAdminSubmit', [
|
|
'value' => 'Valider',
|
|
'ico' => 'check'
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col12">
|
|
<div class="block">
|
|
<h4><?php echo helper::translate('Couleurs'); ?>
|
|
</h4>
|
|
<div class="row">
|
|
<div class="col4">
|
|
<?php echo template::text('adminBackgroundColor', [
|
|
'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>
|
|
<div class="col4">
|
|
<?php echo template::text('adminColorTitle', [
|
|
'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>
|
|
<div class="col4">
|
|
<?php echo template::text('adminColorText', [
|
|
'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>
|
|
</div>
|
|
<div class="row">
|
|
<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. La couleur du texte est automatique.',
|
|
'label' => 'Arrière plan des champs',
|
|
'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 champs',
|
|
'value' => $this->getData(['admin', 'borderBlockColor'])
|
|
]); ?>
|
|
</div>
|
|
<div class="col3 offset1">
|
|
<?php echo template::text('adminColorHelp', [
|
|
'class' => 'colorPicker',
|
|
'help' => 'Couleur visible en l\'absence d\'une image.<br />Le curseur horizontal règle le niveau de transparence.',
|
|
'label' => 'Bouton Aide',
|
|
'value' => $this->getData(['admin', 'backgroundColorButtonHelp'])
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col3">
|
|
<?php echo template::text('adminColorGrey', [
|
|
'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'])
|
|
]); ?>
|
|
</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>
|
|
<div class="col3">
|
|
<?php echo template::text('adminColorRed', [
|
|
'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">
|
|
<?php echo template::text('adminColorGreen', [
|
|
'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><?php echo helper::translate('Mise en forme du texte'); ?>
|
|
</h4>
|
|
<div class="row">
|
|
<div class="col4">
|
|
<?php echo template::select('adminFontText', $module::$fonts['name'], [
|
|
'label' => 'Police du texte',
|
|
'selected' => $this->getData(['admin', 'fontText']),
|
|
'font' => $module::$fonts['family']
|
|
]); ?>
|
|
</div>
|
|
<div class="col4">
|
|
<?php echo template::select('adminFontTextSize', $module::$siteFontSizes, [
|
|
'label' => 'Taille',
|
|
'selected' => $this->getData(['admin', 'fontSize'])
|
|
]); ?>
|
|
</div>
|
|
<div class="col4">
|
|
<?php echo template::select('adminFontTitle', $module::$fonts['name'], [
|
|
'label' => 'Police des titres',
|
|
'selected' => $this->getData(['admin', 'fontTitle']),
|
|
'font' => $module::$fonts['family']
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php echo template::formClose(); ?>
|