60 lines
1.8 KiB
PHP
60 lines
1.8 KiB
PHP
|
<?php echo template::formOpen('agendaAddForm'); ?>
|
||
|
<div class="row">
|
||
|
<div class="col1">
|
||
|
<?php echo template::button('agendaAddBack', [
|
||
|
'class' => 'buttonGrey',
|
||
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
|
||
|
'value' => template::ico('left')
|
||
|
]); ?>
|
||
|
</div>
|
||
|
<div class="col2 offset9">
|
||
|
<?php echo template::submit('agendaAddSubmit'); ?>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<div class="col12">
|
||
|
<div class="block">
|
||
|
<h4><?php echo helper::translate('Paramètres'); ?></h4>
|
||
|
<div class="row">
|
||
|
<div class="col4">
|
||
|
<?php echo template::text('agendaAddEventName', [
|
||
|
'label' => 'Titre',
|
||
|
]); ?>
|
||
|
</div>
|
||
|
<div class="col4">
|
||
|
<?php echo template::date('agendaAddDate', [
|
||
|
'label' => 'Date',
|
||
|
'type' => 'date',
|
||
|
]); ?>
|
||
|
</div>
|
||
|
<div class="col4">
|
||
|
<?php echo template::text('agendaAddDateColor', [
|
||
|
'class' => 'colorPicker',
|
||
|
'help' => 'A ne paramétrer que sur un seul événement du jour. Le curseur horizontal règle le niveau de transparence.',
|
||
|
'label' => 'Couleur de la date du jour',
|
||
|
]); ?>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<div class="col4">
|
||
|
<?php echo template::checkbox('agendaAddAllDay', true, 'Toute la journée', [
|
||
|
'checked' => false
|
||
|
]); ?>
|
||
|
</div>
|
||
|
<div class="col4">
|
||
|
<?php echo template::date('agendaAddTime', [
|
||
|
'label' => 'Horaire',
|
||
|
'type' => 'time',
|
||
|
'help' => 'Ne pas indiquer d\'horaire quand l\'événement est sur la journée entière.',
|
||
|
]); ?>
|
||
|
</div>
|
||
|
<div class="col4">
|
||
|
<?php echo template::select('agendaAddDateClassName', $module::$classes, [
|
||
|
'label' => 'Classe CSS',
|
||
|
'help' => 'La feuille de style de la page contient ces classes.',
|
||
|
]); ?>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<?php echo template::formClose(); ?>
|