diff options
Diffstat (limited to 'testapp/templates/exam')
-rw-r--r-- | testapp/templates/exam/complete.html | 26 | ||||
-rw-r--r-- | testapp/templates/exam/question.html | 5 | ||||
-rw-r--r-- | testapp/templates/exam/quit.html | 33 |
3 files changed, 55 insertions, 9 deletions
diff --git a/testapp/templates/exam/complete.html b/testapp/templates/exam/complete.html index 4c3f3d5..6790ea1 100644 --- a/testapp/templates/exam/complete.html +++ b/testapp/templates/exam/complete.html @@ -3,10 +3,28 @@ {% block title %}Good bye!{% endblock %} {% block content %} -<h2> Good bye! </h2> -<p> {{message}} </p> -<br /> -<p>You may now close the browser.</p> +<html lang="en"> + <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><h2> Good bye! </h2></center> + +<center><h4> {{message}} </h4></center> + +<center><h4>You may now close the browser.</h4></center> + +</div></div></div> +<footer> + <p>© FOSSEE group, IIT Bombay</p> + </footer> +</div> +</body> +</html> {% endblock content %} diff --git a/testapp/templates/exam/question.html b/testapp/templates/exam/question.html index eeb78c3..d843981 100644 --- a/testapp/templates/exam/question.html +++ b/testapp/templates/exam/question.html @@ -101,5 +101,10 @@ function update_time() <button class="btn" type="submit" name="quit">Quit Exam and Logout</button> <!--input type="submit" name="quit" value="Quit exam and logout" /--> </form> +</div></div></div> +<footer> + <p>© FOSSEE group, IIT Bombay</p> + </footer> +</div> </body> {% endblock content %} diff --git a/testapp/templates/exam/quit.html b/testapp/templates/exam/quit.html index 37b5c08..c31fd87 100644 --- a/testapp/templates/exam/quit.html +++ b/testapp/templates/exam/quit.html @@ -2,13 +2,36 @@ {% block title %}Quit exam {% endblock %} +<html lang="en"> + {% block content %} -<p>Your current answers are saved.</p> -<p> Are you sure you wish to quit the exam?</p> + <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 %} -<input type="submit" name="yes" value="Yes!" /> -<input type="submit" name="no" value="No!" /> + + +<center><button class="btn" type="submit" name="yes">Yes!</button> <button class="btn" type="submit" name="no">No!</button></center> + </form> -{% endblock content %}
\ No newline at end of file +</div> +</div> +</div> +<footer> + <p>© FOSSEE group, IIT Bombay</p> + </footer> +</div> +</body> +</html> +{% endblock content %} |