From 7cb2601b3bc27dbb8265a30d1ade80a51ec8ed1e Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Sun, 16 Aug 2020 16:56:33 +0200 Subject: [PATCH] updated HTML templates and assets --- static/js/datatable.min.js | 1 + templates/index.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 static/js/datatable.min.js diff --git a/static/js/datatable.min.js b/static/js/datatable.min.js new file mode 100644 index 0000000..56cd002 --- /dev/null +++ b/static/js/datatable.min.js @@ -0,0 +1 @@ +$(document).ready(function(){$('#main_table').DataTable({"display":true,"cell-border":true,"processing":true,"serverSide":true,"language":{"lengthMenu":"Show _MENU_ entries","info":"Showing page _PAGE_ of _PAGES_","search":"Search :","paginate":{"first":"First","last":"Last","next":"Next","previous":"Previous"},},"stateSave":true,"ajax":{"url":"/qrzws","type":"POST","contentType":"application/json","data":function(d){return JSON.stringify(d);},},"columns":[{"name":"qrz"},{"name":"name"},{"name":"city"},{"name":"dept"},{"name":"country"},{"name":"dmrid"},]});}); \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index bee3260..9a4db5c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -15,7 +15,7 @@ - +