1.11.02 datables.net filtrage des éléments, nombre d'éléments et position sur l'écran

This commit is contained in:
Fred Tempez 2024-09-06 08:35:25 +02:00
parent ca7ce4e857
commit 0eab6c9049
11 changed files with 24 additions and 5 deletions

View File

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

View File

@ -18,6 +18,7 @@ $(document).ready(function () {
},
locale: 'fr',
stateSave: true,
"lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "Tout"]],
"columnDefs": [
{
target: 2,

View File

@ -29,6 +29,7 @@ $(document).ready((function () {
order: [[3, 'desc']],
locale: 'fr',
stateSave: true,
"lengthMenu": [[10, 25, 50, 100, 299, -1], [10, 25, 50, 100, 200, "Tout"]],
"columnDefs": [
{
target: 6,

View File

@ -40,6 +40,7 @@ $(document).ready((function () {
},
locale: 'fr',
stateSave: true,
"lengthMenu": [[10, 25, 50, 100, 299, -1], [10, 25, 50, 100, 200, "Tout"]],
"columnDefs": [
{
target: 0,

View File

@ -39,6 +39,7 @@ $(document).ready((function () {
url: "core/vendor/datatables/french.json"
},
locale: 'fr',
"lengthMenu": [[10, 25, 50, 100, 299, -1], [10, 25, 50, 100, 200, "Tout"]],
"columnDefs": [
{
target: 0,

View File

@ -20,6 +20,7 @@ $('#dataTables').DataTable({
},
locale: 'fr',
stateSave: true,
"lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "Tout"]],
"columnDefs": [{
target: 5,
orderable: false,

View File

@ -39,6 +39,7 @@ $(document).ready((function () {
url: "core/vendor/datatables/french.json"
},
locale: 'fr',
"lengthMenu": [[10, 25, 50, 100, 299, -1], [10, 25, 50, 100, 200, "Tout"]],
"columnDefs": [
{
target: 0,

View File

@ -39,6 +39,7 @@ $(document).ready((function () {
url: "core/vendor/datatables/french.json"
},
locale: 'fr',
"lengthMenu": [[10, 25, 50, 100, 299, -1], [10, 25, 50, 100, 200, "Tout"]],
"columnDefs": [
{
target: 0,

View File

@ -0,0 +1,13 @@
.dataTables_length {
margin-bottom: 10px;
width: 250px;
}
.dataTables_length label {
float: left;
}
.dataTables_length select {
margin-left: 5px;
width: 80px;
}

View File

@ -1,7 +1,7 @@
{
"processing": "Traitement en cours...",
"search": "Rechercher :",
"lengthMenu": "Éléments par page _MENU_",
"lengthMenu": "Éléments par page : _MENU_",
"info": "Affichage de l'élement _START_ à _END_ sur _TOTAL_ éléments",
"infoEmpty": "Affichage de l'élement 0 à 0 sur 0 éléments",
"infoFiltered": "(filtré de _MAX_ éléments au total)",

View File

@ -1,6 +1,5 @@
[
"datatables.min.js",
"moment.min.js",
"datetime.min.js",
"datatables.min.css"
"datatables.min.css",
"datatables.custom.css"
]