summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/view_answerpaper.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/yaksh/templates/yaksh/view_answerpaper.html b/yaksh/templates/yaksh/view_answerpaper.html
index a213d7b..9227561 100644
--- a/yaksh/templates/yaksh/view_answerpaper.html
+++ b/yaksh/templates/yaksh/view_answerpaper.html
@@ -23,6 +23,13 @@
Questions correctly answered: {{ paper.get_answered_str }} <br/>
Marks obtained: {{ paper.marks_obtained }} <br/>
Start time: {{ paper.start_time }} <br/>
+ End time : {{ paper.end_time }} <br/>
+ Percentage obtained: {{ paper.percent }}% <br/>
+ {% if paper.passed == 0 %}
+ Status : <b style="color: red;"> Failed </b><br/>
+ {% else %}
+ Status : <b style="color: green;"> Passed </b><br/>
+ {% endif %}
</p>
{% if paper.answers.count %}
@@ -40,7 +47,7 @@
{% if question.type == "mcq" or question.type == "mcc" %}
<h5> <u>Choices:</u></h5>
{% for testcase in question.get_test_cases %}
- <br/><strong>{{ forloop.counter }}. &nbsp{{ testcase.options }}</strong>
+ <br/><strong>{{ forloop.counter }}. {{ testcase.options }}</strong>
{% endfor %}
{%endif%}