From d210853a13aa3468f78dbfc3212f3930771498bf Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 20 Oct 2020 10:40:00 +0100 Subject: smashing the HTML on the home page --- ctrack/caf/templates/caf/caf_list.html | 66 ++++++------ .../organisations/org_create_formset.html | 11 +- .../templates/organisations/organisation_list.html | 10 +- ctrack/templates/pages/home.html | 111 ++++++++++++++++----- 4 files changed, 140 insertions(+), 58 deletions(-) (limited to 'ctrack') diff --git a/ctrack/caf/templates/caf/caf_list.html b/ctrack/caf/templates/caf/caf_list.html index ef0088f..e1467a0 100644 --- a/ctrack/caf/templates/caf/caf_list.html +++ b/ctrack/caf/templates/caf/caf_list.html @@ -19,35 +19,45 @@
-

All CAFs

-
-
- - +

+ + + + + All CAFs +

+
+
+
+ + + + + + + + + {% for caf in object_list %} - - - - + + + + - - {% for caf in object_list %} - - - - - - - {% endfor %} -
OrganisationCAFSub ModeApplicable Systems
OrganisationCAFSub ModeApplicable Systems{{ caf.organisation }} + {{ caf }}{{ caf.sub_mode }} + +
{{ caf.organisation }} - {{ caf }}{{ caf.sub_mode }} - -
-
+ {% endfor %} +
+
{% endblock %} diff --git a/ctrack/organisations/templates/organisations/org_create_formset.html b/ctrack/organisations/templates/organisations/org_create_formset.html index d78abb1..22de19e 100644 --- a/ctrack/organisations/templates/organisations/org_create_formset.html +++ b/ctrack/organisations/templates/organisations/org_create_formset.html @@ -9,7 +9,14 @@ {% block content %}
-

Create a new organisation

+

+ + + + Create a new organisation +

@@ -138,7 +145,7 @@ {% endfor %}
diff --git a/ctrack/organisations/templates/organisations/organisation_list.html b/ctrack/organisations/templates/organisations/organisation_list.html index 661a0d4..1cdb33d 100644 --- a/ctrack/organisations/templates/organisations/organisation_list.html +++ b/ctrack/organisations/templates/organisations/organisation_list.html @@ -19,7 +19,15 @@
-

Organisations

[Create new...] +

+ + + + Organisations +

+ [Create new...]
diff --git a/ctrack/templates/pages/home.html b/ctrack/templates/pages/home.html index 25d0cf3..3c563db 100644 --- a/ctrack/templates/pages/home.html +++ b/ctrack/templates/pages/home.html @@ -6,39 +6,96 @@

ctrack

-

This is a template for a simple marketing or informational website. It includes a large callout called a - jumbotron and three supporting pieces of content. Use it as a starting point to create something more - unique.

-

Learn more »

+

DfT's Cyber Compliance Team's information management system, used to track all core + components of the NIS regime.

+

ctrack is a proof-of-concept web application developed in-house by the Cyber Compliance + Team at the UK Department for Transport that aims to demonstrate the improvements in workflow possible by + storing data associated with OES and its associated CAF data in a relational database. It focuses on the + absolute basics of managing any business data: Create, Read, Update, Delete (CRUD) functionality and + demonstrates how collection and analysis of ongoing assessment data - using the CAF as the foundation (the + framework, not the spreadsheet) - can be exponentially improved using the simplest of form-based web + application.

+
+
+
+
+

+ + + + OES/Organisations +

+

There are currently 53 organisations on ctrack, comprising 124 people.

+ + +

You can filter these lists to view things by lead inspector, sub-mode + and other things.

+
+
+

+ + + + + CAFs +

+

There are 93 CAFs on + ctrack.

+ +

Of these - 12 have been validated.

+
+
+ +
-
-
-

Heading

-

Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris - condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec - sed odio dui.

-

View details »

-
-
-

Heading

-

Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris - condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec - sed odio dui.

-

View details »

-
-
-

Heading

-

Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta - felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum - massa justo sit amet risus.

-

View details »

-
-
+ {#
#} + {#
#} + {#

OES/Organisations

#} + {#

There are currently 53 organisations on ctrack, comprising 124 people.

#} + {#

View details »

#} + {#
#} + {#
#} + {#

CAFs

#} + {#

There are 93 CAFs on ctrack.#} + {#

#} + {#

View details »

#} + {#
#} + {#
#} + {#

Heading

#} + {#

Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta#} + {# felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum#} + {# massa justo sit amet risus.

#} + {#

View details »

#} + {#
#} + {#
#}
+
+

ctrack source code is open source and available on Github

+
{% endblock content %} -- cgit v1.2.3