summaryrefslogtreecommitdiff
path: root/templates/exam
diff options
context:
space:
mode:
Diffstat (limited to 'templates/exam')
-rw-r--r--templates/exam/complete.html2
-rw-r--r--templates/exam/monitor.html6
-rw-r--r--templates/exam/question.html8
3 files changed, 9 insertions, 7 deletions
diff --git a/templates/exam/complete.html b/templates/exam/complete.html
index e42704f..ded38f7 100644
--- a/templates/exam/complete.html
+++ b/templates/exam/complete.html
@@ -1,3 +1,3 @@
-<p>Quiz is complete. Thank you. </p>
+<p>Exam is complete. Thank you. </p>
<br />
<p>You may now close the browser.</p>
diff --git a/templates/exam/monitor.html b/templates/exam/monitor.html
index 12360a2..f1c7779 100644
--- a/templates/exam/monitor.html
+++ b/templates/exam/monitor.html
@@ -2,12 +2,12 @@
<meta http-equiv="refresh" content="30"/>
-{% if quiz_list %}
+{% if paper_list %}
<table border="1" cellpadding="3">
<tr>
<th>Student </th> <th> Roll number </th> <th>Questions answered</th> <th>Total marks</th>
</tr>
- {% for paper in quiz_list %}
+ {% for paper in paper_list %}
<tr>
<td> {{ paper.username }} </td>
<td> {{ paper.rollno }} </td>
@@ -18,6 +18,6 @@
{% endfor %}
</table>
{% else %}
- <p> No quizzes so far. </p>
+ <p> No answer papers so far. </p>
{% endif %}
diff --git a/templates/exam/question.html b/templates/exam/question.html
index 1798606..75e5a62 100644
--- a/templates/exam/question.html
+++ b/templates/exam/question.html
@@ -1,6 +1,7 @@
<h2> {{ question.summary }} </h2>
-<script language="javascript">
+<script type="text/javascript">
+<!--
function submitCode()
{
document.forms["code"].submit();
@@ -11,6 +12,7 @@ function submitCode()
x.value = "Checking Answer ...";
document.getElementById("skip").disabled = true;
}
+//-->
</script>
<p>{{ question.description }} </p>
@@ -29,11 +31,11 @@ function submitCode()
<br/>
<input id="check" type="submit" name="check" value="Check Answer"
-onclick="javascript:submitCode();"/>
+onclick="submitCode();"/>
<input id="skip" type="submit" name="skip" value="Skip question" />
</form>
-<p> {{ user.first_name.title }} {{ user.last_name.title }}, you have {{ quiz.questions_left }} question(s) left. </p>
+<p> {{ user.first_name.title }} {{ user.last_name.title }}, you have {{ paper.questions_left }} question(s) left. </p>
<hr/>
<form action="/exam/quit/" method="post">