Delete help buttons from theme

positions buttons
This commit is contained in:
Fred Tempez 2023-02-18 22:47:01 +01:00
parent 2f88ac9a7e
commit 0c65c0d11e
9 changed files with 70 additions and 85 deletions

View File

@ -8,12 +8,12 @@
]); ?> ]); ?>
</div> </div>
<div class="col1"> <div class="col1">
<?php echo template::button('themeBodyHelp', [ <?php /* echo template::button('themeBodyHelp', [
'href' => 'https://doc.zwiicms.fr/arriere-plan', 'href' => 'https://doc.zwiicms.fr/arriere-plan',
'target' => '_blank', 'target' => '_blank',
'value' => template::ico('help'), 'value' => template::ico('help'),
'class' => 'buttonHelp' 'class' => 'buttonHelp'
]); ?> ]); */ ?>
</div> </div>
<div class="col2 offset8"> <div class="col2 offset8">
<?php echo template::submit('themeBodySubmit'); ?> <?php echo template::submit('themeBodySubmit'); ?>

View File

@ -8,12 +8,12 @@
]); ?> ]); ?>
</div> </div>
<div class="col1"> <div class="col1">
<?php echo template::button('fontAddHelp', [ <?php /* echo template::button('fontAddHelp', [
'href' => 'https://doc.zwiicms.fr/fontes#add', 'href' => 'https://doc.zwiicms.fr/fontes#add',
'target' => '_blank', 'target' => '_blank',
'value' => template::ico('help'), 'value' => template::ico('help'),
'class' => 'buttonHelp' 'class' => 'buttonHelp'
]); ?> ]); */ ?>
</div> </div>
<div class="col2 offset8"> <div class="col2 offset8">
<?php echo template::submit('fontAddPublish', [ <?php echo template::submit('fontAddPublish', [

View File

@ -8,12 +8,12 @@
]); ?> ]); ?>
</div> </div>
<div class="col1"> <div class="col1">
<?php echo template::button('fontEditHelp', [ <?php /* echo template::button('fontEditHelp', [
'href' => 'https://doc.zwiicms.fr/fontes#add', 'href' => 'https://doc.zwiicms.fr/fontes#add',
'target' => '_blank', 'target' => '_blank',
'value' => template::ico('help'), 'value' => template::ico('help'),
'class' => 'buttonHelp' 'class' => 'buttonHelp'
]); ?> ]); */ ?>
</div> </div>
<div class="col2 offset8"> <div class="col2 offset8">
<?php echo template::submit('fontEditPublish', [ <?php echo template::submit('fontEditPublish', [

View File

@ -7,14 +7,14 @@
]); ?> ]); ?>
</div> </div>
<div class="col1"> <div class="col1">
<?php echo template::button('pageEditHelp', [ <?php /* echo template::button('pageEditHelp', [
'href' => 'https://doc.zwiicms.fr/fontes', 'href' => 'https://doc.zwiicms.fr/fontes',
'target' => '_blank', 'target' => '_blank',
'value' => template::ico('help'), 'value' => template::ico('help'),
'class' => 'buttonHelp' 'class' => 'buttonHelp'
]); ?> ]); */ ?>
</div> </div>
<div class="col2 offset8"> <div class="col1 offset9">
<?php echo template::button('themeFontAdd', [ <?php echo template::button('themeFontAdd', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/fontAdd', 'href' => helper::baseUrl() . $this->getUrl(0) . '/fontAdd',
'value' => template::ico('plus'), 'value' => template::ico('plus'),

View File

@ -8,12 +8,12 @@
]); ?> ]); ?>
</div> </div>
<div class="col1"> <div class="col1">
<?php echo template::button('themeFooterHelp', [ <?php /* echo template::button('themeFooterHelp', [
'href' => 'https://doc.zwiicms.fr/pied-de-page', 'href' => 'https://doc.zwiicms.fr/pied-de-page',
'target' => '_blank', 'target' => '_blank',
'value' => template::ico('help'), 'value' => template::ico('help'),
'class' => 'buttonHelp' 'class' => 'buttonHelp'
]); ?> ]); */ ?>
</div> </div>
<div class="col2 offset8"> <div class="col2 offset8">
<?php echo template::submit('themeFooterSubmit'); ?> <?php echo template::submit('themeFooterSubmit'); ?>

View File

@ -8,12 +8,12 @@
]); ?> ]); ?>
</div> </div>
<div class="col1"> <div class="col1">
<?php echo template::button('themeHeaderHelp', [ <?php /* echo template::button('themeHeaderHelp', [
'href' => 'https://doc.zwiicms.fr/banniere', 'href' => 'https://doc.zwiicms.fr/banniere',
'target' => '_blank', 'target' => '_blank',
'value' => template::ico('help'), 'value' => template::ico('help'),
'class' => 'buttonHelp' 'class' => 'buttonHelp'
]); ?> ]); */?>
</div> </div>
<div class="col2 offset8"> <div class="col2 offset8">
<?php echo template::submit('themeHeaderSubmit'); ?> <?php echo template::submit('themeHeaderSubmit'); ?>

View File

@ -5,104 +5,73 @@
): ?> ): ?>
<?php echo template::speech('Cliquez sur une zone afin d\'accéder à ses options de personnalisation. Vous pouvez également afficher les zones cachées à l\'aide du bouton ci-dessous.'); ?> <?php echo template::speech('Cliquez sur une zone afin d\'accéder à ses options de personnalisation. Vous pouvez également afficher les zones cachées à l\'aide du bouton ci-dessous.'); ?>
<div class="row"> <div class="row">
<div class="col2 offset3"> <div class="col4 offset4">
<?php echo template::button('themeBack', [ <?php echo template::button('themeBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl(false), 'href' => helper::baseUrl(false),
'ico' => 'home', 'ico' => 'home',
'value' => 'Accueil' 'value' => 'Accueil'
]); ?> ]); ?>
</div> </div>
<div class="col2"> </div>
<?php echo template::button('themeHelp', [ <div class="row">
'href' => 'https://doc.zwiicms.fr/gestion-du-theme', <div class="col2 offset4">
'target' => '_blank', <?php echo template::button('themeFonts', [
'ico' => 'help', 'ico' => 'font',
'value' => 'Aide', 'href' => helper::baseUrl() . $this->getUrl(0) . '/fonts',
'class' => 'buttonHelp' 'value' => 'Fontes'
]); ?> ]); ?>
</div> </div>
<div class="col2"> <div class="col2">
<?php echo template::button('themeAdvanced', [
'ico' => 'code',
'href' => helper::baseUrl() . $this->getUrl(0) . '/advanced',
'value' => 'Éditeur CSS'
]); ?>
</div>
</div>
<div class="row">
<div class="col2 offset4">
<?php echo template::button('themeAdmin', [
'ico' => 'brush',
'href' => helper::baseUrl() . $this->getUrl(0) . '/admin',
'value' => 'Administration'
]); ?>
</div>
<div class="col2">
<?php echo template::button('themeManage', [
'ico' => 'sliders',
'href' => helper::baseUrl() . $this->getUrl(0) . '/manage',
'value' => 'Gestion'
]); ?>
</div>
</div>
<div class="row">
<div class="col4 offset4">
<?php echo template::button('themeShowAll', [ <?php echo template::button('themeShowAll', [
'ico' => 'eye', 'ico' => 'eye',
'value' => 'Zones cachées' 'value' => 'Zones cachées'
]); ?> ]); ?>
</div> </div>
</div> </div>
<div class="row">
<div class="col2 offset2">
<?php echo template::button('themeFonts', [
'ico' => 'font',
'href' => helper::baseUrl() . $this->getUrl(0) . '/fonts',
'value' => 'Fontes'
]); ?>
</div>
<div class="col2">
<?php echo template::button('themeManage', [
'ico' => 'sliders',
'href' => helper::baseUrl() . $this->getUrl(0) . '/manage',
'value' => 'Gestion'
]); ?>
</div>
<div class="col2">
<?php echo template::button('themeAdmin', [
'ico' => 'brush',
'href' => helper::baseUrl() . $this->getUrl(0) . '/admin',
'value' => 'Administration'
]); ?>
</div>
<div class="col2">
<?php echo template::button('themeAdvanced', [
'ico' => 'code',
'href' => helper::baseUrl() . $this->getUrl(0) . '/advanced',
'value' => 'Éditeur CSS'
]); ?>
</div>
</div>
<?php else: ?> <?php else: ?>
<?php echo template::speech('Cliquez sur une zone afin d\'accéder à ses options de personnalisation.'); ?> <?php echo template::speech('Cliquez sur une zone afin d\'accéder à ses options de personnalisation.'); ?>
<div class="row"> <div class="row">
<div class="col2 offset4"> <div class="col4 offset4">
<?php echo template::button('themeBack', [ <?php echo template::button('themeBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl(false), 'href' => helper::baseUrl(false),
'ico' => 'home', 'ico' => 'home',
'value' => 'Accueil' 'value' => 'Accueil'
]); ?> ]); ?>
</div> </div>
<div class="col2">
<?php echo template::button('themeHelp', [
'href' => 'https://doc.zwiicms.fr/gestion-du-theme',
'target' => '_blank',
'ico' => 'help',
'value' => 'Aide',
'class' => 'buttonHelp'
]); ?>
</div>
</div> </div>
<div class="row"> <div class="row">
<div class="col2 offset2"> <div class="col2 offset4">
<?php echo template::button('themeFonts', [ <?php echo template::button('themeFonts', [
'ico' => 'font', 'ico' => 'font',
'href' => helper::baseUrl() . $this->getUrl(0) . '/fonts', 'href' => helper::baseUrl() . $this->getUrl(0) . '/fonts',
'value' => 'Fontes' 'value' => 'Fontes'
]); ?> ]); ?>
</div> </div>
<div class="col2">
<?php echo template::button('themeManage', [
'ico' => 'sliders',
'href' => helper::baseUrl() . $this->getUrl(0) . '/manage',
'value' => 'Gestion'
]); ?>
</div>
<div class="col2">
<?php echo template::button('themeAdmin', [
'ico' => 'brush',
'href' => helper::baseUrl() . $this->getUrl(0) . '/admin',
'value' => 'Administration'
]); ?>
</div>
<div class="col2"> <div class="col2">
<?php echo template::button('themeAdvanced', [ <?php echo template::button('themeAdvanced', [
'ico' => 'code', 'ico' => 'code',
@ -111,4 +80,20 @@
]); ?> ]); ?>
</div> </div>
</div> </div>
<div class="row">
<div class="col2 offset4">
<?php echo template::button('themeAdmin', [
'ico' => 'brush',
'href' => helper::baseUrl() . $this->getUrl(0) . '/admin',
'value' => 'Administration'
]); ?>
</div>
<div class="col2">
<?php echo template::button('themeManage', [
'ico' => 'sliders',
'href' => helper::baseUrl() . $this->getUrl(0) . '/manage',
'value' => 'Gestion'
]); ?>
</div>
</div>
<?php endif; ?> <?php endif; ?>

View File

@ -8,12 +8,12 @@
]); ?> ]); ?>
</div> </div>
<div class="col1"> <div class="col1">
<?php echo template::button('themeMenuHelp', [ <?php /* echo template::button('themeMenuHelp', [
'href' => 'https://doc.zwiicms.fr/menu', 'href' => 'https://doc.zwiicms.fr/menu',
'target' => '_blank', 'target' => '_blank',
'value' => template::ico('help'), 'value' => template::ico('help'),
'class' => 'buttonHelp' 'class' => 'buttonHelp'
]); ?> ]); */?>
</div> </div>
<div class="col2 offset8"> <div class="col2 offset8">
<?php echo template::submit('themeMenuSubmit'); ?> <?php echo template::submit('themeMenuSubmit'); ?>

View File

@ -8,12 +8,12 @@
]); ?> ]); ?>
</div> </div>
<div class="col1"> <div class="col1">
<?php echo template::button('themeSiteHelp', [ <?php /* echo template::button('themeSiteHelp', [
'href' => 'https://doc.zwiicms.fr/site61863d315ffe0', 'href' => 'https://doc.zwiicms.fr/site61863d315ffe0',
'target' => '_blank', 'target' => '_blank',
'value' => template::ico('help'), 'value' => template::ico('help'),
'class' => 'buttonHelp' 'class' => 'buttonHelp'
]); ?> ]); */ ?>
</div> </div>
<div class="col2 offset8"> <div class="col2 offset8">
<?php echo template::submit('themeSiteSubmit'); ?> <?php echo template::submit('themeSiteSubmit'); ?>