From 4a5083180f0cd0e645a8dbbb83bcebe9273e2599 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 16:47:31 +0000 Subject: [PATCH 01/25] . --- anatomy/templates/anatomy/exam_overview.html | 6 +- physics/templates/physics/exam_overview.html | 161 +++++++------------ 2 files changed, 61 insertions(+), 106 deletions(-) diff --git a/anatomy/templates/anatomy/exam_overview.html b/anatomy/templates/anatomy/exam_overview.html index 640ad253..6ac9f368 100644 --- a/anatomy/templates/anatomy/exam_overview.html +++ b/anatomy/templates/anatomy/exam_overview.html @@ -22,11 +22,13 @@ Open access: {{ exam.open_access }}
- Exam active: [When checked the exam will be available to take in the test system] + Exam active: + [When checked the exam will be available to take in the test system]
{% if exam.exam_mode %}
- Publish results: [When checked the exam results will be available to users on this site]

diff --git a/physics/templates/physics/exam_overview.html b/physics/templates/physics/exam_overview.html index 8a877d4a..d4c99b53 100644 --- a/physics/templates/physics/exam_overview.html +++ b/physics/templates/physics/exam_overview.html @@ -2,113 +2,66 @@ {% block content %} - {% load thumbnail %} -
- {% if can_edit %} - Edit - Delete - Clone - {% endif %} - {% if request.user.is_superuser %} - Admin Edit - {% endif %} -

Exam: {{ exam.name }}

+{% load thumbnail %} +
+ {% if can_edit %} + Edit + Delete + Clone + {% endif %} + {% if request.user.is_superuser %} + Admin + Edit + {% endif %} +

Exam: {{ exam.name }}

- {% include 'exam_notes.html' %} + {% include 'exam_notes.html' %} -

This exam has {{question_number}} questions.

- Open access: {{ exam.open_access }}
- -
- Exam active: [When checked the exam will be available to take in the test system] -
-
- Publish results: [When checked the exam results will be available on this site] -
- This exam will be available to take here (when active). - - {% autoescape off %} -
    - {% for question in questions.all %} - -
  1. - {{ question.stem }} -
      -
    1. - {{ question.a }}: {{ question.a_answer }} -
    2. -
    3. - {{ question.b }}: {{ question.b_answer }} -
    4. -
    5. - {{ question.c }}: {{ question.c_answer }} -
    6. -
    7. - {{ question.d }}: {{ question.d_answer }} -
    8. -
    9. - {{ question.e }}: {{ question.e_answer }} -
    10. -
    - Category: {{ question.category }}, View Edit - -
  2. - {% endfor %} -
- {% endautoescape %} +

This exam has {{question_number}} questions.

