disposition footer

This commit is contained in:
fredtempez 2021-10-29 11:25:00 +02:00
parent d4a899fd8a
commit 10dffb328b
1 changed files with 28 additions and 19 deletions

View File

@ -17,32 +17,41 @@
<div class="block"> <div class="block">
<h4>Paramètres</h4> <h4>Paramètres</h4>
<div class="row"> <div class="row">
<div class="col3"> <div class="col6">
<?php echo template::select('themeFooterPosition', $module::$footerPositions, [ <?php echo template::select('themeFooterPosition', $module::$footerPositions, [
'label' => 'Position', 'label' => 'Position',
'selected' => $this->getData(['theme', 'footer', 'position']) 'selected' => $this->getData(['theme', 'footer', 'position'])
]); ?> ]); ?>
</div> </div>
<div class="col3"> <div class="col6">
<?php echo template::select('themeFooterHeight', $module::$footerHeights, [ <?php echo template::select('themeFooterHeight', $module::$footerHeights, [
'label' => 'Marges verticales', 'label' => 'Marges verticales',
'selected' => $this->getData(['theme', 'footer', 'height']) 'selected' => $this->getData(['theme', 'footer', 'height'])
]); ?> ]); ?>
</div> </div>
<div class="col3"> </div>
<?php echo template::text('themeFooterBackgroundColor', [ </div>
'class' => 'colorPicker', </div>
'label' => 'Fond', </div>
'value' => $this->getData(['theme', 'footer', 'backgroundColor']), <div class="row">
'help' => 'Quand le pied de page est dans le site, l\'arrière plan transparent montre le fond de la page. Quand le pied de page est hors du site, l\'arrière plan transparent montre le fond du site.' <div class="col12">
]); ?> <div class="block">
</div> <h4>Couleurs</h4>
<div class="col3"> <div class="row">
<div class="col6">
<?php echo template::text('themeFooterTextColor', [ <?php echo template::text('themeFooterTextColor', [
'class' => 'colorPicker', 'class' => 'colorPicker',
'label' => 'Texte', 'label' => 'Texte',
'value' => $this->getData(['theme', 'footer', 'textColor']) 'value' => $this->getData(['theme', 'footer', 'textColor'])
]); ?> ]); ?>
</div>
<div class="col6">
<?php echo template::text('themeFooterBackgroundColor', [
'class' => 'colorPicker',
'label' => 'Fond',
'value' => $this->getData(['theme', 'footer', 'backgroundColor']),
'help' => 'Quand le pied de page est dans le site, l\'arrière plan transparent montre le fond de la page. Quand le pied de page est hors du site, l\'arrière plan transparent montre le fond du site.'
]); ?>
</div> </div>
</div> </div>
</div> </div>