summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/quit.html
diff options
context:
space:
mode:
authorPrabhu Ramachandran2013-04-27 15:28:28 +0530
committerPrabhu Ramachandran2013-04-27 15:28:28 +0530
commit8b6ac259503323bc3d8333382d3769e5d10f162a (patch)
tree5d260a3db043492ef731b4241cf0f07563591743 /testapp/templates/exam/quit.html
parentfd044e4a9f08366c9425cb241b7452da2ba904e1 (diff)
parent5c7f66806e4be50985655b7c12bf3190ee91ae46 (diff)
downloadonline_test-8b6ac259503323bc3d8333382d3769e5d10f162a.tar.gz
online_test-8b6ac259503323bc3d8333382d3769e5d10f162a.tar.bz2
online_test-8b6ac259503323bc3d8333382d3769e5d10f162a.zip
Merge branch 'model_changes' of ...
https://github.com/hardythe1/online_test into master. Conflicts: production.cfg testapp/production.py
Diffstat (limited to 'testapp/templates/exam/quit.html')
-rw-r--r--testapp/templates/exam/quit.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/testapp/templates/exam/quit.html b/testapp/templates/exam/quit.html
index 37b5c08..fee11ed 100644
--- a/testapp/templates/exam/quit.html
+++ b/testapp/templates/exam/quit.html
@@ -1,14 +1,14 @@
{% extends "base.html" %}
{% block title %}Quit exam {% endblock %}
-
+{% block pagetitle %}Online Test {% endblock %}
{% block content %}
-<p>Your current answers are saved.</p>
-<p> Are you sure you wish to quit the exam?</p>
-<form action="{{URL_ROOT}}/exam/complete/" method="post">
-{% csrf_token %}
-<input type="submit" name="yes" value="Yes!" />
-<input type="submit" name="no" value="No!" />
-</form>
-{% endblock content %} \ No newline at end of file
+ <center><h4>Your current answers are saved.</h4></center>
+ <center><h4> Are you sure you wish to quit the exam?</h4></center>
+ <center><h4> Be sure, as you won't be able to restart this exam.</h4></center>
+ <form action="{{URL_ROOT}}/exam/complete/{{ id }}/" method="post">
+ {% csrf_token %}
+ <center><button class="btn" type="submit" name="yes">Yes!</button>&nbsp;<button class="btn" type="button" name="no" onClick="window.location='{{ URL_ROOT }}/exam/start/{{ id }}/'">No!</button></center>
+ </form>
+{% endblock content %}