1.4.24 icones de l'inscription et de la désincription de masse

This commit is contained in:
Fred Tempez 2024-02-10 19:23:18 +01:00
parent 6da8223209
commit cc92c90403
6 changed files with 42 additions and 16 deletions

View File

@ -51,7 +51,7 @@ class common
const ACCESS_TIMER = 1800;
// Numéro de version
const ZWII_VERSION = '1.4.23';
const ZWII_VERSION = '1.4.24';
// URL autoupdate
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/campus-update/raw/branch/master/';

View File

@ -16,3 +16,11 @@
/** NE PAS EFFACER
* admin.css
*/
#courseUserAddSelectAll {
color: lightgreen;
}
#courseUserAddSelectNone {
color: lightcoral;
}

View File

@ -7,19 +7,22 @@
'value' => template::ico('left')
]); ?>
</div>
<div class="col1 offset7">
<div class="col1 offset8">
<?php echo template::button('courseUserAddSelectAll', [
'value' => 'Tout'
'value' => template::ico('check'),
'help' => 'Tout sélectionner'
]); ?>
</div>
<div class="col1">
<?php echo template::button('courseUserAddSelectNone', [
'value' => 'Aucun'
'value' => template::ico('cancel'),
'help' => 'Tout désélectionner'
]); ?>
</div>
<div class="col2">
<div class="col1">
<?php echo template::submit('courseUsersAddSubmit', [
'value' => 'Inscrire'
'value' => '',
'ico' => 'plus',
]); ?>
</div>
</div>

View File

@ -16,3 +16,15 @@
/** NE PAS EFFACER
* admin.css
*/
#courseUsersDeleteSubmit {
background-color: rgba(217, 95, 78, 1);
}
#courseUserDeleteSelectAll {
color: lightgreen;
}
#courseUserDeleteSelectNone {
color: lightcoral;
}

View File

@ -7,20 +7,23 @@
'value' => template::ico('left')
]); ?>
</div>
<div class="col1 offset7">
<div class="col1 offset8">
<?php echo template::button('courseUserDeleteSelectAll', [
'value' => 'Tout'
'value' => template::ico('check'),
'help' => 'Tout sélectionner'
]); ?>
</div>
<div class="col1">
<?php echo template::button('courseUserDeleteSelectNone', [
'value' => 'Aucun'
'value' => template::ico('cancel'),
'help' => 'Tout désélectionner'
]); ?>
</div>
<div class="col2">
<div class="col1">
<?php echo template::submit('courseUsersDeleteSubmit', [
'class' => 'buttonRed',
'value' => 'Désinscrire'
'ico' => '',
'value' => template::ico('minus'),
]); ?>
</div>
</div>