summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/showusers.html
diff options
context:
space:
mode:
authorPrabhu Ramachandran2013-04-27 15:28:28 +0530
committerPrabhu Ramachandran2013-04-27 15:28:28 +0530
commit8b6ac259503323bc3d8333382d3769e5d10f162a (patch)
tree5d260a3db043492ef731b4241cf0f07563591743 /testapp/templates/exam/showusers.html
parentfd044e4a9f08366c9425cb241b7452da2ba904e1 (diff)
parent5c7f66806e4be50985655b7c12bf3190ee91ae46 (diff)
downloadonline_test-8b6ac259503323bc3d8333382d3769e5d10f162a.tar.gz
online_test-8b6ac259503323bc3d8333382d3769e5d10f162a.tar.bz2
online_test-8b6ac259503323bc3d8333382d3769e5d10f162a.zip
Merge branch 'model_changes' of ...
https://github.com/hardythe1/online_test into master. Conflicts: production.cfg testapp/production.py
Diffstat (limited to 'testapp/templates/exam/showusers.html')
-rw-r--r--testapp/templates/exam/showusers.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/testapp/templates/exam/showusers.html b/testapp/templates/exam/showusers.html
new file mode 100644
index 0000000..01ecc37
--- /dev/null
+++ b/testapp/templates/exam/showusers.html
@@ -0,0 +1,26 @@
+{% extends "manage.html" %}
+
+
+{% block subtitle %}
+List of Users
+{% endblock %}
+
+{% block css %}
+<link rel="stylesheet" href="{{ URL_ROOT }}/static/exam/css/showusers.css" type="text/css" />
+{% endblock css %}
+
+
+{% block manage %}
+<center><table style="text-align:left;" class=table-class border=3>
+<th>Username
+<th>First Name
+<th>Last Name
+<th>Quiz Description
+{% for papers in question %}
+<tr><td><a href="{{URL_ROOT}}/exam/manage/gradeuser/{{ papers.user.username }}">{{ papers.user.username }}</a><br>
+ <td >{{ papers.user.first_name.title }}
+ <td>{{ papers.user.last_name.title }}
+ <td>{{ papers.question_paper.quiz.description }}
+{% endfor %}
+</table></center>
+{% endblock %}