diff --git a/core/module/theme/view/font/font.js.php b/core/module/theme/view/font/font.js.php index dd47dae6..376fc6ca 100644 --- a/core/module/theme/view/font/font.js.php +++ b/core/module/theme/view/font/font.js.php @@ -20,6 +20,7 @@ $('#dataTables').DataTable({ }, locale: 'fr', stateSave: true, + "lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "Tout"]], "columnDefs": [{ target: 5, orderable: false, diff --git a/core/module/user/view/index/index.css b/core/module/user/view/index/index.css index b6eeb0e0..742a8ae1 100755 --- a/core/module/user/view/index/index.css +++ b/core/module/user/view/index/index.css @@ -15,4 +15,5 @@ /** NE PAS EFFACER * admin.css -*/ \ No newline at end of file +*/ + diff --git a/core/module/user/view/index/index.js.php b/core/module/user/view/index/index.js.php index 09190ab4..cea710b4 100644 --- a/core/module/user/view/index/index.js.php +++ b/core/module/user/view/index/index.js.php @@ -29,6 +29,7 @@ $(document).ready((function () { }, locale: 'fr', stateSave: true, + "lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "Tout"]], "columnDefs": [ { target: 5, diff --git a/core/vendor/datatables/datatables.custom.css b/core/vendor/datatables/datatables.custom.css new file mode 100644 index 00000000..0777e6b4 --- /dev/null +++ b/core/vendor/datatables/datatables.custom.css @@ -0,0 +1,13 @@ +.dataTables_length { + margin-bottom: 10px; + width: 250px; +} + +.dataTables_length label { + float: left; +} + +.dataTables_length select { + margin-left: 5px; + width: 80px; +} \ No newline at end of file diff --git a/core/vendor/datatables/french.json b/core/vendor/datatables/french.json index 52f6508b..e8aaa24d 100644 --- a/core/vendor/datatables/french.json +++ b/core/vendor/datatables/french.json @@ -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)", diff --git a/core/vendor/datatables/inc.json b/core/vendor/datatables/inc.json index 007920f0..83e2412b 100644 --- a/core/vendor/datatables/inc.json +++ b/core/vendor/datatables/inc.json @@ -1,4 +1,5 @@ [ "datatables.min.js", - "datatables.min.css" + "datatables.min.css", + "datatables.custom.css" ] \ No newline at end of file