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/user_data.html | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) (limited to 'templates/exam/user_data.html') diff --git a/templates/exam/user_data.html b/templates/exam/user_data.html index c180983..c2e8014 100644 --- a/templates/exam/user_data.html +++ b/templates/exam/user_data.html @@ -6,12 +6,17 @@

Data for user {{ user_data.name.title }}

-

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 }} +

{% if user_data.papers %} @@ -19,11 +24,13 @@

Quiz: {{ paper.name }}

-

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 }} +

{% if paper.answers %}

Answers

-- cgit