diff options
author | Prabhu Ramachandran | 2011-11-21 13:39:00 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2011-11-21 13:39:00 +0530 |
commit | 948010603065f72c83dbbb871154f17da3332b4f (patch) | |
tree | df308b088a6931e33561a5be79413886742f8561 /templates | |
parent | 49ce8322b9e9cc3104795510173ab484a3e6c593 (diff) | |
download | online_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.html | 4 |
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> |