From f63f3b36878c4eafb69ffb3613839183e885b0ab Mon Sep 17 00:00:00 2001 From: Ross Date: Wed, 29 Apr 2026 21:50:45 +0100 Subject: [PATCH] feat: Enhance supervision page with collapsible group sections for better organization Co-authored-by: Copilot --- atlas/templates/atlas/supervision.html | 40 +++++++++++++++++++------- 1 file changed, 29 insertions(+), 11 deletions(-) diff --git a/atlas/templates/atlas/supervision.html b/atlas/templates/atlas/supervision.html index 709bf6c3..4264fa6c 100644 --- a/atlas/templates/atlas/supervision.html +++ b/atlas/templates/atlas/supervision.html @@ -1,6 +1,14 @@ {% extends 'atlas/exams.html' %} {% load static %} +{% block css %} +{{ block.super }} + +{% endblock %} + {% block content %}
@@ -72,17 +80,26 @@ {# ---- Grouped results ---- #} {% if groups %} {% for group_label, attempt_rows in groups %} -
-
- {% if group_by == 'user' %} - - {% else %} - - {% endif %} - {{ group_label }} - {{ attempt_rows|length }} attempt{{ attempt_rows|length|pluralize }} -
-
+
+ +
+
@@ -146,6 +163,7 @@
+
{# /collapse #}
{% endfor %} {% else %}