petites modifs ergonomie
This commit is contained in:
parent
25aea3bfca
commit
04d953747a
@ -226,7 +226,7 @@ class plugin extends common {
|
||||
$state = $this->install(self::FILE_DIR.'source/'.$zipFilename, $checkValidMaj);
|
||||
}
|
||||
$this->addOutput([
|
||||
'redirect' => helper::baseUrl() . $this->getUrl(),
|
||||
'redirect' => helper::baseUrl() . 'plugin',
|
||||
'notification' => $state['notification'],
|
||||
'state' => $state['success']
|
||||
]);
|
||||
@ -310,7 +310,7 @@ class plugin extends common {
|
||||
// Module non installé
|
||||
$ico = template::ico('download');
|
||||
$class = '';
|
||||
$help = 'Installer le module';
|
||||
$help = 'Télécharger le module';
|
||||
// Le module est installé
|
||||
if (array_key_exists($key,$infoModules) === true) {
|
||||
$class = 'buttonGreen';
|
||||
@ -494,7 +494,7 @@ class plugin extends common {
|
||||
|
||||
// Valeurs en sortie
|
||||
$this->addOutput([
|
||||
'title' => 'Gestion des modules installés',
|
||||
'title' => 'Gestion des modules',
|
||||
'view' => 'index'
|
||||
]);
|
||||
}
|
||||
|
@ -15,13 +15,6 @@
|
||||
'help' => 'Consulter l\'aide en ligne'
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col1 offset9">
|
||||
<?php echo template::button('configModulesStore', [
|
||||
'href' => helper::baseUrl() . 'plugin/store',
|
||||
'value' => template::ico('shopping-basket'),
|
||||
"help" => 'Catalogue de modules en ligne'
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
@ -41,6 +34,27 @@
|
||||
</div>
|
||||
</div>
|
||||
<div id="manageModules">
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<div class="block">
|
||||
<h4>Installation / mise à jour d'un module</h4>
|
||||
<div class="row textAlignCenter">
|
||||
<div class="col4">
|
||||
<?php echo template::button('configModulesStore', [
|
||||
'href' => helper::baseUrl() . 'plugin/store',
|
||||
'value' => template::ico('shopping-basket') . ' Catalogue en ligne'
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<?php echo template::button('configStoreUpload', [
|
||||
'href' => helper::baseUrl() . 'plugin/upload',
|
||||
'value' => template::ico('upload') . ' Depuis une archive ZIP'
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php if($module::$modulesInstalled): ?>
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
@ -69,7 +83,7 @@
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<div class="block">
|
||||
<h4>Données des modules installés</h4>
|
||||
<h4>Modules configurés <?php echo template::flag( self::$i18n, '20px'); ?> </h4>
|
||||
<div class="row">
|
||||
<div class="col1 offset11">
|
||||
<?php echo template::button('configModuledataImport', [
|
||||
@ -81,7 +95,7 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<?php echo template::table([2, 2, 1, 5, 1, 1], $module::$modulesData, [ 'Modules', 'moduleId', 'Versions', 'Pages ' . template::flag( self::$i18n, '15px') . ' (pageId)', '', '']); ?>
|
||||
<?php echo template::table([2, 2, 1, 5, 1, 1], $module::$modulesData, [ 'Modules', 'moduleId', 'Versions', 'Pages (pageId)', '', '']); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -6,16 +6,9 @@
|
||||
'value' => template::ico('left')
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col1 offset10">
|
||||
<?php echo template::button('configStoreUpload', [
|
||||
'href' => helper::baseUrl() . 'plugin/upload',
|
||||
'value' => template::ico('plus'),
|
||||
"help" => 'Importer depuis une archive ZIP'
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if($module::$storeList): ?>
|
||||
<?php echo template::table([2, 2, 1, 2, 2, 2, 1], $module::$storeList, ['Catégorie', 'Module', 'Version', 'Date', 'Pages', 'Obtenir']); ?>
|
||||
<?php echo template::table([2, 2, 1, 2, 2, 1], $module::$storeList, ['Catégorie', 'Module', 'Version', 'Date', 'Pages', '']); ?>
|
||||
<?php else: ?>
|
||||
<?php echo template::speech('Le catalogue est vide.'); ?>
|
||||
<?php endif; ?>
|
Loading…
Reference in New Issue
Block a user