2018-04-02 08:29:19 +02:00
|
|
|
<?php echo template::formOpen('themeSiteForm'); ?>
|
|
|
|
<div class="row">
|
2022-02-08 13:23:34 +01:00
|
|
|
<div class="col1">
|
2018-04-02 08:29:19 +02:00
|
|
|
<?php echo template::button('themeSiteBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . 'theme',
|
2022-02-08 13:23:34 +01:00
|
|
|
'value' => template::ico('left')
|
2018-04-02 08:29:19 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-02-08 13:23:34 +01:00
|
|
|
<div class="col1">
|
2021-11-10 08:03:31 +01:00
|
|
|
<?php echo template::button('themeSiteHelp', [
|
|
|
|
'href' => 'https://doc.zwiicms.fr/site61863d315ffe0',
|
|
|
|
'target' => '_blank',
|
2022-02-08 13:23:34 +01:00
|
|
|
'value' => template::ico('help'),
|
2021-11-10 08:03:31 +01:00
|
|
|
'class' => 'buttonHelp'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-02-08 13:23:34 +01:00
|
|
|
<div class="col2 offset8">
|
2018-04-02 08:29:19 +02:00
|
|
|
<?php echo template::submit('themeSiteSubmit'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-10-28 16:20:54 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2022-09-14 22:54:46 +02:00
|
|
|
<h4>
|
2022-09-19 10:33:23 +02:00
|
|
|
<?php echo template::topic('Paramètres'); ?>
|
2022-09-14 22:54:46 +02:00
|
|
|
</h4>
|
2021-10-28 16:20:54 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
2021-11-15 08:12:43 +01:00
|
|
|
<?php echo template::select('themeSiteWidth', $module::$siteWidths, [
|
2021-10-28 16:20:54 +02:00
|
|
|
'label' => 'Largeur du site',
|
|
|
|
'selected' => $this->getData(['theme', 'site', 'width'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::select('themeSiteRadius', $module::$radius, [
|
|
|
|
'label' => 'Arrondi des angles',
|
|
|
|
'selected' => $this->getData(['theme', 'site', 'radius'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::select('themeSiteShadow', $module::$shadows, [
|
|
|
|
'label' => 'Ombre sur les bords du site',
|
|
|
|
'selected' => $this->getData(['theme', 'site', 'shadow'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::checkbox('themeSiteMargin',true, 'Pas de marge au-dessus et en-dessous du site', [
|
|
|
|
'checked' => $this->getData(['theme', 'site', 'margin'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-04-02 08:29:19 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2022-09-14 22:54:46 +02:00
|
|
|
<h4>
|
2022-09-19 10:33:23 +02:00
|
|
|
<?php echo template::topic('Couleurs'); ?>
|
2022-09-14 22:54:46 +02:00
|
|
|
</h4>
|
2018-04-02 08:29:19 +02:00
|
|
|
<div class="row">
|
2020-03-16 10:20:25 +01:00
|
|
|
<div class="col8">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('themeSiteBackgroundColor', [
|
|
|
|
'class' => 'colorPicker',
|
2020-05-29 17:32:57 +02:00
|
|
|
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
2021-11-21 16:11:40 +01:00
|
|
|
'label' => 'Arrière-plan',
|
2020-03-16 10:20:25 +01:00
|
|
|
'value' => $this->getData(['theme', 'site', 'backgroundColor'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('themeTextTextColor', [
|
|
|
|
'class' => 'colorPicker',
|
2020-05-29 17:32:57 +02:00
|
|
|
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
2020-03-16 10:20:25 +01:00
|
|
|
'label' => 'Texte',
|
|
|
|
'value' => $this->getData(['theme', 'text', 'textColor'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('themeTitleTextColor', [
|
|
|
|
'class' => 'colorPicker',
|
2020-05-29 17:32:57 +02:00
|
|
|
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
2020-03-16 10:20:25 +01:00
|
|
|
'label' => 'Titres',
|
|
|
|
'value' => $this->getData(['theme', 'title', 'textColor'])
|
|
|
|
]); ?>
|
2020-05-29 17:32:57 +02:00
|
|
|
</div>
|
2020-03-16 10:20:25 +01:00
|
|
|
<div class="col6">
|
2020-05-18 10:50:43 +02:00
|
|
|
<?php echo template::text('themeTextLinkColor', [
|
2020-03-16 10:20:25 +01:00
|
|
|
'class' => 'colorPicker',
|
2020-05-29 17:32:57 +02:00
|
|
|
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
2020-03-16 10:20:25 +01:00
|
|
|
'label' => 'Liens',
|
2020-05-18 10:50:43 +02:00
|
|
|
'value' => $this->getData(['theme', 'text', 'linkColor'])
|
2020-03-16 10:20:25 +01:00
|
|
|
]); ?>
|
2020-05-29 17:32:57 +02:00
|
|
|
</div>
|
2020-03-16 10:20:25 +01:00
|
|
|
</div>
|
2020-05-18 10:50:43 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('themeBlockBackgroundColor', [
|
|
|
|
'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(['theme', 'block', 'backgroundColor'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('themeBlockBorderColor', [
|
|
|
|
'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(['theme', 'block', 'borderColor'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-03-21 18:08:04 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col6 offset3">
|
|
|
|
<?php echo template::text('themeButtonBackgroundColor', [
|
|
|
|
'class' => 'colorPicker',
|
2020-05-29 17:32:57 +02:00
|
|
|
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
2020-03-21 18:08:04 +01:00
|
|
|
'label' => 'Boutons',
|
|
|
|
'value' => $this->getData(['theme', 'button', 'backgroundColor'])
|
|
|
|
]); ?>
|
2020-05-29 17:32:57 +02:00
|
|
|
</div>
|
2020-03-16 10:20:25 +01:00
|
|
|
</div>
|
2018-04-02 08:29:19 +02:00
|
|
|
</div>
|
2020-05-05 17:22:04 +02:00
|
|
|
<div class="col4 bodybackground">
|
2020-05-29 17:32:57 +02:00
|
|
|
<div class="bgPreview">
|
2020-05-18 10:50:43 +02:00
|
|
|
<div class="row">
|
2020-05-29 17:32:57 +02:00
|
|
|
<div class="col6">
|
|
|
|
<h1 class="headerPreview">Titre</h1>
|
|
|
|
<h2 class="headerPreview">Sous-titre </h2>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::button('themeSiteSubmitButtonPreview', [
|
|
|
|
'class' => 'buttonSubmitPreview',
|
|
|
|
'value' => 'Bouton'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block preview">
|
2022-04-21 18:38:19 +02:00
|
|
|
<h4 class="preview">Bloc</h4>
|
|
|
|
<p class="textPreview">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
|
2020-05-29 17:32:57 +02:00
|
|
|
<p><a href="#" class="urlPreview">Lorem ipsum dolor sit amet.</a></p>
|
|
|
|
</div>
|
2020-05-18 10:50:43 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-03-16 10:20:25 +01:00
|
|
|
</div>
|
2018-04-02 08:29:19 +02:00
|
|
|
</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">
|
2022-09-14 22:54:46 +02:00
|
|
|
<h4>
|
2022-09-19 10:33:23 +02:00
|
|
|
<?php echo template::topic('Mise en forme du texte'); ?>
|
2022-09-14 22:54:46 +02:00
|
|
|
</h4>
|
2018-04-02 08:29:19 +02:00
|
|
|
<div class="row">
|
2019-03-20 20:05:03 +01:00
|
|
|
<div class="col6">
|
2022-04-21 18:38:19 +02:00
|
|
|
<?php
|
|
|
|
echo template::select('themeTextFont', $module::$fonts['name'], [
|
2022-03-17 10:46:09 +01:00
|
|
|
'label' => 'Fonte',
|
2022-04-20 17:03:54 +02:00
|
|
|
'selected' => $this->getData(['theme', 'text', 'font']),
|
2022-04-21 18:38:19 +02:00
|
|
|
'fonts' => $module::$fonts['family']
|
2018-04-02 08:29:19 +02:00
|
|
|
]); ?>
|
2020-05-29 17:32:57 +02:00
|
|
|
</div>
|
2019-03-20 20:05:03 +01:00
|
|
|
<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">
|
2022-09-14 22:54:46 +02:00
|
|
|
<h4>
|
2022-09-19 10:33:23 +02:00
|
|
|
<?php echo template::topic('Mise en forme des titres'); ?>
|
2022-09-14 22:54:46 +02:00
|
|
|
</h4>
|
2018-04-02 08:29:19 +02:00
|
|
|
<div class="row">
|
2019-03-20 20:05:03 +01:00
|
|
|
<div class="col4">
|
2022-04-21 18:38:19 +02:00
|
|
|
<?php echo template::select('themeTitleFont', $module::$fonts['name'] , [
|
2022-03-17 10:46:09 +01:00
|
|
|
'label' => 'Fonte',
|
2022-04-20 17:03:54 +02:00
|
|
|
'selected' => $this->getData(['theme', 'title', 'font']),
|
2022-04-21 18:38:19 +02:00
|
|
|
'fonts' => $module::$fonts['family']
|
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'])
|
|
|
|
]); ?>
|
2020-05-29 17:32:57 +02:00
|
|
|
</div>
|
2019-03-20 20:05:03 +01:00
|
|
|
<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>
|
2021-11-10 08:03:31 +01:00
|
|
|
<?php echo template::formClose(); ?>
|