summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/quit.html
diff options
context:
space:
mode:
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 %}