summaryrefslogtreecommitdiff
path: root/templates/exam/monitor.html
diff options
context:
space:
mode:
authorPrabhu Ramachandran2011-11-17 17:35:30 +0530
committerPrabhu Ramachandran2011-11-17 17:35:30 +0530
commit9f674808a5681a0380531ff62079b94874641c1e (patch)
tree63fdb2f431d9fc68705e1170cc4e536a36c18169 /templates/exam/monitor.html
parent78e18eae416a37fdb2e27d4dde7ed9675692ac7d (diff)
downloadonline_test-9f674808a5681a0380531ff62079b94874641c1e.tar.gz
online_test-9f674808a5681a0380531ff62079b94874641c1e.tar.bz2
online_test-9f674808a5681a0380531ff62079b94874641c1e.zip
BUG/ENH: Cleaning up page templates and fixing bug
If you complete the quiz it was going into a redirect loop, this is fixed. Also cleaned up all the page templates with proper block contents.
Diffstat (limited to 'templates/exam/monitor.html')
-rw-r--r--templates/exam/monitor.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/exam/monitor.html b/templates/exam/monitor.html
index f1c7779..d79bb35 100644
--- a/templates/exam/monitor.html
+++ b/templates/exam/monitor.html
@@ -1,6 +1,12 @@
+{% extends "base.html" %}
+
+{% block title %} Quiz results {% endblock title %}
+
+{% block meta %} <meta http-equiv="refresh" content="30"/> {% endblock meta %}
+
+{% block content %}
<h1> Current quiz results </h1>
-<meta http-equiv="refresh" content="30"/>
{% if paper_list %}
<table border="1" cellpadding="3">
@@ -21,3 +27,4 @@
<p> No answer papers so far. </p>
{% endif %}
+{% endblock content %}