|9.1.0.0] Icônes thème et diverses

This commit is contained in:
Prof Langues 2019-05-03 10:39:43 +02:00
parent affc54b2a5
commit a75d3af0ce
3 changed files with 9 additions and 9 deletions

View File

@ -2266,7 +2266,7 @@ class layout extends common {
if($this->getUser('group') >= self::GROUP_ADMIN) {
$rightItems .= '<li><a href="' . helper::baseUrl() . 'user" data-tippy-content="Configurer les utilisateurs">' . template::ico('users') . '</a></li>';
$rightItems .= '<li><a href="' . helper::baseUrl() . 'theme" data-tippy-content="Personnaliser le thème">' . template::ico('brush') . '</a></li>';
$rightItems .= '<li><a href="' . helper::baseUrl() . 'config" data-tippy-content="Configurer le site">' . template::ico('gear') . '</a></li>';
$rightItems .= '<li><a href="' . helper::baseUrl() . 'config" data-tippy-content="Configurer le site">' . template::ico('cog-alt') . '</a></li>';
// Mise à jour automatique
if(helper::checkNewVersion() ) {
$rightItems .= '<li><a id="barUpdate" href="' . helper::baseUrl() . 'install/update" data-tippy-content="Mettre à jour Zwii '. common::ZWII_VERSION .' vers '. helper::getOnlineVersion() .'">' . template::ico('update colorRed') . '</a></li>';
@ -2648,7 +2648,7 @@ class template {
%s
data-lity
>
' . self::ico('download', 'right') . '
' . self::ico('upload', 'right') . '
<span class="inputFileLabel"></span>
</a>',
$attributes['class'],

View File

@ -15,8 +15,8 @@
</div>
<div class="col2">
<?php echo template::button('themeManage', [
'ico' => 'upload',
'href' => helper::baseUrl() . $this->getUrl(0) . '/manage',
'ico' => 'download',
'value' => 'Thèmes'
]); ?>
</div>
@ -48,7 +48,7 @@
<div class="col2">
<?php echo template::button('themeManage', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/manage',
'ico' => 'download',
'ico' => 'upload',
'value' => 'Thèmes'
]); ?>
</div>

View File

@ -12,10 +12,10 @@
<div class="row">
<div class="col6">
<div class="block">
<h4>Importer</h4>
<h4>Importer un thème</h4>
<?php echo template::file('themeManageImport', [
'label' => 'Archive',
'type' => 2
'label' => 'Archive ZIP',
'type' => 2,
]); ?>
<div class="col5 offset3">
<?php echo template::submit('themeImportSubmit', [
@ -26,12 +26,12 @@
</div>
<div class="col6">
<div class="block">
<h4>Exporter</h4>
<h4>Exporter un thème</h4>
<div class="row">
<div class="col5 offset1">
<?php echo template::button('themeSave', [
'href' => helper::baseUrl() . 'theme/save',
'ico' => 'download',
'ico' => 'download-cloud',
'value' => 'Sauvegarder'
]); ?>
</div>