+ Open access: {{ exam.open_access }}
+
+ Exam active: [When checked the exam will be available to take in the test system]
- -{% endblock %} +
  • + {{ question.stem }} +
      +
    1. + {{ question.a }}: {{ question.a_answer }} +
    2. +
    3. + {{ question.b }}: {{ question.b_answer }} +
    4. +
    5. + {{ question.c }}: {{ question.c_answer }} +
    6. +
    7. + {{ question.d }}: {{ question.d_answer }} +
    8. +
    9. + {{ question.e }}: {{ question.e_answer }} +
    10. +
    + Category: {{ question.category }}, View Edit + +
  • + {% endfor %} + + {% endautoescape %} + +
    +{% endblock %} \ No newline at end of file From cacb834e458b430f014fc5c981f430a8f4acf752 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 16:48:18 +0000 Subject: [PATCH 02/25] . --- physics/templates/physics/exam_overview.html | 1 + 1 file changed, 1 insertion(+) diff --git a/physics/templates/physics/exam_overview.html b/physics/templates/physics/exam_overview.html index d4c99b53..dba832f5 100644 --- a/physics/templates/physics/exam_overview.html +++ b/physics/templates/physics/exam_overview.html @@ -64,4 +64,5 @@ {% endautoescape %}
    + {% include 'exam_overview_js.html' %} {% endblock %} \ No newline at end of file From bd88294861caf59ee90e2332e7ff27e1e2d848d1 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 16:51:23 +0000 Subject: [PATCH 03/25] . --- physics/templates/physics/exam_list.html | 5 ++++- templates/exam_overview_js.html | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/physics/templates/physics/exam_list.html b/physics/templates/physics/exam_list.html index 68543005..af6ad227 100644 --- a/physics/templates/physics/exam_list.html +++ b/physics/templates/physics/exam_list.html @@ -8,7 +8,10 @@ {% for exam in exams %} {% if exam.active %}
  • - {{exam.name}} Scores Results Published + {{exam.name}} Scores Results Published + Publish results: +
  • {% endif %} {% endfor %} diff --git a/templates/exam_overview_js.html b/templates/exam_overview_js.html index 806fe3d3..d5f57557 100644 --- a/templates/exam_overview_js.html +++ b/templates/exam_overview_js.html @@ -25,7 +25,7 @@ console.log('[Done]'); }) }) - $("#exam-publish-results-switch").on("change", function (evt) { + $("#exam-publish-results-switch, .exam-publish-results-switch").on("change", function (evt) { $.ajax({ url: evt.currentTarget.dataset.posturl, data: { From 0c249258ff88df2946c6034f98decfe3e60ce5a4 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 16:53:29 +0000 Subject: [PATCH 04/25] . --- templates/exam_list.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/exam_list.html b/templates/exam_list.html index 37418305..50c6629c 100644 --- a/templates/exam_list.html +++ b/templates/exam_list.html @@ -13,6 +13,8 @@ Candidates Scores Results Published + Publish results: {% endif %} {% endfor %} From a932209997e654979b1c0fa43dfa0d232a5b566e Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 16:53:47 +0000 Subject: [PATCH 05/25] . --- templates/exam_list.html | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/exam_list.html b/templates/exam_list.html index 50c6629c..429abeea 100644 --- a/templates/exam_list.html +++ b/templates/exam_list.html @@ -42,4 +42,5 @@ View all {% endif %} + {% include 'exam_overview_js.html' %} {% endblock %} From 037f4504295cf0b18f533123474c6dd69283db8e Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 16:58:25 +0000 Subject: [PATCH 06/25] . --- templates/exam_list.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/exam_list.html b/templates/exam_list.html index 429abeea..c87b4b77 100644 --- a/templates/exam_list.html +++ b/templates/exam_list.html @@ -7,13 +7,13 @@
      {% for exam in exams %} {% if exam.active %} -
    • +
    • {{exam.name}} {% if marking %}Mark{% endif %} Candidates Scores Results Published - Publish results:
    • {% endif %} @@ -24,7 +24,7 @@
        {% for exam in exams %} {% if not exam.active %} -
      • +
      • {{exam.name}} {% if marking %}Mark{% endif %} Candidates From 6cc8dd139c0a6c64941755aed4a7e4afa46fd7bf Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 17:04:26 +0000 Subject: [PATCH 07/25] . --- anatomy/static/css/anatomy.css | 4 ++-- static/css/anatomy.css | 4 ++-- templates/exam_list.html | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/anatomy/static/css/anatomy.css b/anatomy/static/css/anatomy.css index 1e11802d..cacc6f61 100644 --- a/anatomy/static/css/anatomy.css +++ b/anatomy/static/css/anatomy.css @@ -591,14 +591,14 @@ table.longs .user-answer-score- { border: 1px dotted gray; opacity: 20%; border-radius: 4px; - display: none; + display: inline-block; } .published-icon:hover { opacity: 100%; } -.published-icon.published { +.exam-publish-results-switch + .published-icon { border: 1px solid purple; color: purple; opacity: 100%; diff --git a/static/css/anatomy.css b/static/css/anatomy.css index 1e11802d..cacc6f61 100644 --- a/static/css/anatomy.css +++ b/static/css/anatomy.css @@ -591,14 +591,14 @@ table.longs .user-answer-score- { border: 1px dotted gray; opacity: 20%; border-radius: 4px; - display: none; + display: inline-block; } .published-icon:hover { opacity: 100%; } -.published-icon.published { +.exam-publish-results-switch + .published-icon { border: 1px solid purple; color: purple; opacity: 100%; diff --git a/templates/exam_list.html b/templates/exam_list.html index c87b4b77..83c0fc3f 100644 --- a/templates/exam_list.html +++ b/templates/exam_list.html @@ -12,8 +12,8 @@ {% if marking %}Mark{% endif %} Candidates Scores - Results Published - Publish results: Results Published +
      • {% endif %} From 7330b036d498a8f6bcb990ea49c262237f4de08f Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 17:08:03 +0000 Subject: [PATCH 08/25] . --- anatomy/static/css/anatomy.css | 18 ------------------ templates/exam_list.html | 25 ++++++++++++++++++++++++- 2 files changed, 24 insertions(+), 19 deletions(-) diff --git a/anatomy/static/css/anatomy.css b/anatomy/static/css/anatomy.css index cacc6f61..77f71554 100644 --- a/anatomy/static/css/anatomy.css +++ b/anatomy/static/css/anatomy.css @@ -587,24 +587,6 @@ table.longs .user-answer-score- { background-color: red; } -.published-icon { - border: 1px dotted gray; - opacity: 20%; - border-radius: 4px; - display: inline-block; -} - -.published-icon:hover { - opacity: 100%; -} - -.exam-publish-results-switch + .published-icon { - border: 1px solid purple; - color: purple; - opacity: 100%; - display: inline-block; -} - textarea, input { border-radius: 2px; diff --git a/templates/exam_list.html b/templates/exam_list.html index 83c0fc3f..4cf44a5f 100644 --- a/templates/exam_list.html +++ b/templates/exam_list.html @@ -12,9 +12,9 @@ {% if marking %}Mark{% endif %} Candidates Scores - + {% endif %} {% endfor %} @@ -43,4 +43,27 @@ {% endif %} {% include 'exam_overview_js.html' %} + + + {% endblock %} + From a9dcdc5fd251bfb7f4def17e6c4140c660a6eee4 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 17:09:19 +0000 Subject: [PATCH 09/25] . --- templates/exam_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/exam_list.html b/templates/exam_list.html index 4cf44a5f..7f6634f3 100644 --- a/templates/exam_list.html +++ b/templates/exam_list.html @@ -14,7 +14,7 @@ Scores - + {% endif %} {% endfor %} From 4472331626ce59a99f63e109adfde35209c6d8a9 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 17:10:49 +0000 Subject: [PATCH 10/25] . --- templates/exam_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/exam_list.html b/templates/exam_list.html index 7f6634f3..a95ea786 100644 --- a/templates/exam_list.html +++ b/templates/exam_list.html @@ -57,7 +57,7 @@ opacity: 100%; } -:checked + .published-icon { +.exam-publish-results-switch:checked + .published-icon { border: 1px solid purple; color: purple; opacity: 100%; From 7bb824f474d58af692977122513d0b786b7c4702 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 17:12:09 +0000 Subject: [PATCH 11/25] . --- static/css/anatomy.css | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/static/css/anatomy.css b/static/css/anatomy.css index cacc6f61..77f71554 100644 --- a/static/css/anatomy.css +++ b/static/css/anatomy.css @@ -587,24 +587,6 @@ table.longs .user-answer-score- { background-color: red; } -.published-icon { - border: 1px dotted gray; - opacity: 20%; - border-radius: 4px; - display: inline-block; -} - -.published-icon:hover { - opacity: 100%; -} - -.exam-publish-results-switch + .published-icon { - border: 1px solid purple; - color: purple; - opacity: 100%; - display: inline-block; -} - textarea, input { border-radius: 2px; From cf6395cef3db4ad4b11b03838e9d5c1137160f7b Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 17:13:54 +0000 Subject: [PATCH 12/25] . --- templates/exam_list.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/templates/exam_list.html b/templates/exam_list.html index a95ea786..d32a2965 100644 --- a/templates/exam_list.html +++ b/templates/exam_list.html @@ -29,7 +29,9 @@ {% if marking %}Mark{% endif %} Candidates Scores - Results Published + + {% endif %} {% endfor %} @@ -51,6 +53,9 @@ opacity: 20%; border-radius: 4px; display: inline-block; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; } .published-icon:hover { @@ -63,6 +68,10 @@ opacity: 100%; display: inline-block; } + +.exam-publish-results-switch { + display: none; +} {% endblock %} From f5aa2693d33cc96f53569fbb1bb1e0cb7a9cd47f Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 17:16:25 +0000 Subject: [PATCH 13/25] . --- generic/views.py | 2 +- templates/exam_overview_js.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/generic/views.py b/generic/views.py index 8a4790d9..8dfe7098 100644 --- a/generic/views.py +++ b/generic/views.py @@ -362,7 +362,7 @@ class ExamViews(View, LoginRequiredMixin): True if request.POST.get("publish_results") == "true" else False ) exam.save() - data = {"status": "success", "publish_results": exam.publish_results} + data = {"status": "success", "publish_results": exam.publish_results, "name": exam.name} return JsonResponse(data, status=200) else: data = {"status": "error"} diff --git a/templates/exam_overview_js.html b/templates/exam_overview_js.html index d5f57557..5edbf493 100644 --- a/templates/exam_overview_js.html +++ b/templates/exam_overview_js.html @@ -40,7 +40,8 @@ console.log(data); if (data.status == "success") { - toastr.info('Publish results state changed.') + toastr.info(`Exam: ${data.name} + Published state changed to: ${data.publish_results}.`) } // show some message according to the response. // For eg. A message box showing that the status has been changed From 4643f7b25116570291b4ade125f8f9d955ee99f8 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 17:45:20 +0000 Subject: [PATCH 14/25] . --- generic/views.py | 4 ++-- templates/exam_list.html | 18 ++++++++++++++---- templates/exam_overview_js.html | 4 ++-- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/generic/views.py b/generic/views.py index 8dfe7098..1d57e2db 100644 --- a/generic/views.py +++ b/generic/views.py @@ -362,7 +362,7 @@ class ExamViews(View, LoginRequiredMixin): True if request.POST.get("publish_results") == "true" else False ) exam.save() - data = {"status": "success", "publish_results": exam.publish_results, "name": exam.name} + data = {"status": "success", "publish_results": exam.publish_results, "name": exam.name, "id": exam.id} return JsonResponse(data, status=200) else: data = {"status": "error"} @@ -376,7 +376,7 @@ class ExamViews(View, LoginRequiredMixin): exam.active = True if request.POST.get("active") == "true" else False exam.save() - data = {"status": "success", "active": exam.active} + data = {"status": "success", "active": exam.active, "name": exam.name, "id": exam.id} return JsonResponse(data, status=200) else: data = {"status": "error"} diff --git a/templates/exam_list.html b/templates/exam_list.html index d32a2965..d27e7851 100644 --- a/templates/exam_list.html +++ b/templates/exam_list.html @@ -12,9 +12,12 @@ {% if marking %}Mark{% endif %} Candidates Scores - + + - + {% endif %} {% endfor %} @@ -48,7 +51,7 @@ diff --git a/templates/exam_overview_js.html b/templates/exam_overview_js.html index a422714a..6fc26f9d 100644 --- a/templates/exam_overview_js.html +++ b/templates/exam_overview_js.html @@ -16,7 +16,8 @@ console.log(data); if (data.status == "success") { - toastr.info('Exam state changed.') + toastr.info(`Exam: ${data.name} [${data.id}] + Active state changed to: ${data.publish_results}.`) } // show some message according to the response. // For eg. A message box showing that the status has been changed From 54e50efe2ea563a139162669fec010293a7321d3 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 18:00:12 +0000 Subject: [PATCH 19/25] . --- templates/exam_list.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/exam_list.html b/templates/exam_list.html index 7328a8f3..0efeea7c 100644 --- a/templates/exam_list.html +++ b/templates/exam_list.html @@ -26,7 +26,7 @@ {% for exam in exams %} {% if not exam.active %}
      • - {{exam.name}} + {{exam.name}} {% if marking %}Mark{% endif %} Candidates Scores @@ -58,6 +58,7 @@ user-select: none; -webkit-user-select: none; -moz-user-select: none; + text-align: center; } .published-icon:hover, .active-icon:hover { From 451137ca3e1cf5c4a14249aa82c93733e100d8ee Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 18:17:06 +0000 Subject: [PATCH 20/25] . --- anatomy/views.py | 1 + longs/views.py | 3 ++- physics/templates/physics/exam_scores_user.html | 10 ++++++++++ physics/views.py | 1 + rapids/views.py | 1 + sbas/views.py | 1 + 6 files changed, 16 insertions(+), 1 deletion(-) diff --git a/anatomy/views.py b/anatomy/views.py index 8135da10..ab4f53c6 100644 --- a/anatomy/views.py +++ b/anatomy/views.py @@ -664,6 +664,7 @@ def exam_scores_cid_user(request, pk, cid, passcode): "total_score": total_score, "max_score": max_score, "answers_and_marks": answers_and_marks, + "view_all_results": view_all_results, }, ) diff --git a/longs/views.py b/longs/views.py index d2b09505..30dff861 100755 --- a/longs/views.py +++ b/longs/views.py @@ -1121,8 +1121,9 @@ def exam_scores_cid_user(request, pk, cid, passcode): "total_score": total_score, "normalised_score": normalised_score, "max_score": max_score, - "answer_text": answer_text + "answer_text": answer_text, # "answers_and_marks": answers_and_marks, + "view_all_results": view_all_results, }, ) diff --git a/physics/templates/physics/exam_scores_user.html b/physics/templates/physics/exam_scores_user.html index b8691ceb..28ca6822 100644 --- a/physics/templates/physics/exam_scores_user.html +++ b/physics/templates/physics/exam_scores_user.html @@ -1,9 +1,19 @@ +{% if view_all_results %} +{% extends 'physics/exams.html' %} +{% else %} {% extends 'physics/base.html' %} +{% endif %} {% block content %}

        Exam: {{ exam.name }}

        Candidate: {{ cid }}

        + {% if view_all_results %} + + + {% endif %} Answers:
          {% for question, ans in answers_and_marks %} diff --git a/physics/views.py b/physics/views.py index f9e37df6..c29cc4d7 100644 --- a/physics/views.py +++ b/physics/views.py @@ -146,6 +146,7 @@ def exam_scores_cid_user(request, pk, cid, passcode): "total_score": total_score, "max_score": max_score, "answers_and_marks": answers_and_marks, + "view_all_results": view_all_results, }, ) diff --git a/rapids/views.py b/rapids/views.py index 812f4018..e3e368c7 100755 --- a/rapids/views.py +++ b/rapids/views.py @@ -1038,6 +1038,7 @@ def exam_scores_cid_user(request, pk, cid, passcode): "normalised_score": normalised_score, "max_score": max_score, "answers_and_marks": answers_and_marks, + "view_all_results": view_all_results, }, ) diff --git a/sbas/views.py b/sbas/views.py index fe3589d5..eb1faab6 100644 --- a/sbas/views.py +++ b/sbas/views.py @@ -138,6 +138,7 @@ def exam_scores_cid_user(request, pk, cid, passcode): "total_score": total_score, "max_score": max_score, "answers_and_marks": answers_and_marks, + "view_all_results": view_all_results, }, ) From c337c666c495359efcc345aa38aa717cbbae51e6 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 18:18:27 +0000 Subject: [PATCH 21/25] . --- physics/templates/physics/exam_scores_user.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/physics/templates/physics/exam_scores_user.html b/physics/templates/physics/exam_scores_user.html index 28ca6822..796ebc2a 100644 --- a/physics/templates/physics/exam_scores_user.html +++ b/physics/templates/physics/exam_scores_user.html @@ -1,8 +1,4 @@ -{% if view_all_results %} -{% extends 'physics/exams.html' %} -{% else %} {% extends 'physics/base.html' %} -{% endif %} {% block content %}
          @@ -10,6 +6,7 @@

          Candidate: {{ cid }}

          {% if view_all_results %} From 0d8416f8e817e56faccbacae6fc34b23690cb4a0 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 18:19:45 +0000 Subject: [PATCH 22/25] . --- physics/templates/physics/exam_scores_user.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/physics/templates/physics/exam_scores_user.html b/physics/templates/physics/exam_scores_user.html index 796ebc2a..f538a3cc 100644 --- a/physics/templates/physics/exam_scores_user.html +++ b/physics/templates/physics/exam_scores_user.html @@ -6,8 +6,7 @@

          Candidate: {{ cid }}

          {% if view_all_results %} {% endif %} From d8af47c989659b498dea427303ede39dd1e64d53 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 18:21:17 +0000 Subject: [PATCH 23/25] . --- physics/templates/physics/exam_scores_user.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/physics/templates/physics/exam_scores_user.html b/physics/templates/physics/exam_scores_user.html index f538a3cc..328fcd02 100644 --- a/physics/templates/physics/exam_scores_user.html +++ b/physics/templates/physics/exam_scores_user.html @@ -5,10 +5,9 @@

          Exam: {{ exam.name }}

          Candidate: {{ cid }}

          {% if view_all_results %} - - + {% endif %} Answers:
            From b59f7206a8e8fe7a0d9e7c450bd610dc8a05fc1a Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 18:23:44 +0000 Subject: [PATCH 24/25] . --- generic/templates/generic/user_scores_head.html | 7 +++++++ physics/templates/physics/exam_scores_user.html | 9 ++------- 2 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 generic/templates/generic/user_scores_head.html diff --git a/generic/templates/generic/user_scores_head.html b/generic/templates/generic/user_scores_head.html new file mode 100644 index 00000000..45b56ffa --- /dev/null +++ b/generic/templates/generic/user_scores_head.html @@ -0,0 +1,7 @@ +

            Exam: {{ exam.name }}

            +

            Candidate: {{ cid }}

            +{% if view_all_results %} + +{% endif %} \ No newline at end of file diff --git a/physics/templates/physics/exam_scores_user.html b/physics/templates/physics/exam_scores_user.html index 328fcd02..faf9df70 100644 --- a/physics/templates/physics/exam_scores_user.html +++ b/physics/templates/physics/exam_scores_user.html @@ -2,13 +2,8 @@ {% block content %}
            -

            Exam: {{ exam.name }}

            -

            Candidate: {{ cid }}

            - {% if view_all_results %} - - {% endif %} + {% include 'generic/user_scores_header.html' %} + Answers:
              {% for question, ans in answers_and_marks %} From 7aeb9f97ae0d1d643c64bcc6c6a125d4f3ef5bdc Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 3 Jan 2022 18:24:43 +0000 Subject: [PATCH 25/25] . --- .../generic/{user_scores_head.html => user_scores_header.html} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename generic/templates/generic/{user_scores_head.html => user_scores_header.html} (100%) diff --git a/generic/templates/generic/user_scores_head.html b/generic/templates/generic/user_scores_header.html similarity index 100% rename from generic/templates/generic/user_scores_head.html rename to generic/templates/generic/user_scores_header.html