From f49b5644b5c4cc2db40d810b3e2b2e4191033c06 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Thu, 21 May 2015 18:41:59 +0530 Subject: Add Multiple Features based on feedback - Remove Attempt later button on last question - Improve mechanism for cycling through - Add attempt summary on Quit or Completion - Fix error paginator not displaying on error --- testapp/exam/templates/exam/complete.html | 27 ++++++++++++++++++++++++--- testapp/exam/templates/exam/question.html | 5 +++-- testapp/exam/templates/exam/quit.html | 29 +++++++++++++++++++++++++---- 3 files changed, 52 insertions(+), 9 deletions(-) (limited to 'testapp/exam/templates') diff --git a/testapp/exam/templates/exam/complete.html b/testapp/exam/templates/exam/complete.html index 1d5df3c..08abe76 100644 --- a/testapp/exam/templates/exam/complete.html +++ b/testapp/exam/templates/exam/complete.html @@ -5,8 +5,29 @@ {% block pagetitle %}Online Test{% endblock %} {% block content %} {% csrf_token %} -
Submitted Questions | +
+ {% if submitted %}
+ {{ submitted|join:", " }}
+ {% else %}
+ No Questions have been Submitted + {% endif %} + |
Unattempted Questions | +
+ {% if unattempted %}
+ {{ unattempted|join:", " }}
+ {% else %}
+ All Questions have been Submitted + {% endif %} + |