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",
"Grande (220%)": "Grande (220%)",
"Grande (300px)": "Grande (300px)",
"Gras": "Gras",
"Gras": "Bold",
"Groupe": "Group",
"Groupe requis pour accéder à la page :": "Group required to access the page:",
"Groupes": "",

View File

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

View File

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

View File

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