diff options
author | 2020-05-07 23:00:14 +0200 | |
---|---|---|
committer | 2020-05-07 23:00:14 +0200 | |
commit | d4c309a69808b12c6e70532b6b295bf0d1b4d5e4 (patch) | |
tree | 04b02c1db3157a9ce767534d4fe219b2f0855f9f | |
parent | Fix the chmod by using the 0o prefix (diff) | |
download | gentoo-mirrorstats-d4c309a69808b12c6e70532b6b295bf0d1b4d5e4.tar.gz gentoo-mirrorstats-d4c309a69808b12c6e70532b6b295bf0d1b4d5e4.tar.bz2 gentoo-mirrorstats-d4c309a69808b12c6e70532b6b295bf0d1b4d5e4.zip |
Add an option to show all entries in the datatable
Signed-off-by: Max Magorsch <arzano@gentoo.org>
-rw-r--r-- | html/stats.jinja2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/html/stats.jinja2 b/html/stats.jinja2 index 9596930..22fb50d 100644 --- a/html/stats.jinja2 +++ b/html/stats.jinja2 @@ -307,6 +307,7 @@ $('#table_id').DataTable({ "autoWidth": true, "iDisplayLength": 25, + "lengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]], // TODO Group by Region in future // rowGroup: { // dataSrc: 1 |