From 238fbb432557e66fc78b4a89fbf0ab24356d3b25 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 25 Oct 2020 15:47:30 +0000 Subject: some improvements to aesthetics of the overview page --- .../compliance/templates/compliance/overview.html | 64 ++++++++++++++++++---- 1 file changed, 54 insertions(+), 10 deletions(-) diff --git a/ctrack/compliance/templates/compliance/overview.html b/ctrack/compliance/templates/compliance/overview.html index 13c835e..f68cc53 100644 --- a/ctrack/compliance/templates/compliance/overview.html +++ b/ctrack/compliance/templates/compliance/overview.html @@ -10,12 +10,22 @@ $(document).ready(function () { $('#datatable').DataTable({ ordering: true, + searching: false, + buttons: true, + dom: 'B<"clear">lfrtip', + paging: false, + "drawCallback": function (settings) { + $("#datatable thead").remove(); + }, + }); + $('#datatable2').DataTable({ + ordering: false, searching: true, {#buttons: true,#} {#dom: 'B<"clear">lfrtip',#} paging: false, "drawCallback": function (settings) { - $("#datatable thead").remove(); + $("#datatable2 thead").remove(); }, }); }); @@ -31,11 +41,17 @@ Overview
-
+

Summary

- +
+ + + + + @@ -60,14 +76,16 @@ +
+
CAF Initial Submitted 12Improvement Plan Reviewed 0
+

Progress Chart

Use the search box to filter the table.

- +
@@ -78,14 +96,13 @@ - - - + + @@ -101,9 +118,36 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3
ORG NAME 1 CAF Initial SubmittedCAF ReviewedOES Revisions SubmittedCAF ReviewedOES Revisions Submitted Validation Agreed Improvement Plan Submitted Improvement Plan Review
ORG NAME 3CAF Initial SubmittedCAF ReviewedOES Revisions SubmittedCAF Initial SubmittedCAF ReviewedOES Revisions SubmittedValidation AgreedImprovement Plan SubmittedImprovement Plan Review
ORG NAME 4CAF Initial SubmittedCAF ReviewedOES Revisions SubmittedValidation AgreedImprovement Plan SubmittedImprovement Plan Review
ORG NAME 5CAF Initial SubmittedCAF ReviewedOES Revisions SubmittedValidation AgreedImprovement Plan SubmittedImprovement Plan Review
ORG NAME 3CAF Initial SubmittedCAF ReviewedOES Revisions Submitted Validation Agreed Improvement Plan Submitted Improvement Plan Review