.
This commit is contained in:
@@ -111,9 +111,7 @@
|
|||||||
let end_time = new Date({{cid_user_exam.start_time|date:"U"}}*1000+parseInt('{{exam.time_limit}}')*1000);
|
let end_time = new Date({{cid_user_exam.start_time|date:"U"}}*1000+parseInt('{{exam.time_limit}}')*1000);
|
||||||
initializeClock("clockdiv", end_time);
|
initializeClock("clockdiv", end_time);
|
||||||
}
|
}
|
||||||
{% elif cid_user_exam.completed %}
|
{% elif exam.publish_results %}
|
||||||
$(`ol.physics-answer-list input`).each((n, el) => { el.disabled = true; });
|
|
||||||
{% elif exam.publish_result %}
|
|
||||||
$(`ol.physics-answer-list input`).each((n, el) => { el.disabled = true; });
|
$(`ol.physics-answer-list input`).each((n, el) => { el.disabled = true; });
|
||||||
{{question.get_answers_js}}.forEach((el, n) => {
|
{{question.get_answers_js}}.forEach((el, n) => {
|
||||||
console.log(el)
|
console.log(el)
|
||||||
@@ -133,6 +131,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
{% elif cid_user_exam.completed %}
|
||||||
|
$(`ol.physics-answer-list input`).each((n, el) => { el.disabled = true; });
|
||||||
//$("ul.physics-answer-list li[data-ans='{{question.best_answer}}']").addClass("correct");
|
//$("ul.physics-answer-list li[data-ans='{{question.best_answer}}']").addClass("correct");
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user