From f37b3312e5e7bac2abab6d96b449912122485531 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 13 May 2024 11:10:25 +0100 Subject: [PATCH] improve exam list view --- rad/static/css/anatomy.css | 9 +++++++++ templates/exam_list.html | 19 +++++++++++++++---- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/rad/static/css/anatomy.css b/rad/static/css/anatomy.css index 6da3aad5..ba942955 100644 --- a/rad/static/css/anatomy.css +++ b/rad/static/css/anatomy.css @@ -681,6 +681,15 @@ input { display: flex; } +ul.exam-list { + padding-left: 0.5em; + padding-right: 0.5em; +} + +.flex-col-half { + flex: 0.5; +} + .flex-col { flex: 1; } diff --git a/templates/exam_list.html b/templates/exam_list.html index 71d3a4c0..1ba54648 100644 --- a/templates/exam_list.html +++ b/templates/exam_list.html @@ -9,17 +9,18 @@ {% if exam.active %}
  • {{exam.name}} - {% if marking %}Mark{% endif %} + {% if marking %}Mark{% endif %} Candidates [ {{exam.valid_cid_users.count}} / {{exam.valid_user_users.count}}] - Scores + Scores + {% if view_all %} @@ -35,7 +36,7 @@ {% if not exam.active %}
  • {{exam.name}} - {% if marking %}Mark{% endif %} + {% if marking %}Mark{% endif %} Candidates @@ -46,11 +47,12 @@ - Scores + Scores + {% if view_all %} @@ -124,6 +126,15 @@ border: 1px dashed gray; margin: -1px; } + .exam-list-edit-button { + color: darkgray!important; + cursor: pointer; + opacity: 20%; + padding-inline-start: 10px; + } + .exam-list-edit-button:hover { + opacity: 100%; + } {% endblock %}