Theme et menu reverif ok

This commit is contained in:
Fred Tempez 2023-04-15 07:51:45 +02:00
parent 8ecaeaf4e7
commit 02e8b77498
4 changed files with 15 additions and 17 deletions

View File

@ -226,7 +226,7 @@
"Github": "Github", "Github": "Github",
"Grande (220%)": "Grande (220%)", "Grande (220%)": "Grande (220%)",
"Grande (300px)": "Grande (300px)", "Grande (300px)": "Grande (300px)",
"Gras": "Gras", "Gras": "Bold",
"Groupe": "Group", "Groupe": "Group",
"Groupe requis pour accéder à la page :": "Group required to access the page:", "Groupe requis pour accéder à la page :": "Group required to access the page:",
"Groupes": "", "Groupes": "",

View File

@ -226,7 +226,7 @@
"Github": "Github", "Github": "Github",
"Grande (220%)": "Grande (220%)", "Grande (220%)": "Grande (220%)",
"Grande (300px)": "Grande (300px)", "Grande (300px)": "Grande (300px)",
"Gras": "Gras", "Gras": "Bold",
"Groupe": "Grupo", "Groupe": "Grupo",
"Groupe requis pour accéder à la page :": "Grupo necesario para acceder a la página:", "Groupe requis pour accéder à la page :": "Grupo necesario para acceder a la página:",
"Groupes": "", "Groupes": "",

View File

@ -102,40 +102,40 @@
<h4><?php echo helper::translate('Mise en forme du titre'); ?> <h4><?php echo helper::translate('Mise en forme du titre'); ?>
</h4> </h4>
<div class="row"> <div class="row">
<div class="col4"> <div class="col12">
<?php echo template::checkbox('themeHeaderTextHide', true, 'Titre masqué', [ <?php echo template::checkbox('themeHeaderTextHide', true, 'Titre masqué', [
'checked' => $this->getData(['theme', 'header', 'textHide']) 'checked' => $this->getData(['theme', 'header', 'textHide'])
]); ?> ]); ?>
</div> </div>
<div class="col4"> </div>
<div class="row">
<div class="col3">
<?php echo template::select('themeHeaderFont', $module::$fonts['name'], [ <?php echo template::select('themeHeaderFont', $module::$fonts['name'], [
'label' => 'Fonte', 'label' => 'Fonte',
'selected' => $this->getData(['theme', 'header', 'font']), 'selected' => $this->getData(['theme', 'header', 'font']),
'fonts' => $module::$fonts['family'] 'fonts' => $module::$fonts['family']
]); ?> ]); ?>
</div> </div>
<div class="col4"> <div class="col2">
<?php echo template::select('themeHeaderFontSize', $module::$headerFontSizes, [ <?php echo template::select('themeHeaderFontSize', $module::$headerFontSizes, [
'label' => 'Taille', 'label' => 'Taille',
'help' => 'Proportionnelle à la taille définie dans le site.', 'help' => 'Proportionnelle à la taille définie dans le site.',
'selected' => $this->getData(['theme', 'header', 'fontSize']) 'selected' => $this->getData(['theme', 'header', 'fontSize'])
]); ?> ]); ?>
</div> </div>
</div> <div class="col2">
<div class="row">
<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 class="col4"> <div class="col3">
<?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'])
]); ?> ]); ?>
</div> </div>
<div class="col4"> <div class="col2">
<?php echo template::select('themeHeaderTextAlign', $module::$aligns, [ <?php echo template::select('themeHeaderTextAlign', $module::$aligns, [
'label' => 'Alignement', 'label' => 'Alignement',
'selected' => $this->getData(['theme', 'header', 'textAlign']) 'selected' => $this->getData(['theme', 'header', 'textAlign'])

View File

@ -63,7 +63,7 @@
</div> </div>
<div class="col4"> <div class="col4">
<?php echo template::select('themeMenuTextAlign', $module::$aligns, [ <?php echo template::select('themeMenuTextAlign', $module::$aligns, [
'label' => 'Alignement du contenu', 'label' => 'Alignement',
'selected' => $this->getData(['theme', 'menu', 'textAlign']) 'selected' => $this->getData(['theme', 'menu', 'textAlign'])
]); ?> ]); ?>
</div> </div>
@ -184,29 +184,27 @@
<h4><?php echo helper::translate('Mise en forme du texte'); ?> <h4><?php echo helper::translate('Mise en forme du texte'); ?>
</h4> </h4>
<div class="row"> <div class="row">
<div class="col6"> <div class="col3">
<?php echo template::select('themeMenuFont', $module::$fonts['name'], [ <?php echo template::select('themeMenuFont', $module::$fonts['name'], [
'label' => 'Fonte', 'label' => 'Fonte',
'selected' => $this->getData(['theme', 'menu', 'font']), 'selected' => $this->getData(['theme', 'menu', 'font']),
'fonts' => $module::$fonts['family'] 'fonts' => $module::$fonts['family']
]); ?> ]); ?>
</div> </div>
<div class="col6"> <div class="col3">
<?php echo template::select('themeMenuFontSize', $module::$menuFontSizes, [ <?php echo template::select('themeMenuFontSize', $module::$menuFontSizes, [
'label' => 'Taille', 'label' => 'Taille',
'help' => 'Proportionnelle à la taille définie dans le site.', 'help' => 'Proportionnelle à la taille définie dans le site.',
'selected' => $this->getData(['theme', 'menu', 'fontSize']) 'selected' => $this->getData(['theme', 'menu', 'fontSize'])
]); ?> ]); ?>
</div> </div>
</div> <div class="col3">
<div class="row">
<div class="col6">
<?php echo template::select('themeMenuFontWeight', $module::$fontWeights, [ <?php echo template::select('themeMenuFontWeight', $module::$fontWeights, [
'label' => 'Style', 'label' => 'Style',
'selected' => $this->getData(['theme', 'menu', 'fontWeight']) 'selected' => $this->getData(['theme', 'menu', 'fontWeight'])
]); ?> ]); ?>
</div> </div>
<div class="col6"> <div class="col3">
<?php echo template::select('themeMenuTextTransform', $module::$textTransforms, [ <?php echo template::select('themeMenuTextTransform', $module::$textTransforms, [
'label' => 'Casse', 'label' => 'Casse',
'selected' => $this->getData(['theme', 'menu', 'textTransform']) 'selected' => $this->getData(['theme', 'menu', 'textTransform'])