aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-20 12:07:20 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-20 12:07:20 +0100
commit29b6b17e35730b3d2afd6ba17e3524f3f9b69c10 (patch)
treeaa1f7e3b9809fb52a2587417e9f6ccbbce81a622 /ctrack
parentef429af8008503cce7ea39f855cb0d3ce5b9dc0d (diff)
added badges - we like badges right?
Diffstat (limited to 'ctrack')
-rw-r--r--ctrack/templates/pages/home.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/ctrack/templates/pages/home.html b/ctrack/templates/pages/home.html
index 98109db..1a5a64d 100644
--- a/ctrack/templates/pages/home.html
+++ b/ctrack/templates/pages/home.html
@@ -43,12 +43,12 @@
and other attributes:</p>
<ul class="list-group">
- <li class="list-group-item list-group-item-dark"><a href="{% url "organisations:list" %}">All
- organisations</a></li>
- <li class="list-group-item list-group-item-dark"><a href="{% url "organisations:people" %}">All
- people</a></li>
- <li class="list-group-item list-group-item-dark"><a href="#">All
- essential services</a></li>
+ <li class="list-group-item list-group-item-dark d-flex justify-content-between align-items-center"><a href="{% url "organisations:list" %}">All
+ organisations</a><span class="badge badge-secondary">{{ no_orgs }}</span></li>
+ <li class="list-group-item list-group-item-dark d-flex justify-content-between align-items-center"><a href="{% url "organisations:people" %}">All
+ people</a><span class="badge badge-secondary">{{ no_people }}</span></li>
+ <li class="list-group-item list-group-item-dark d-flex justify-content-between align-items-center"><a href="#">All
+ essential services</a><span class="badge badge-secondary">{{ no_essential_services }}</span></li>
</ul>
</div>
<div class="col-sm-12 m-1 border rounded p-2">
@@ -62,7 +62,7 @@
</svg>
CAFs
</h3>
- <p>There are <span class="lead font-weight-bold">93</span> <a href="{% url "caf:caf_list" %}">CAFs</a> on
+ <p>There are <span class="lead font-weight-bold">{{ no_cafs }}</span> <a href="{% url "caf:caf_list" %}">CAFs</a> on
ctrack, providing data on <span class="lead font-weight-bold">{{ no_systems }}</span> <a
href="{% url "caf:es_list" %}">critical systems</a>. Of these, <span
class="lead font-weight-bold">12</span> have been validated. <span
@@ -72,10 +72,10 @@
<p class="small">Use these high level lists to view things by <strong>lead inspector</strong>, <strong>sub-mode</strong>
and other attributes:</p>
<ul class="list-group">
- <li class="list-group-item list-group-item-dark"><a href="{% url "caf:caf_list" %}">All
- CAFs</a></li>
- <li class="list-group-item list-group-item-dark"><a href="{% url "caf:es_list" %}">All
- critical systems</a></li>
+ <li class="list-group-item list-group-item-dark d-flex justify-content-between align-items-center"><a href="{% url "caf:caf_list" %}">All
+ CAFs</a><span class="badge badge-secondary">{{ no_cafs }}</span></li>
+ <li class="list-group-item list-group-item-dark d-flex justify-content-between align-items-center"><a href="{% url "caf:es_list" %}">All
+ critical systems</a><span class="badge badge-secondary">{{ no_systems }}</span></li>
</ul>
</div>
</div>