summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorPrabhu Ramachandran2011-11-21 13:39:00 +0530
committerPrabhu Ramachandran2011-11-21 13:39:00 +0530
commit948010603065f72c83dbbb871154f17da3332b4f (patch)
treedf308b088a6931e33561a5be79413886742f8561 /templates
parent49ce8322b9e9cc3104795510173ab484a3e6c593 (diff)
downloadonline_test-948010603065f72c83dbbb871154f17da3332b4f.tar.gz
online_test-948010603065f72c83dbbb871154f17da3332b4f.tar.bz2
online_test-948010603065f72c83dbbb871154f17da3332b4f.zip
ENH: Showing login and IP details of users.
Also cleaned up the dumping code to use templates.
Diffstat (limited to 'templates')
-rw-r--r--templates/exam/user_data.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/exam/user_data.html b/templates/exam/user_data.html
index 7560903..a2649fb 100644
--- a/templates/exam/user_data.html
+++ b/templates/exam/user_data.html
@@ -10,6 +10,8 @@
<p> Username: {{ user_data.username }} </p>
<p> Roll number: {{ user_data.rollno }} </p>
<p> Email: {{ user_data.email }} </p>
+<p> Date joined: {{ user_data.date_joined }} </p>
+<p> Last login: {{ user_data.last_login }} </p>
{% if user_data.papers %}
@@ -20,6 +22,8 @@
<p> Answered questions: {{ paper.answered }} </p>
<p> Total attempts at questions: {{ paper.attempts }} </p>
<p> Total marks: {{ paper.total }} </p>
+<p> Start time: {{ paper.start_time }} </p>
+<p> User IP address: {{ paper.user_ip }} </p>
{% if paper.answers %}
<h3> Answers </h3>