From 9203ecfb2c40510ba65b64dcce5f8b42f4f22a3f Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 9 Sep 2021 13:12:52 +0100 Subject: [PATCH] . --- longs/templates/longs/exam_scores_user.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/longs/templates/longs/exam_scores_user.html b/longs/templates/longs/exam_scores_user.html index 2cd20fcf..51792960 100644 --- a/longs/templates/longs/exam_scores_user.html +++ b/longs/templates/longs/exam_scores_user.html @@ -2,7 +2,9 @@ {% block content %}
- Question 1 + Question 1
+ History: + Images:
Answers:
@@ -82,6 +84,12 @@ $(".question-display-block .answers").empty().append(data.answers.toString()); n = parseInt(question_number) + 1 $(".question-display-block .question-number").empty().append(n); + $("#history").empty().append(data.title); + $("#series").empty(); + data.image_titles.forEach((element, index) => { + $("#series").append(`${index}: ${element}`); + + }) // show some message according to the response. // For eg. A message box showing that the status has been changed })