summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/monitor.html
diff options
context:
space:
mode:
authorjayparikh1112012-03-13 18:44:01 +0530
committerjayparikh1112012-03-13 18:44:01 +0530
commita7c84a478789e9e835dcbb3ea41b1d519ba69b4d (patch)
treefc879bdd0b0eb58817275c0837126a06be81f96e /testapp/templates/exam/monitor.html
parent87862b8c8d7822a4578b5cb5f413bedb37454bd2 (diff)
downloadonline_test-a7c84a478789e9e835dcbb3ea41b1d519ba69b4d.tar.gz
online_test-a7c84a478789e9e835dcbb3ea41b1d519ba69b4d.tar.bz2
online_test-a7c84a478789e9e835dcbb3ea41b1d519ba69b4d.zip
minor changes for UI
Diffstat (limited to 'testapp/templates/exam/monitor.html')
-rw-r--r--testapp/templates/exam/monitor.html18
1 files changed, 12 insertions, 6 deletions
diff --git a/testapp/templates/exam/monitor.html b/testapp/templates/exam/monitor.html
index 9385e73..29cb6e9 100644
--- a/testapp/templates/exam/monitor.html
+++ b/testapp/templates/exam/monitor.html
@@ -7,17 +7,25 @@
{% block css %}
<link rel="stylesheet" href="{{ URL_ROOT }}/static/exam/css/question_quiz.css" type="text/css" />
{% endblock %}
-
+{% block subtitle %}
+ {% if not quizzes and not quiz %}
+ Quiz Results
+ {% endif %}
+ {% if quizzes %}
+ Available Quizzes
+ {% endif %}
+ {% if quiz %}
+ {{ quiz.description }} Results
+ {% endif %}
+{% endblock %}
{% block manage %}
{% if not quizzes and not quiz %}
- <h1><center> Quiz results </center></h1>
- <center><h5> No quizzes available. </h5></center>
+ <center><h5> No quizzes available. </h5></center>
{% endif %}
{# ############################################################### #}
{# This is rendered when we are just viewing exam/monitor #}
{% if quizzes %}
-<center><h1> Available quizzes </h1></center>
<ul>
{% for quiz in quizzes %}
<li><a href="{{URL_ROOT}}/exam/manage/monitor/{{quiz.id}}/">{{ quiz.description }}</a></li>
@@ -28,7 +36,6 @@
{# ############################################################### #}
{# This is rendered when we are just viewing exam/monitor/quiz_num #}
{% if quiz %}
-<center><h1> {{ quiz.description }} results </h1></center>
{% if papers %}
{# <p> Quiz: {{ quiz_name }}</p> #}
@@ -59,5 +66,4 @@
<p> No answer papers so far. </p>
{% endif %} {# if papers #}
{% endif %}
-<a href="{{URL_ROOT}}/admin/">Admin</a>
{% endblock %}