summaryrefslogtreecommitdiff
path: root/testapp/templates
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/templates')
-rw-r--r--testapp/templates/exam/monitor.html4
-rw-r--r--testapp/templates/exam/show_quiz.html1
-rw-r--r--testapp/templates/exam/showusers.html2
-rw-r--r--testapp/templates/manage.html4
4 files changed, 7 insertions, 4 deletions
diff --git a/testapp/templates/exam/monitor.html b/testapp/templates/exam/monitor.html
index a802de2..60814c7 100644
--- a/testapp/templates/exam/monitor.html
+++ b/testapp/templates/exam/monitor.html
@@ -55,9 +55,9 @@ table tbody th {
</tr>
{% for paper in papers %}
<tr>
- <td> <a href="{{URL_ROOT}}/exam/user_data/{{paper.user.username}}">
+ <td> <a href="{{URL_ROOT}}/exam/manage/user_data/{{paper.user.username}}">
{{ paper.user.get_full_name.title }}</a> </td>
- <td> <a href="{{URL_ROOT}}/exam/user_data/{{paper.user.username}}">
+ <td> <a href="{{URL_ROOT}}/exam/manage/user_data/{{paper.user.username}}">
{{ paper.user.username }}</a> </td>
<td> {{ paper.profile.roll_number }} </td>
<td> {{ paper.profile.institute }} </td>
diff --git a/testapp/templates/exam/show_quiz.html b/testapp/templates/exam/show_quiz.html
index 2e9059d..001b2fe 100644
--- a/testapp/templates/exam/show_quiz.html
+++ b/testapp/templates/exam/show_quiz.html
@@ -33,6 +33,7 @@ function my_confirm(frm)
<center><h3>Quiz List</h3></center>
<form method="post" action="" name='frm'>
{% csrf_token %}
+
{% for quiz in quizzes %}
<input type=checkbox name='quiz' value={{quiz.id}} />&nbsp;&nbsp;<a href="{{URL_ROOT}}/exam/manage/addquiz/{{quiz.id}}/">{{ quiz.description }}</a><br>
diff --git a/testapp/templates/exam/showusers.html b/testapp/templates/exam/showusers.html
index 038cb8b..441b921 100644
--- a/testapp/templates/exam/showusers.html
+++ b/testapp/templates/exam/showusers.html
@@ -8,6 +8,6 @@ List of Users
{% block manage %}
{% for name in user %}
-<a href="{{URL_ROOT}}/exam/manage/grade_user/{{ name }}">{{ name }}</a><br>
+<a href="{{URL_ROOT}}/exam/manage/gradeuser/{{ name }}">{{ name }}</a><br>
{% endfor %}
{% endblock %}
diff --git a/testapp/templates/manage.html b/testapp/templates/manage.html
index 0cc47ae..c7c6fa1 100644
--- a/testapp/templates/manage.html
+++ b/testapp/templates/manage.html
@@ -7,7 +7,9 @@
<div class="container">
<div class="content">
<div class="page-header">
- <h1><Strong><center>Online Test</center></strong></h1>
+ <font size=6><strong>Online Test</font></strong>
+ <button class="btn pull-right" type="submit" onClick='location.replace("{{URL_ROOT}}/exam/complete/");'>Log out</button>
+
</div>
<div class=row>