summaryrefslogtreecommitdiff
path: root/yaksh/templates/exam.html
diff options
context:
space:
mode:
authorPrabhu Ramachandran2018-01-08 19:13:49 +0530
committerGitHub2018-01-08 19:13:49 +0530
commitd1cc992eb7dc1a23b866ed89baf602579637244a (patch)
treefb576bab292844f34d4fc5b5389a9a68d2056e52 /yaksh/templates/exam.html
parentf457585ea62ec76240edb9397c7f08a46f25947c (diff)
parentf0fafed7ba0002369f528a901d9e5590f5bd3bea (diff)
downloadonline_test-d1cc992eb7dc1a23b866ed89baf602579637244a.tar.gz
online_test-d1cc992eb7dc1a23b866ed89baf602579637244a.tar.bz2
online_test-d1cc992eb7dc1a23b866ed89baf602579637244a.zip
Merge pull request #415 from maheshgudi/yaksh_ui_changes
See previous questions in exercise and other bug fixes
Diffstat (limited to 'yaksh/templates/exam.html')
-rw-r--r--yaksh/templates/exam.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html
index ce1d3b8..012adbe 100644
--- a/yaksh/templates/exam.html
+++ b/yaksh/templates/exam.html
@@ -60,6 +60,10 @@
{% else %}
{% if qid.id == question.id %}
<li class="active"><a style="width:25%" data-toggle="tooltip" title="{{ qid.description|striptags }}">{{ forloop.counter }}</a></li>
+ {% elif qid in paper.get_questions_answered %}
+ <li><a style="background-color:#B4B8BA; width:25%" href="#" data-toggle="tooltip"
+ onclick="call_skip('{{ URL_ROOT }}/exam/{{ question.id }}/skip/{{ qid.id }}/{{ paper.attempt_number }}/{{ module.id }}/{{ paper.question_paper.id }}/{{course.id}}/')"
+ title="{{ qid.description }}">{{ forloop.counter }}</a></li>
{% else %}
<li class="disabled"><a style="width:25%" data-toggle="tooltip" title="{{ qid.description|striptags }}">{{ forloop.counter }}</a></li>
{% endif %}