From f55bb1b18e06cadf7c4d5c99a7531223f5dfd671 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 17 Nov 2025 12:02:21 +0000 Subject: [PATCH] Refactor exam navigation: enhance layout and accessibility by replacing links with a responsive navbar structure --- longs/templates/longs/exams.html | 31 +++++++++++++++++------ physics/templates/physics/exams.html | 30 ++++++++++++++++------ rapids/templates/rapids/exams.html | 37 +++++++++++++++++++--------- sbas/templates/sbas/exams.html | 29 ++++++++++++++++------ shorts/templates/shorts/exams.html | 37 +++++++++++++++++++--------- 5 files changed, 120 insertions(+), 44 deletions(-) diff --git a/longs/templates/longs/exams.html b/longs/templates/longs/exams.html index 235acbeb..d8d9b6b9 100644 --- a/longs/templates/longs/exams.html +++ b/longs/templates/longs/exams.html @@ -2,12 +2,27 @@ {% block navigation %} {{block.super}} -
- Exams: {{exam}}-> - Overview / - Mark / - Scores / - Candidates / - Stats / - Review / + {% endblock %} diff --git a/physics/templates/physics/exams.html b/physics/templates/physics/exams.html index d3a8e274..2891577c 100644 --- a/physics/templates/physics/exams.html +++ b/physics/templates/physics/exams.html @@ -1,11 +1,27 @@ {% extends 'physics/base.html' %} {% block navigation %} -{{block.super}} -
-Exams: {{exam}}-> Overview / -Scores / -Candidates / - Stats / - Review / + {{block.super}} + {% endblock %} \ No newline at end of file diff --git a/rapids/templates/rapids/exams.html b/rapids/templates/rapids/exams.html index ec8feaeb..df8c92a4 100644 --- a/rapids/templates/rapids/exams.html +++ b/rapids/templates/rapids/exams.html @@ -2,15 +2,30 @@ {% block navigation %} {{block.super}} -
- Exams: {{exam}}-> - Overview / - {% if exam.exam_mode %} - Mark / - Scores / - Candidates / - Stats / - {% endif %} - Add New Question - Review + {% endblock %} diff --git a/sbas/templates/sbas/exams.html b/sbas/templates/sbas/exams.html index 46630742..8d947afd 100644 --- a/sbas/templates/sbas/exams.html +++ b/sbas/templates/sbas/exams.html @@ -2,11 +2,26 @@ {% block navigation %} {{block.super}} -
- Exams: {{exam}}-> - Overview / - Scores / - Candidates / - Stats / - Review / + {% endblock %} diff --git a/shorts/templates/shorts/exams.html b/shorts/templates/shorts/exams.html index 2d0a7a97..cda62881 100644 --- a/shorts/templates/shorts/exams.html +++ b/shorts/templates/shorts/exams.html @@ -2,15 +2,30 @@ {% block navigation %} {{block.super}} -
- Exams: {{exam}}-> - Overview / - {% if exam.exam_mode %} - Mark / - Scores / - Candidates / - Stats / - {% endif %} - Add New Question - Review + {% endblock %}