summaryrefslogtreecommitdiff
path: root/testapp/templates
diff options
context:
space:
mode:
authorhardythe12012-03-19 14:35:56 +0530
committerhardythe12012-03-19 14:35:56 +0530
commit0e6e72fb37f1a586728c997cd5e9c5fadf794823 (patch)
treedcf5891a15d2a8e1b2293936ae88e8df4e066936 /testapp/templates
parent1387db498369739d7637cea7601af86135b7f40a (diff)
downloadonline_test-0e6e72fb37f1a586728c997cd5e9c5fadf794823.tar.gz
online_test-0e6e72fb37f1a586728c997cd5e9c5fadf794823.tar.bz2
online_test-0e6e72fb37f1a586728c997cd5e9c5fadf794823.zip
Changes in the Gradeuser Page
Diffstat (limited to 'testapp/templates')
-rw-r--r--testapp/templates/exam/showusers.html17
1 files changed, 15 insertions, 2 deletions
diff --git a/testapp/templates/exam/showusers.html b/testapp/templates/exam/showusers.html
index 441b921..603af8a 100644
--- a/testapp/templates/exam/showusers.html
+++ b/testapp/templates/exam/showusers.html
@@ -5,9 +5,22 @@
List of Users
{% endblock %}
+{% block css %}
+<link rel="stylesheet" href="{{ URL_ROOT }}/static/exam/css/showusers.css" type="text/css" />
+{% endblock css %}
+
{% block manage %}
-{% for name in user %}
-<a href="{{URL_ROOT}}/exam/manage/gradeuser/{{ name }}">{{ name }}</a><br>
+<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.quiz.description }}
{% endfor %}
+</table></center>
{% endblock %}