Header : position du checkbox de masquage du titre hors le bloc de l'image

This commit is contained in:
fredtempez 2021-11-19 15:17:23 +01:00
parent 66e4f2ffe9
commit 5eb422be37

View File

@ -102,6 +102,11 @@
<div class="block"> <div class="block">
<h4>Mise en forme du titre</h4> <h4>Mise en forme du titre</h4>
<div class="row"> <div class="row">
<div class="col4">
<?php echo template::checkbox('themeHeaderTextHide', true, 'Masquer le titre du site', [
'checked' => $this->getData(['theme', 'header', 'textHide'])
]); ?>
</div>
<div class="col4"> <div class="col4">
<?php echo template::select('themeHeaderFont', $module::$fonts, [ <?php echo template::select('themeHeaderFont', $module::$fonts, [
'label' => 'Police', 'label' => 'Police',
@ -116,15 +121,15 @@
'selected' => $this->getData(['theme', 'header', 'fontSize']) 'selected' => $this->getData(['theme', 'header', 'fontSize'])
]); ?> ]); ?>
</div> </div>
</div>
<div class="row">
<div class="col4"> <div class="col4">
<?php echo template::select('themeHeaderFontWeight', $module::$fontWeights, [ <?php echo template::select('themeHeaderFontWeight', $module::$fontWeights, [
'label' => 'Style', 'label' => 'Style',
'selected' => $this->getData(['theme', 'header', 'fontWeight']) 'selected' => $this->getData(['theme', 'header', 'fontWeight'])
]); ?> ]); ?>
</div> </div>
</div> <div class="col4">
<div class="row">
<div class="col4 offset2">
<?php echo template::select('themeHeaderTextTransform', $module::$textTransforms, [ <?php echo template::select('themeHeaderTextTransform', $module::$textTransforms, [
'label' => 'Casse', 'label' => 'Casse',
'selected' => $this->getData(['theme', 'header', 'textTransform']) 'selected' => $this->getData(['theme', 'header', 'textTransform'])
@ -136,6 +141,7 @@
'selected' => $this->getData(['theme', 'header', 'textAlign']) 'selected' => $this->getData(['theme', 'header', 'textAlign'])
]); ?> ]); ?>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
@ -159,13 +165,13 @@
</div> </div>
<div id="themeHeaderImageOptions" class="displayNone"> <div id="themeHeaderImageOptions" class="displayNone">
<div class="row"> <div class="row">
<div class="col4"> <div class="col3">
<?php echo template::select('themeHeaderImageRepeat', $module::$repeats, [ <?php echo template::select('themeHeaderImageRepeat', $module::$repeats, [
'label' => 'Répétition', 'label' => 'Répétition',
'selected' => $this->getData(['theme', 'header', 'imageRepeat']) 'selected' => $this->getData(['theme', 'header', 'imageRepeat'])
]); ?> ]); ?>
</div> </div>
<div class="col4"> <div class="col3">
<?php echo template::select('themeHeaderImageContainer', $module::$headerWide, [ <?php echo template::select('themeHeaderImageContainer', $module::$headerWide, [
'label' => 'Adaptation', 'label' => 'Adaptation',
'selected' => $this->getData(['theme', 'header', 'imageContainer']), 'selected' => $this->getData(['theme', 'header', 'imageContainer']),
@ -174,20 +180,13 @@
Les modes Auto et Etiré ne provoquent pas de modification de la hauteur de la bannière.' Les modes Auto et Etiré ne provoquent pas de modification de la hauteur de la bannière.'
]); ?> ]); ?>
</div> </div>
<div class="col4"> <div class="col3">
<?php echo template::select('themeHeaderImagePosition', $module::$imagePositions, [ <?php echo template::select('themeHeaderImagePosition', $module::$imagePositions, [
'label' => 'Position', 'label' => 'Position',
'selected' => $this->getData(['theme', 'header', 'imagePosition']) 'selected' => $this->getData(['theme', 'header', 'imagePosition'])
]); ?> ]); ?>
</div> </div>
</div> <div id="themeHeaderShow" class="col3">
<div class="row">
<div class="col6">
<?php echo template::checkbox('themeHeaderTextHide', true, 'Masquer le titre du site', [
'checked' => $this->getData(['theme', 'header', 'textHide'])
]); ?>
</div>
<div id="themeHeaderShow" class="col6">
<?php echo template::checkbox('themeHeaderlinkHomePage', true, 'Bannière cliquable', [ <?php echo template::checkbox('themeHeaderlinkHomePage', true, 'Bannière cliquable', [
'checked' => $this->getData(['theme', 'header', 'linkHomePage']) 'checked' => $this->getData(['theme', 'header', 'linkHomePage'])
]); ?> ]); ?>