2020-04-17 19:02:04 +02:00
|
|
|
<?php echo template::formOpen('galleryThemeForm'); ?>
|
2020-08-20 13:43:40 +02:00
|
|
|
|
2020-04-17 19:02:04 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::button('galleryThemeBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
|
|
|
|
'ico' => 'left',
|
|
|
|
'value' => 'Retour'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2 offset8">
|
|
|
|
<?php echo template::submit('galleryThemeBack'); ?>
|
2020-06-16 12:43:54 +02:00
|
|
|
</div>
|
2020-04-17 19:02:04 +02:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2020-08-20 13:43:40 +02:00
|
|
|
<h4>Vignettes</h4> <em>Thème commun à tous les modules de galerie du site</em>
|
2020-04-17 19:02:04 +02:00
|
|
|
<div class="row">
|
2020-04-19 14:58:38 +02:00
|
|
|
<div class="col3">
|
2020-06-16 12:43:54 +02:00
|
|
|
<?php echo template::select('galleryThemeThumbWidth', $module::$galleryThemeSizeWidth, [
|
2020-04-18 19:18:34 +02:00
|
|
|
'label' => 'Largeur',
|
2020-08-19 21:08:00 +02:00
|
|
|
'selected' => $this->getData(['theme', 'gallery','thumbWidth'])
|
2020-04-17 19:02:04 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-04-19 14:58:38 +02:00
|
|
|
<div class="col3">
|
2020-06-16 12:43:54 +02:00
|
|
|
<?php echo template::select('galleryThemeThumbHeight', $module::$galleryThemeSizeHeight, [
|
2020-04-18 19:18:34 +02:00
|
|
|
'label' => 'Hauteur',
|
2020-08-19 21:08:00 +02:00
|
|
|
'selected' => $this->getData(['theme', 'gallery','thumbHeight'])
|
2020-04-17 19:02:04 +02:00
|
|
|
]); ?>
|
2020-06-16 12:43:54 +02:00
|
|
|
</div>
|
2020-04-19 14:58:38 +02:00
|
|
|
<div class="col4">
|
2020-04-18 19:18:34 +02:00
|
|
|
<?php echo template::select('galleryThemeThumbAlign', $module::$galleryThemeFlexAlign, [
|
|
|
|
'label' => 'Alignement',
|
2020-08-19 21:08:00 +02:00
|
|
|
'selected' => $this->getData(['theme', 'gallery','thumbAlign'])
|
2020-04-18 19:18:34 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-04-19 14:58:38 +02:00
|
|
|
<div class="col2">
|
2020-04-17 19:02:04 +02:00
|
|
|
<?php echo template::select('galleryThemeThumbMargin', $module::$galleryThemeMargin, [
|
2020-04-19 19:43:37 +02:00
|
|
|
'label' => 'Marge',
|
2020-08-19 21:08:00 +02:00
|
|
|
'selected' => $this->getData(['theme', 'gallery','thumbMargin'])
|
2020-04-17 19:02:04 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-04-18 19:18:34 +02:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
2020-04-19 14:58:38 +02:00
|
|
|
<div class="col4">
|
2020-04-17 19:02:04 +02:00
|
|
|
<?php echo template::select('galleryThemeThumbBorder', $module::$galleryThemeBorder, [
|
2020-04-19 19:43:37 +02:00
|
|
|
'label' => 'Bordure',
|
2020-08-19 21:08:00 +02:00
|
|
|
'selected' => $this->getData(['theme', 'gallery','thumbBorder'])
|
2020-04-17 19:02:04 +02:00
|
|
|
]); ?>
|
2020-06-16 12:43:54 +02:00
|
|
|
</div>
|
2020-04-19 14:58:38 +02:00
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::text('galleryThemeThumbBorderColor', [
|
|
|
|
'class' => 'colorPicker',
|
2020-06-16 12:43:54 +02:00
|
|
|
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
2020-04-19 14:58:38 +02:00
|
|
|
'label' => 'Couleur de la bordure',
|
2020-08-19 21:08:00 +02:00
|
|
|
'value' => $this->getData(['theme', 'gallery','thumbBorderColor'])
|
2020-04-18 19:18:34 +02:00
|
|
|
]); ?>
|
2020-06-16 12:43:54 +02:00
|
|
|
</div>
|
2020-04-19 14:58:38 +02:00
|
|
|
<div class="col4">
|
2020-04-18 19:18:34 +02:00
|
|
|
<?php echo template::select('galleryThemeThumbRadius', $module::$galleryThemeRadius, [
|
2020-04-19 19:43:37 +02:00
|
|
|
'label' => 'Arrondi des angles',
|
2020-08-19 21:08:00 +02:00
|
|
|
'selected' => $this->getData(['theme', 'gallery','thumbRadius'])
|
2020-04-18 19:18:34 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-04-19 14:58:38 +02:00
|
|
|
</div>
|
2020-06-16 12:43:54 +02:00
|
|
|
<div class="row">
|
2020-04-19 19:43:37 +02:00
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::select('galleryThemeThumbShadows', $module::$galleryThemeShadows, [
|
|
|
|
'label' => 'Ombre',
|
2020-08-19 21:08:00 +02:00
|
|
|
'selected' => $this->getData(['theme', 'gallery','thumbShadows'])
|
2020-04-19 19:43:37 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::text('galleryThemeThumbShadowsColor', [
|
|
|
|
'class' => 'colorPicker',
|
2020-06-16 12:43:54 +02:00
|
|
|
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
2020-04-19 19:43:37 +02:00
|
|
|
'label' => 'Couleur de l\'ombre',
|
2020-08-19 21:08:00 +02:00
|
|
|
'value' => $this->getData(['theme', 'gallery','thumbShadowsColor'])
|
2020-04-19 19:43:37 +02:00
|
|
|
]); ?>
|
2020-06-16 12:43:54 +02:00
|
|
|
</div>
|
2020-04-19 19:43:37 +02:00
|
|
|
<div class="col4">
|
2020-04-19 14:58:38 +02:00
|
|
|
<?php echo template::select('galleryThemeThumbOpacity', $module::$galleryThemeOpacity, [
|
|
|
|
'label' => 'Opacité au survol',
|
2020-08-19 21:08:00 +02:00
|
|
|
'selected' => $this->getData(['theme', 'gallery','thumbOpacity'])
|
2020-04-19 14:58:38 +02:00
|
|
|
]); ?>
|
2020-06-16 12:43:54 +02:00
|
|
|
</div>
|
2020-04-17 19:02:04 +02:00
|
|
|
</div>
|
2020-06-16 12:43:54 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-04-17 19:02:04 +02:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2020-08-20 13:43:40 +02:00
|
|
|
<h4>Légendes</h4><em>Thème commun à tous les modules de galerie du site</em>
|
2020-04-17 19:02:04 +02:00
|
|
|
<div class="row">
|
2020-04-19 14:58:38 +02:00
|
|
|
<div class="col3">
|
2020-04-18 16:33:48 +02:00
|
|
|
<?php echo template::text('galleryThemeLegendTextColor', [
|
2020-04-17 19:02:04 +02:00
|
|
|
'class' => 'colorPicker',
|
2020-06-16 12:43:54 +02:00
|
|
|
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
2020-04-18 19:18:34 +02:00
|
|
|
'label' => 'Texte',
|
2020-08-19 21:08:00 +02:00
|
|
|
'value' => $this->getData(['theme', 'gallery','legendTextColor'])
|
2020-06-16 12:43:54 +02:00
|
|
|
]); ?>
|
2020-04-17 19:02:04 +02:00
|
|
|
</div>
|
2020-04-19 14:58:38 +02:00
|
|
|
<div class="col3">
|
2020-04-18 16:33:48 +02:00
|
|
|
<?php echo template::text('galleryThemeLegendBgColor', [
|
2020-04-17 19:02:04 +02:00
|
|
|
'class' => 'colorPicker',
|
2020-06-16 12:43:54 +02:00
|
|
|
'help' => 'Le curseur horizontal règle le niveau de transparence.',
|
2020-04-18 19:18:34 +02:00
|
|
|
'label' => 'Fond',
|
2020-08-19 21:08:00 +02:00
|
|
|
'value' => $this->getData(['theme', 'gallery','legendBgColor'])
|
2020-06-16 12:43:54 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-04-19 14:58:38 +02:00
|
|
|
<div class="col3">
|
2020-04-18 19:18:34 +02:00
|
|
|
<?php echo template::select('galleryThemeLegendHeight', $module::$galleryThemeLegendHeight, [
|
|
|
|
'label' => 'Hauteur',
|
2020-08-19 21:08:00 +02:00
|
|
|
'selected' => $this->getData(['theme', 'gallery','legendHeight'])
|
2020-04-18 19:18:34 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2020-04-19 14:58:38 +02:00
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::select('galleryThemeLegendAlign', $module::$galleryThemeAlign, [
|
2020-04-19 19:43:37 +02:00
|
|
|
'label' => 'Alignement',
|
2020-08-19 21:08:00 +02:00
|
|
|
'selected' => $this->getData(['theme', 'gallery','legendAlign'])
|
2020-04-19 14:58:38 +02:00
|
|
|
]); ?>
|
2020-04-17 19:02:04 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-20 13:43:40 +02:00
|
|
|
|
2020-06-16 12:43:54 +02:00
|
|
|
<?php echo template::formClose(); ?>
|
2020-04-17 19:02:04 +02:00
|
|
|
<div class="row">
|
2020-08-20 13:43:40 +02:00
|
|
|
<div class="col12">
|
|
|
|
<div class="moduleVersion">Version n°
|
|
|
|
<?php echo $module::GALLERY_VERSION; ?>
|
2020-04-17 19:02:04 +02:00
|
|
|
</div>
|
2020-08-20 13:43:40 +02:00
|
|
|
</div>
|
2020-06-16 12:43:54 +02:00
|
|
|
</div>
|