summaryrefslogtreecommitdiff
path: root/testapp
diff options
context:
space:
mode:
authorhardythe12014-06-30 15:06:56 +0530
committerhardythe12014-06-30 15:06:56 +0530
commit87c791a8600033e197d53346a8e2be873bfaa884 (patch)
tree7a2df0c7e11598c3e703fd6a25450b68c57ddfac /testapp
parentb9afb77607c9b05171a8d1abfd3c39201974f141 (diff)
downloadonline_test-87c791a8600033e197d53346a8e2be873bfaa884.tar.gz
online_test-87c791a8600033e197d53346a8e2be873bfaa884.tar.bz2
online_test-87c791a8600033e197d53346a8e2be873bfaa884.zip
adding marks obtained & percentage
Diffstat (limited to 'testapp')
-rw-r--r--testapp/templates/exam/quizzes_user.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/testapp/templates/exam/quizzes_user.html b/testapp/templates/exam/quizzes_user.html
index a1204bd..c284b87 100644
--- a/testapp/templates/exam/quizzes_user.html
+++ b/testapp/templates/exam/quizzes_user.html
@@ -45,6 +45,9 @@
<table>
<th>Quiz</th>
<th>Result</th>
+ <th>Mraks Obtained</th>
+ <th>Total Marks</th>
+ <th>Percentage</th>
{% for paper in quizzes_taken %}
<tr>
<td>
@@ -57,6 +60,15 @@
<p>Fail</p>
{% endif %}
</td>
+ <td>
+ {{ paper.marks_obtained }}
+ </td>
+ <td>
+ {{ paper.question_paper.total_marks }}
+ </td>
+ <td>
+ {{ paper.percent }}
+ </td>
</tr>
{% endfor %}
</table>