diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2020-03-10 20:40:00 +0000 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2020-03-10 20:40:00 +0000 |
commit | 274b7642e9297baecfeb044e9fd20e3f50f04fc9 (patch) | |
tree | c6da3f566f76535206fbec42ade088a5bcffe332 /ctrack/caf/templates | |
parent | ea1d48ab0a327ec9a2ce6f18989cd1ca5e1dbba5 (diff) |
basic caf detail page implemented - BASIC
Diffstat (limited to 'ctrack/caf/templates')
-rw-r--r-- | ctrack/caf/templates/caf/applicablesystem_list.html | 2 | ||||
-rw-r--r-- | ctrack/caf/templates/caf/caf_detail.html | 71 |
2 files changed, 72 insertions, 1 deletions
diff --git a/ctrack/caf/templates/caf/applicablesystem_list.html b/ctrack/caf/templates/caf/applicablesystem_list.html index 985960a..c9b07d0 100644 --- a/ctrack/caf/templates/caf/applicablesystem_list.html +++ b/ctrack/caf/templates/caf/applicablesystem_list.html @@ -28,7 +28,7 @@ <tr> <td><a href="{% url "organisations:detail" slug=sys.organisation.slug %}">{{ sys.organisation.name }}</a></td> <td>{{ sys.name }}</td> - <td>{{ sys.caf }}</td> + <td><a href="{% url "caf:detail" pk=sys.caf.id %}">{{ sys.caf }}</a></td> <td>{{ sys.organisation.submode.descriptor }}</td> <td class="tabaligncenter">{{ sys.caf.confidence_grading.descriptor }}</td> <td>{{ sys.caf.triage_review_date }}</td> diff --git a/ctrack/caf/templates/caf/caf_detail.html b/ctrack/caf/templates/caf/caf_detail.html new file mode 100644 index 0000000..f44164a --- /dev/null +++ b/ctrack/caf/templates/caf/caf_detail.html @@ -0,0 +1,71 @@ +{% extends "base.html" %} + +{% load static %} + +{% block title %}CAF Detail{% endblock %} +{% block content %} + <div class="container"> + + <div class="row"> + <h2>{{ object }}</h2> + </div> + + <div class="row pt-3 text-info"> + <h4>Quality Grading</h4> + </div> + + <div class="row pl-3 pt-2 border rounded bg-light"> + <p>{{ object.quality_grading }}</p> + </div> + + <div class="row pt-3 text-info"> + <h4>Confidence Grading</h4> + </div> + + <div class="row pl-3 pt-2 border rounded bg-light"> + <p>{{ object.confidence_grading }}</p> + </div> + + <div class="row pt-3 text-info"> + <h4>Current Version</h4> + </div> + + <div class="row pl-3 pt-2 border rounded bg-light"> + <p>{{ object.version }}</p> + </div> + + <div class="row pt-3 text-info"> + <h4>File (location?)</h4> + </div> + + <div class="row pl-3 pt-2 border rounded bg-light"> + <p>{{ object.file }}</p> + </div> + + <div class="row pt-3 text-info"> + <h4>Triage Review Date</h4> + </div> + + <div class="row pl-3 pt-2 border rounded bg-light"> + <p>{{ object.triage_review_date }}</p> + </div> + + <div class="row pt-3 text-info"> + <h4>Triage Review Inspector</h4> + </div> + + <div class="row pl-3 pt-2 border rounded bg-light"> + <p>{{ object.triage_review_inspector }}</p> + </div> + + <div class="row pt-3 text-info"> + <h4>Comments</h4> + </div> + + <div class="row pl-3 pt-2 border rounded bg-light"> + <p>{{ object.comments }}</p> + </div> +{% endblock %} + + + |