diff --git a/core/core.php b/core/core.php index 2d480e1..44a25d6 100644 --- a/core/core.php +++ b/core/core.php @@ -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/'; diff --git a/core/module/course/view/usersAdd/usersAdd.css b/core/module/course/view/usersAdd/usersAdd.css index b6eeb0e..bf7a886 100644 --- a/core/module/course/view/usersAdd/usersAdd.css +++ b/core/module/course/view/usersAdd/usersAdd.css @@ -15,4 +15,12 @@ /** NE PAS EFFACER * admin.css -*/ \ No newline at end of file +*/ + +#courseUserAddSelectAll { + color: lightgreen; +} + +#courseUserAddSelectNone { + color: lightcoral; +} \ No newline at end of file diff --git a/core/module/course/view/usersAdd/usersAdd.php b/core/module/course/view/usersAdd/usersAdd.php index a9c18f8..fd157de 100644 --- a/core/module/course/view/usersAdd/usersAdd.php +++ b/core/module/course/view/usersAdd/usersAdd.php @@ -7,19 +7,22 @@ 'value' => template::ico('left') ]); ?> -
+
'Tout' + 'value' => template::ico('check'), + 'help' => 'Tout sélectionner' ]); ?>
'Aucun' + 'value' => template::ico('cancel'), + 'help' => 'Tout désélectionner' ]); ?>
-
+
'Inscrire' + 'value' => '', + 'ico' => 'plus', ]); ?>
diff --git a/core/module/course/view/usersDelete/usersDelete.css b/core/module/course/view/usersDelete/usersDelete.css index b6eeb0e..198551e 100644 --- a/core/module/course/view/usersDelete/usersDelete.css +++ b/core/module/course/view/usersDelete/usersDelete.css @@ -15,4 +15,16 @@ /** NE PAS EFFACER * admin.css -*/ \ No newline at end of file +*/ + +#courseUsersDeleteSubmit { + background-color: rgba(217, 95, 78, 1); +} + +#courseUserDeleteSelectAll { + color: lightgreen; +} + +#courseUserDeleteSelectNone { + color: lightcoral; +} diff --git a/core/module/course/view/usersDelete/usersDelete.js.php b/core/module/course/view/usersDelete/usersDelete.js.php index 4d07dbc..4ec2315 100644 --- a/core/module/course/view/usersDelete/usersDelete.js.php +++ b/core/module/course/view/usersDelete/usersDelete.js.php @@ -13,11 +13,11 @@ $(document).ready((function () { - $('#courseUserDeleteSelectAll').on('click', function() { + $('#courseUserDeleteSelectAll').on('click', function () { $('.checkboxSelect').prop('checked', true); saveCheckboxState(); }); - $('#courseUserDeleteSelectNone').on('click', function() { + $('#courseUserDeleteSelectNone').on('click', function () { $('.checkboxSelect').prop('checked', false); saveCheckboxState(); }); @@ -80,7 +80,7 @@ $(document).ready((function () { // Function to restore checkbox state function restoreCheckboxState() { var checkboxState = JSON.parse(localStorage.getItem('checkboxState')) || {}; - // console.log(checkboxState); + // console.log(checkboxState); for (var checkboxId in checkboxState) { if (checkboxState.hasOwnProperty(checkboxId)) { var checked = checkboxState[checkboxId]; diff --git a/core/module/course/view/usersDelete/usersDelete.php b/core/module/course/view/usersDelete/usersDelete.php index d9b26c3..700db1d 100644 --- a/core/module/course/view/usersDelete/usersDelete.php +++ b/core/module/course/view/usersDelete/usersDelete.php @@ -7,20 +7,23 @@ 'value' => template::ico('left') ]); ?>
-
+
'Tout' + 'value' => template::ico('check'), + 'help' => 'Tout sélectionner' ]); ?>
'Aucun' + 'value' => template::ico('cancel'), + 'help' => 'Tout désélectionner' ]); ?>
-
+
'buttonRed', - 'value' => 'Désinscrire' + 'ico' => '', + 'value' => template::ico('minus'), ]); ?>