summaryrefslogtreecommitdiff
path: root/templates/exam/user_data.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/exam/user_data.html')
-rw-r--r--templates/exam/user_data.html29
1 files changed, 18 insertions, 11 deletions
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 @@
<h1> Data for user {{ user_data.name.title }} </h1>
-<p> Name: {{ user_data.name.title }} </p>
-<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>
+<p>
+Name: {{ user_data.name.title }} <br/>
+Username: {{ user_data.username }} <br/>
+Roll number: {{ user_data.rollno }} <br/>
+Email: {{ user_data.email }} <br/>
+Position: {{ user_data.position }} <br/>
+Department: {{ user_data.department }} <br/>
+Institute: {{ user_data.institute }} <br/>
+Date joined: {{ user_data.date_joined }} <br/>
+Last login: {{ user_data.last_login }}
+</p>
{% if user_data.papers %}
@@ -19,11 +24,13 @@
<h2> Quiz: {{ paper.name }} </h2>
-<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>
+<p>
+Answered questions: {{ paper.answered }} <br/>
+Total attempts at questions: {{ paper.attempts }} <br/>
+Total marks: {{ paper.total }} <br/>
+Start time: {{ paper.start_time }} <br/>
+User IP address: {{ paper.user_ip }}
+</p>
{% if paper.answers %}
<h3> Answers </h3>