From 7b22660ce4a74bf5a86c76ba67aa517bcbe6a5a3 Mon Sep 17 00:00:00 2001 From: gw3000 Date: Tue, 8 Aug 2023 07:11:29 +0200 Subject: [PATCH] Pagination #36 --- app/aviary/templates/aviary/aviary_all.html | 5 +++-- app/bird/templates/bird/bird_all.html | 5 +++-- app/bird/templates/bird/bird_inactive.html | 5 +++-- app/costs/templates/costs/costs_all.html | 5 +++-- app/rescuer/templates/rescuer/rescuer_all.html | 5 +++-- 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/app/aviary/templates/aviary/aviary_all.html b/app/aviary/templates/aviary/aviary_all.html index b0213e7..0612fa7 100644 --- a/app/aviary/templates/aviary/aviary_all.html +++ b/app/aviary/templates/aviary/aviary_all.html @@ -20,8 +20,9 @@ language: { url: 'https://cdn.datatables.net/plug-ins/1.11.3/i18n/de_de.json', }, - paging: false, - info: false, + paging: true, + info: true, + "pagingType": "first_last_numbers", responsive: true, columnDefs: [ { responsivePriority: 1, targets: 0 }, diff --git a/app/bird/templates/bird/bird_all.html b/app/bird/templates/bird/bird_all.html index f0ff191..5b63faa 100644 --- a/app/bird/templates/bird/bird_all.html +++ b/app/bird/templates/bird/bird_all.html @@ -20,8 +20,9 @@ language: { url: 'https://cdn.datatables.net/plug-ins/1.11.3/i18n/de_de.json', }, - paging: false, - info: false, + paging: true, + info: true, + "pagingType": "first_last_numbers", responsive: true, order: [[2, 'desc']], columnDefs: [ diff --git a/app/bird/templates/bird/bird_inactive.html b/app/bird/templates/bird/bird_inactive.html index 2c9374b..8ab3710 100644 --- a/app/bird/templates/bird/bird_inactive.html +++ b/app/bird/templates/bird/bird_inactive.html @@ -20,8 +20,9 @@ language: { url: 'https://cdn.datatables.net/plug-ins/1.11.3/i18n/de_de.json', }, - paging: false, - info: false, + paging: true, + info: true, + "pagingType": "first_last_numbers", responsive: true, columnDefs: [ { responsivePriority: 1, targets: 0 }, diff --git a/app/costs/templates/costs/costs_all.html b/app/costs/templates/costs/costs_all.html index 4cd1085..ba4130c 100644 --- a/app/costs/templates/costs/costs_all.html +++ b/app/costs/templates/costs/costs_all.html @@ -24,8 +24,9 @@ language: { url: 'https://cdn.datatables.net/plug-ins/1.11.3/i18n/de_de.json', }, - paging: false, - info: false, + paging: true, + info: true, + "pagingType": "first_last_numbers", responsive: true, order: [[2, 'desc']], columnDefs: [ diff --git a/app/rescuer/templates/rescuer/rescuer_all.html b/app/rescuer/templates/rescuer/rescuer_all.html index 047ea0d..ab514e2 100644 --- a/app/rescuer/templates/rescuer/rescuer_all.html +++ b/app/rescuer/templates/rescuer/rescuer_all.html @@ -20,8 +20,9 @@ language: { url: 'https://cdn.datatables.net/plug-ins/1.11.3/i18n/de_de.json', }, - paging: false, - info: false, + paging: true, + info: true, + "pagingType": "first_last_numbers", responsive: true, columnDefs: [ { responsivePriority: 1, targets: 0 },