From 4df6fb51be0661aaf0f852e4f2bedc2bb72e1eef Mon Sep 17 00:00:00 2001 From: Prabhu Ramachandran Date: Mon, 21 Nov 2011 15:46:54 +0530 Subject: ENH: Adding dept/insti/pos fields in profile. Adding institute/department/position fields, prettifying form with some help text. Also prettified monitor and user data. Updated commands to show/dump new fields. --- templates/exam/monitor.html | 2 ++ templates/exam/user_data.html | 29 ++++++++++++++++++----------- 2 files changed, 20 insertions(+), 11 deletions(-) (limited to 'templates') diff --git a/templates/exam/monitor.html b/templates/exam/monitor.html index a9eac24..1ce6c69 100644 --- a/templates/exam/monitor.html +++ b/templates/exam/monitor.html @@ -38,6 +38,7 @@
Name: {{ user_data.name.title }}
-Username: {{ user_data.username }}
-Roll number: {{ user_data.rollno }}
-Email: {{ user_data.email }}
-Date joined: {{ user_data.date_joined }}
-Last login: {{ user_data.last_login }}
+
+Name: {{ user_data.name.title }}
+Username: {{ user_data.username }}
+Roll number: {{ user_data.rollno }}
+Email: {{ user_data.email }}
+Position: {{ user_data.position }}
+Department: {{ user_data.department }}
+Institute: {{ user_data.institute }}
+Date joined: {{ user_data.date_joined }}
+Last login: {{ user_data.last_login }}
+
Answered questions: {{ paper.answered }}
-Total attempts at questions: {{ paper.attempts }}
-Total marks: {{ paper.total }}
-Start time: {{ paper.start_time }}
-User IP address: {{ paper.user_ip }}
+
+Answered questions: {{ paper.answered }}
+Total attempts at questions: {{ paper.attempts }}
+Total marks: {{ paper.total }}
+Start time: {{ paper.start_time }}
+User IP address: {{ paper.user_ip }}
+