diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-21 09:59:30 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-21 09:59:30 +0100 |
commit | 89da43fb56d036dc11420c9f7246c19854512517 (patch) | |
tree | 8440746edfb7120d31cd3655bd2d582df22ba75d /ctrack/compliance/templates | |
parent | 3a4073a6f6d4c6d03f2464120d7d8a6fdbed42b1 (diff) |
first stab at a new compliance app for doing overview view and later audit and inspection stuff
Diffstat (limited to 'ctrack/compliance/templates')
-rw-r--r-- | ctrack/compliance/templates/compliance/overview.html | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/ctrack/compliance/templates/compliance/overview.html b/ctrack/compliance/templates/compliance/overview.html new file mode 100644 index 0000000..0c53507 --- /dev/null +++ b/ctrack/compliance/templates/compliance/overview.html @@ -0,0 +1,88 @@ +{% extends "base.html" %} +{% load static %} + +{% block title %} CAF - All CAF Summary {% endblock %} + +{% block content %} + + <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> + <script type="application/javascript"> + $(document).ready(function () { + $('#datatable').DataTable({ + ordering: true, + searching: true, + buttons: true, + dom: 'B<"clear">lfrtip', + paging: false, + "drawCallback": function (settings) { + $("#datatable thead").remove(); + }, + }); + }); + </script> + + <div class="col-12 m-2"> + <h3> + <svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-card-checklist" fill="currentColor" + xmlns="http://www.w3.org/2000/svg"> + <path fill-rule="evenodd" + d="M14.5 3h-13a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z"/> + <path fill-rule="evenodd" + d="M7 5.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm-1.496-.854a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 1 1 .708-.708l.146.147 1.146-1.147a.5.5 0 0 1 .708 0zM7 9.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm-1.496-.854a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 0 1 .708-.708l.146.147 1.146-1.147a.5.5 0 0 1 .708 0z"/> + </svg> + Overview + </h3> + <p>Use the search box to filter the table. The table can be exported in various formats using the buttons below. These + downloads will respect the filtering used.</p> + <div class="row justify-content-center"> + <div class="col-md-12 my-2 py-2"> + <table id="datatable" class="table table-bordered" style="width:100%"> + <thead> + <tr> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + + </thead> + <tbody> + <tr> + <td>ORG NAME 1</td> + <td class="bg bg-success text-white">CAF Initial Submission</td> + <td class="bg bg-success text-white">CAF Review</td> + <td class="bg bg-warning text-white">OES Revisions</td> + <td>Inspector Validation</td> + <td>Validation Agreed</td> + <td>Improvement Plan Submission</td> + <td>Improvement Plan Review</td> + </tr> + <tr> + <td>ORG NAME 2</td> + <td class="bg bg-primary text-white">CAF Initial Submission</td> + <td>CAF Review</td> + <td>OES Revisions</td> + <td>Inspector Validation</td> + <td>Validation Agreed</td> + <td>Improvement Plan Submission</td> + <td>Improvement Plan Review</td> + </tr> + <tr> + <td>ORG NAME 3</td> + <td class="bg bg-success text-white">CAF Initial Submission</td> + <td class="bg bg-success text-white">CAF Review</td> + <td class="bg bg-success text-white">OES Revisions</td> + <td class="bg bg-success text-white">Inspector Validation</td> + <td>Validation Agreed</td> + <td>Improvement Plan Submission</td> + <td>Improvement Plan Review</td> + </tr> + </tbody> + </table> + </div> + </div> +{% endblock %} |