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 @@ - +