2018-04-02 08:29:19 +02:00
|
|
|
<?php echo template::formOpen('themeSiteForm'); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::button('themeSiteBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . 'theme',
|
|
|
|
'ico' => 'left',
|
|
|
|
'value' => 'Retour'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2 offset8">
|
|
|
|
<?php echo template::submit('themeSiteSubmit'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>Couleurs</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::text('themeSiteBackgroundColor', [
|
|
|
|
'class' => 'colorPicker',
|
2019-05-02 13:21:48 +02:00
|
|
|
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
2018-04-02 08:29:19 +02:00
|
|
|
'label' => 'Fond',
|
|
|
|
'value' => $this->getData(['theme', 'site', 'backgroundColor'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::text('themeTextTextColor', [
|
|
|
|
'class' => 'colorPicker',
|
2019-05-02 13:21:48 +02:00
|
|
|
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
2018-04-02 08:29:19 +02:00
|
|
|
'label' => 'Texte',
|
|
|
|
'value' => $this->getData(['theme', 'text', 'textColor'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2019-12-06 18:43:21 +01:00
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::text('themeLinkTextColor', [
|
|
|
|
'class' => 'colorPicker',
|
|
|
|
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
|
|
|
'label' => 'Liens',
|
|
|
|
'value' => $this->getData(['theme', 'link', 'textColor'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2018-04-02 08:29:19 +02:00
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::text('themeTitleTextColor', [
|
|
|
|
'class' => 'colorPicker',
|
2019-05-02 13:21:48 +02:00
|
|
|
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
2018-04-02 08:29:19 +02:00
|
|
|
'label' => 'Titres',
|
|
|
|
'value' => $this->getData(['theme', 'title', 'textColor'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2019-12-06 18:43:21 +01:00
|
|
|
<div class="col4 offset4">
|
2018-04-02 08:29:19 +02:00
|
|
|
<?php echo template::text('themeButtonBackgroundColor', [
|
|
|
|
'class' => 'colorPicker',
|
2019-05-02 13:21:48 +02:00
|
|
|
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
2018-04-02 08:29:19 +02:00
|
|
|
'label' => 'Boutons',
|
|
|
|
'value' => $this->getData(['theme', 'button', 'backgroundColor'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2019-03-20 20:05:03 +01:00
|
|
|
<div class="col6">
|
2018-04-02 08:29:19 +02:00
|
|
|
<div class="block">
|
2019-03-20 20:05:03 +01:00
|
|
|
<h4>Mise en forme du texte</h4>
|
2018-04-02 08:29:19 +02:00
|
|
|
<div class="row">
|
2019-03-20 20:05:03 +01:00
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::select('themeTextFont', $module::$fonts, [
|
|
|
|
'label' => 'Police',
|
|
|
|
'selected' => $this->getData(['theme', 'text', 'font'])
|
2018-04-02 08:29:19 +02:00
|
|
|
]); ?>
|
2019-03-20 20:05:03 +01:00
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::select('themeTextFontSize', $module::$siteFontSizes, [
|
|
|
|
'label' => 'Taille',
|
2019-03-21 19:55:51 +01:00
|
|
|
'help' => 'Taille de référence pour le site. Les tailles des polices de la bannière, de menu et de pied de page sont proportionnelles à cette taille.',
|
2019-03-20 20:05:03 +01:00
|
|
|
'selected' => $this->getData(['theme', 'text', 'fontSize'])
|
2018-04-02 08:29:19 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<div class="block">
|
2019-03-20 20:05:03 +01:00
|
|
|
<h4>Mise en forme des titres</h4>
|
2018-04-02 08:29:19 +02:00
|
|
|
<div class="row">
|
2019-03-20 20:05:03 +01:00
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::select('themeTitleFont', $module::$fonts, [
|
|
|
|
'label' => 'Police',
|
|
|
|
'selected' => $this->getData(['theme', 'title', 'font'])
|
2018-04-02 08:29:19 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2019-03-20 20:05:03 +01:00
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::select('themeTitleFontWeight', $module::$fontWeights, [
|
|
|
|
'label' => 'Style',
|
|
|
|
'selected' => $this->getData(['theme', 'title', 'fontWeight'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::select('themeTitleTextTransform', $module::$textTransforms, [
|
|
|
|
'label' => 'Casse',
|
|
|
|
'selected' => $this->getData(['theme', 'title', 'textTransform'])
|
2018-04-02 08:29:19 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-03-20 20:05:03 +01:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
2018-04-02 08:29:19 +02:00
|
|
|
<div class="block">
|
2019-03-20 20:05:03 +01:00
|
|
|
<h4>Apparence</h4>
|
2018-04-02 08:29:19 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
2019-03-20 20:05:03 +01:00
|
|
|
<?php echo template::select('themeSiteWidth', $module::$widths, [
|
|
|
|
'label' => 'Largeur du site',
|
|
|
|
'selected' => $this->getData(['theme', 'site', 'width'])
|
2018-04-02 08:29:19 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2019-03-20 20:05:03 +01:00
|
|
|
<?php echo template::select('themeSiteRadius', $module::$radius, [
|
2019-11-29 16:09:28 +01:00
|
|
|
'label' => 'Bords arrondis',
|
2019-03-20 20:05:03 +01:00
|
|
|
'selected' => $this->getData(['theme', 'site', 'radius'])
|
2018-04-02 08:29:19 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
2019-03-20 20:05:03 +01:00
|
|
|
<?php echo template::select('themeSiteShadow', $module::$shadows, [
|
|
|
|
'label' => 'Ombre sur les bords du site',
|
|
|
|
'selected' => $this->getData(['theme', 'site', 'shadow'])
|
2018-04-02 08:29:19 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo template::formClose(); ?>
|