Boutons courts dans les modules
This commit is contained in:
parent
a7e287b74c
commit
16d848f884
@ -502,7 +502,7 @@ class blog extends common {
|
|||||||
} else {
|
} else {
|
||||||
// Valeurs en sortie
|
// Valeurs en sortie
|
||||||
$this->addOutput([
|
$this->addOutput([
|
||||||
'title' => 'Mise en page',
|
'title' => 'Options de configuration',
|
||||||
'view' => 'option'
|
'view' => 'option'
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
@ -1,17 +1,16 @@
|
|||||||
<?php echo template::formOpen('blogAddForm'); ?>
|
<?php echo template::formOpen('blogAddForm'); ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col2">
|
<div class="col1">
|
||||||
<?php echo template::button('blogAddBack', [
|
<?php echo template::button('blogAddBack', [
|
||||||
'class' => 'buttonGrey',
|
'class' => 'buttonGrey',
|
||||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
|
||||||
'ico' => 'left',
|
'value' => template::ico('left')
|
||||||
'value' => 'Retour'
|
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col3 offset5">
|
<div class="col2 offset7">
|
||||||
<?php echo template::button('blogAddDraft', [
|
<?php echo template::button('blogAddDraft', [
|
||||||
'uniqueSubmission' => true,
|
'uniqueSubmission' => true,
|
||||||
'value' => 'Enregistrer en brouillon'
|
'value' => 'Brouillon'
|
||||||
]); ?>
|
]); ?>
|
||||||
<?php echo template::hidden('blogAddState', [
|
<?php echo template::hidden('blogAddState', [
|
||||||
'value' => true
|
'value' => true
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
<?php echo template::formOpen('blogConfig'); ?>
|
<?php echo template::formOpen('blogConfig'); ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col2">
|
<div class="col1">
|
||||||
<?php echo template::button('blogConfigBack', [
|
<?php echo template::button('blogConfigBack', [
|
||||||
'class' => 'buttonGrey',
|
'class' => 'buttonGrey',
|
||||||
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0), 'posts',
|
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0), 'posts',
|
||||||
'ico' => 'left',
|
'value' => template::ico('left')
|
||||||
'value' => 'Retour'
|
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col1 offset8">
|
<div class="col1 offset9">
|
||||||
<?php echo template::button('blogConfigOption', [
|
<?php echo template::button('blogConfigOption', [
|
||||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/option',
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/option',
|
||||||
'value' => template::ico('cogs')
|
'value' => template::ico('cogs')
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
<?php echo template::formOpen('blogOption'); ?>
|
<?php echo template::formOpen('blogOption'); ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col2">
|
<div class="col1">
|
||||||
<?php echo template::button('blogOptionBack', [
|
<?php echo template::button('blogOptionBack', [
|
||||||
'class' => 'buttonGrey',
|
'class' => 'buttonGrey',
|
||||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
|
||||||
'ico' => 'left',
|
'value' => template::ico('left')
|
||||||
'value' => 'Retour'
|
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col2 offset8">
|
<div class="col2 offset9">
|
||||||
<?php echo template::submit('blogOptionSubmit'); ?>
|
<?php echo template::submit('blogOptionSubmit'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -208,7 +208,7 @@ class form extends common {
|
|||||||
}
|
}
|
||||||
// Valeurs en sortie
|
// Valeurs en sortie
|
||||||
$this->addOutput([
|
$this->addOutput([
|
||||||
'title' => 'Paramètres',
|
'title' => 'Options de configuration',
|
||||||
'vendor' => [
|
'vendor' => [
|
||||||
'html-sortable',
|
'html-sortable',
|
||||||
'flatpickr'
|
'flatpickr'
|
||||||
|
@ -50,15 +50,14 @@
|
|||||||
</div>
|
</div>
|
||||||
<?php echo template::formOpen('formConfigForm'); ?>
|
<?php echo template::formOpen('formConfigForm'); ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col2">
|
<div class="col1">
|
||||||
<?php echo template::button('formConfigBack', [
|
<?php echo template::button('formConfigBack', [
|
||||||
'class' => 'buttonGrey',
|
'class' => 'buttonGrey',
|
||||||
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),
|
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),
|
||||||
'ico' => 'left',
|
'value' => template::ico('left')
|
||||||
'value' => 'Retour'
|
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col1 offset6">
|
<div class="col1 offset7">
|
||||||
<?php echo template::button('formConfigData', [
|
<?php echo template::button('formConfigData', [
|
||||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/data',
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/data',
|
||||||
'value' => template::ico('code')
|
'value' => template::ico('code')
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
<?php echo template::formOpen('galleryConfigForm'); ?>
|
<?php echo template::formOpen('galleryConfigForm'); ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col2">
|
<div class="col1">
|
||||||
<?php echo template::button('galleryConfigBack', [
|
<?php echo template::button('galleryConfigBack', [
|
||||||
'class' => 'buttonGrey',
|
'class' => 'buttonGrey',
|
||||||
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),
|
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),
|
||||||
'ico' => 'left',
|
'value' => template::ico('left')
|
||||||
'value' => 'Retour'
|
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col1 offset9">
|
<div class="col1 offset10">
|
||||||
<?php echo template::button('galleryConfigBack', [
|
<?php echo template::button('galleryConfigBack', [
|
||||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/theme/' . $_SESSION['csrf'],
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/theme/' . $_SESSION['csrf'],
|
||||||
'value' => template::ico('brush')
|
'value' => template::ico('brush')
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
<?php echo template::formOpen('galleryEditForm'); ?>
|
<?php echo template::formOpen('galleryEditForm'); ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col2">
|
<div class="col1">
|
||||||
<?php echo template::button('galleryEditBack', [
|
<?php echo template::button('galleryEditBack', [
|
||||||
'class' => 'buttonGrey',
|
'class' => 'buttonGrey',
|
||||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
|
||||||
'ico' => 'left',
|
'value' => template::ico('left')
|
||||||
'value' => 'Retour'
|
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col2 offset8">
|
<div class="col2 offset9">
|
||||||
<?php echo template::submit('galleryEditSubmit'); ?>
|
<?php echo template::submit('galleryEditSubmit'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -290,7 +290,7 @@ class news extends common {
|
|||||||
} else {
|
} else {
|
||||||
// Valeurs en sortie
|
// Valeurs en sortie
|
||||||
$this->addOutput([
|
$this->addOutput([
|
||||||
'title' => 'Mise en page',
|
'title' => 'Options de configuration',
|
||||||
'view' => 'option',
|
'view' => 'option',
|
||||||
'vendor' => [
|
'vendor' => [
|
||||||
'tinycolorpicker'
|
'tinycolorpicker'
|
||||||
|
@ -1,17 +1,16 @@
|
|||||||
<?php echo template::formOpen('newsAddForm'); ?>
|
<?php echo template::formOpen('newsAddForm'); ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col2">
|
<div class="col1">
|
||||||
<?php echo template::button('newsAddBack', [
|
<?php echo template::button('newsAddBack', [
|
||||||
'class' => 'buttonGrey',
|
'class' => 'buttonGrey',
|
||||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
|
||||||
'ico' => 'left',
|
'value' => template::ico('left')
|
||||||
'value' => 'Retour'
|
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col3 offset5">
|
<div class="col2 offset7">
|
||||||
<?php echo template::button('newsAddDraft', [
|
<?php echo template::button('newsAddDraft', [
|
||||||
'uniqueSubmission' => true,
|
'uniqueSubmission' => true,
|
||||||
'value' => 'Enregistrer en brouillon'
|
'value' => 'Brouillon'
|
||||||
]); ?>
|
]); ?>
|
||||||
<?php echo template::hidden('newsAddState', [
|
<?php echo template::hidden('newsAddState', [
|
||||||
'value' => true
|
'value' => true
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
<?php echo template::formOpen('newsConfig'); ?>
|
<?php echo template::formOpen('newsConfig'); ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col2">
|
<div class="col1">
|
||||||
<?php echo template::button('newsConfigBack', [
|
<?php echo template::button('newsConfigBack', [
|
||||||
'class' => 'buttonGrey',
|
'class' => 'buttonGrey',
|
||||||
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),'posts',
|
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),'posts',
|
||||||
'ico' => 'left',
|
'value' => template::ico('left')
|
||||||
'value' => 'Retour'
|
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col1 offset8">
|
<div class="col1 offset9">
|
||||||
<?php echo template::button('newsConfigAdd', [
|
<?php echo template::button('newsConfigAdd', [
|
||||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/add',
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/add',
|
||||||
'value' => template::ico('plus')
|
'value' => template::ico('plus')
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
<?php echo template::formOpen('newsOption'); ?>
|
<?php echo template::formOpen('newsOption'); ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col2">
|
<div class="col1">
|
||||||
<?php echo template::button('newsOptionBack', [
|
<?php echo template::button('newsOptionBack', [
|
||||||
'class' => 'buttonGrey',
|
'class' => 'buttonGrey',
|
||||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
|
||||||
'ico' => 'left',
|
'value' => template::ico('left')
|
||||||
'value' => 'Retour'
|
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col2 offset8">
|
<div class="col2 offset9">
|
||||||
<?php echo template::submit('newsOptionSubmit'); ?>
|
<?php echo template::submit('newsOptionSubmit'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
<?php echo template::formOpen('redirectionConfig'); ?>
|
<?php echo template::formOpen('redirectionConfig'); ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col2">
|
<div class="col1">
|
||||||
<?php echo template::button('redirectionConfigBack', [
|
<?php echo template::button('redirectionConfigBack', [
|
||||||
'class' => 'buttonGrey',
|
'class' => 'buttonGrey',
|
||||||
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),
|
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),
|
||||||
'ico' => 'left',
|
'value' => template::ico('left')
|
||||||
'value' => 'Retour'
|
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col2 offset8">
|
<div class="col2 offset9">
|
||||||
<?php echo template::submit('redirectionConfigSubmit'); ?>
|
<?php echo template::submit('redirectionConfigSubmit'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
<?php echo template::formOpen('searchConfig'); ?>
|
<?php echo template::formOpen('searchConfig'); ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col2">
|
<div class="col1">
|
||||||
<?php echo template::button('searchConfigBack', [
|
<?php echo template::button('searchConfigBack', [
|
||||||
'class' => 'buttonGrey',
|
'class' => 'buttonGrey',
|
||||||
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),
|
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),
|
||||||
'ico' => 'left',
|
'value' => template::ico('left')
|
||||||
'value' => 'Retour'
|
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col2 offset8">
|
<div class="col2 offset9">
|
||||||
<?php echo template::submit('searchConfigSubmit'); ?>
|
<?php echo template::submit('searchConfigSubmit'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user