aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/compliance/templates/compliance/overview.html
blob: 13c835e5541f53ed3cca623d54b4edad3953c3e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{% 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-bar-chart-line" fill="currentColor"
         xmlns="http://www.w3.org/2000/svg">
      <path fill-rule="evenodd"
            d="M11 2a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12h.5a.5.5 0 0 1 0 1H.5a.5.5 0 0 1 0-1H1v-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3h1V7a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v7h1V2zm1 12h2V2h-2v12zm-3 0V7H7v7h2zm-5 0v-3H2v3h2z"/>
    </svg>
    Overview
  </h3>
  <div class="row justify-content-center">
    <div class="col-md-12 my-2 py-2">
      <h4>Summary</h4>
      <div class="row">
        <div class="col mb-2">
          <table class="table table-compact table-striped table-bordered">
            <tr>
              <td>CAF Initial Submitted</td>
              <td>12</td>
            </tr>
            <tr>
              <td>CAF Reviewed</td>
              <td>8</td>
            </tr>
            <tr>
              <td>OES Revisions Submitted</td>
              <td>12</td>
            </tr>
            <tr>
              <td>Validation Agreed</td>
              <td>11</td>
            </tr>
            <tr>
              <td>Improvement Plan Submitted</td>
              <td>3</td>
            </tr>
            <tr>
              <td>Improvement Plan Reviewed</td>
              <td>0</td>
            </tr>
          </table>
        </div>
      </div>
      <div class="row">
        <div class="col mt-2">
          <h4>Progress Chart</h4>
          <p>Use the search box to filter the table.</p>
          <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>
            </tr>

            </thead>
            <tbody>
            <tr>
              <td>ORG NAME 1</td>
              <td style="background-color: green; color: white;">CAF Initial Submitted</td>
              <td class="bg bg-success text-white">CAF Reviewed</td>
              <td class="bg bg-warning text-white">OES Revisions Submitted</td>
              <td>Validation Agreed</td>
              <td>Improvement Plan Submitted</td>
              <td>Improvement Plan Review</td>
            </tr>
            <tr>
              <td>ORG NAME 2</td>
              <td class="bg bg-primary text-white">CAF Initial Submitted</td>
              <td>CAF Reviewed</td>
              <td>OES Revisions Submitted</td>
              <td>Validation Agreed</td>
              <td>Improvement Plan Submitted</td>
              <td>Improvement Plan Review</td>
            </tr>
            <tr>
              <td>ORG NAME 3</td>
              <td class="bg bg-success text-white">CAF Initial Submitted</td>
              <td class="bg bg-success text-white">CAF Reviewed</td>
              <td class="bg bg-success text-white">OES Revisions Submitted</td>
              <td>Validation Agreed</td>
              <td>Improvement Plan Submitted</td>
              <td>Improvement Plan Review</td>
            </tr>
            </tbody>
          </table>
        </div>
      </div>
    </div>
  </div>
{% endblock %}