diff options
Diffstat (limited to 'testapp/templates/exam/quit.html')
-rw-r--r-- | testapp/templates/exam/quit.html | 46 |
1 files changed, 19 insertions, 27 deletions
diff --git a/testapp/templates/exam/quit.html b/testapp/templates/exam/quit.html index c31fd87..3ee85db 100644 --- a/testapp/templates/exam/quit.html +++ b/testapp/templates/exam/quit.html @@ -2,36 +2,28 @@ {% block title %}Quit exam {% endblock %} -<html lang="en"> -{% block content %} - <body> - <div class="container"> - <div class="content"> -<div class="page-header"> -<h1><Strong><center>Online Test</center></strong></h1> -</div> - <div class=row> - <div class=span14> - - -<center><h4>Your current answers are saved.</h4></center> -<center><h4> Are you sure you wish to quit the exam?</h4></center> - -<form action="{{URL_ROOT}}/exam/complete/" method="post"> -{% csrf_token %} +{% block content %} -<center><button class="btn" type="submit" name="yes">Yes!</button> <button class="btn" type="submit" name="no">No!</button></center> - -</form> -</div> -</div> +<div class="container"> + <div class="content"> + <div class="page-header"> + <h1><Strong><center>Online Test</center></strong></h1> + </div> + <div class=row> + <div class=span14> + <center><h4>Your current answers are saved.</h4></center> + <center><h4> Are you sure you wish to quit the exam?</h4></center> + <form action="{{URL_ROOT}}/exam/complete/" method="post"> + {% csrf_token %} + <center><button class="btn" type="submit" name="yes">Yes!</button> <button class="btn" type="submit" name="no">No!</button></center> + </form> + </div> + </div> </div> -<footer> - <p>© FOSSEE group, IIT Bombay</p> - </footer> + <footer> + <p>© FOSSEE group, IIT Bombay</p> + </footer> </div> -</body> -</html> {% endblock content %} |