Index du thème

This commit is contained in:
Fred Tempez 2021-11-10 09:58:11 +01:00
parent 51fdad314a
commit af0f00744a
2 changed files with 58 additions and 61 deletions

View File

@ -36,7 +36,8 @@ nav li ul {
} }
#themeShowAll, #themeShowAll,
#themeBack, #themeHelp,
#themeBack,
#themeManage, #themeManage,
#themeAdmin, #themeAdmin,
#themeAdvanced { #themeAdvanced {

View File

@ -5,7 +5,7 @@
): ?> ): ?>
<?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="col3 offset3"> <div class="col2 offset3">
<?php echo template::button('themeBack', [ <?php echo template::button('themeBack', [
'class' => 'buttonGrey', 'class' => 'buttonGrey',
'href' => helper::baseUrl(false), 'href' => helper::baseUrl(false),
@ -13,32 +13,16 @@
'value' => 'Accueil' 'value' => 'Accueil'
]); ?> ]); ?>
</div> </div>
<div class="col3"> <div class="col2">
<?php echo template::button('themeAdmin', [ <?php echo template::button('themeHelp', [
'ico' => 'brush', 'href' => 'https://doc.zwiicms.fr/theme-2',
'href' => helper::baseUrl() . $this->getUrl(0) . '/admin', 'target' => '_blank',
'value' => 'Administration' 'ico' => 'help',
'value' => 'Aide',
'class' => 'buttonHelp'
]); ?> ]); ?>
</div> </div>
</div> <div class="col2">
<div class="row">
<div class="col3 offset3">
<?php echo template::button('themeManage', [
'ico' => 'cogs',
'href' => helper::baseUrl() . $this->getUrl(0) . '/manage',
'value' => 'Gestion'
]); ?>
</div>
<div class="col3">
<?php echo template::button('themeAdvanced', [
'ico' => 'code',
'href' => helper::baseUrl() . $this->getUrl(0) . '/advanced',
'value' => 'Éditeur CSS'
]); ?>
</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'
@ -46,20 +30,33 @@
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col2 offset5"> <div class="col2 offset3">
<?php echo template::button('themeBack', [ <?php echo template::button('themeManage', [
'href' => 'https://doc.zwiicms.fr/theme-2', 'ico' => 'cogs',
'target' => '_blank', 'href' => helper::baseUrl() . $this->getUrl(0) . '/manage',
'ico' => 'help', 'value' => 'Gestion'
'value' => 'Aide', ]); ?>
'class' => 'buttonHelp' </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>
</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="col3 offset3"> <div class="col2 offset4">
<?php echo template::button('themeBack', [ <?php echo template::button('themeBack', [
'class' => 'buttonGrey', 'class' => 'buttonGrey',
'href' => helper::baseUrl(false), 'href' => helper::baseUrl(false),
@ -67,33 +64,8 @@
'value' => 'Accueil' 'value' => 'Accueil'
]); ?> ]); ?>
</div> </div>
<div class="col3"> <div class="col2">
<?php echo template::button('themeAdmin', [ <?php echo template::button('themeHelp', [
'ico' => 'brush',
'href' => helper::baseUrl() . $this->getUrl(0) . '/admin',
'value' => 'Administration'
]); ?>
</div>
</div>
<div class="row">
<div class="col3 offset3">
<?php echo template::button('themeManage', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/manage',
'ico' => 'cogs',
'value' => 'Gestion'
]); ?>
</div>
<div class="col3">
<?php echo template::button('themeAdvanced', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/advanced',
'value' => 'Éditeur CSS',
'ico' => 'code'
]); ?>
</div>
</div>
<div class="row">
<div class="col2 offset5">
<?php echo template::button('themeBack', [
'href' => 'https://doc.zwiicms.fr/theme-2', 'href' => 'https://doc.zwiicms.fr/theme-2',
'target' => '_blank', 'target' => '_blank',
'ico' => 'help', 'ico' => 'help',
@ -102,4 +74,28 @@
]); ?> ]); ?>
</div> </div>
</div> </div>
<div class="row">
<div class="col2 offset3">
<?php echo template::button('themeManage', [
'ico' => 'cogs',
'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 endif; ?> <?php endif; ?>