diff options
Diffstat (limited to 'testapp/templates/exam')
-rw-r--r-- | testapp/templates/exam/grade_user.html | 5 | ||||
-rw-r--r-- | testapp/templates/exam/intro.html | 6 | ||||
-rw-r--r-- | testapp/templates/exam/login.html | 8 | ||||
-rw-r--r-- | testapp/templates/exam/quit.html | 46 | ||||
-rw-r--r-- | testapp/templates/exam/register.html | 5 | ||||
-rw-r--r-- | testapp/templates/exam/user_data.html | 6 |
6 files changed, 24 insertions, 52 deletions
diff --git a/testapp/templates/exam/grade_user.html b/testapp/templates/exam/grade_user.html index 2237475..89faf46 100644 --- a/testapp/templates/exam/grade_user.html +++ b/testapp/templates/exam/grade_user.html @@ -3,8 +3,7 @@ {% block title %} Grading papers for {{ data.user.get_full_name.title }} {% endblock title %} {% block content %} -<html lang="en"> - <body> + <div class="container"> <div class="content"> <div class="page-header"> @@ -99,6 +98,4 @@ Marks: <input id="q{{ question.id }}" type="text" </div> <!-- /container --> - </body> -</html> {% endblock content %} diff --git a/testapp/templates/exam/intro.html b/testapp/templates/exam/intro.html index 2306fb7..35a6923 100644 --- a/testapp/templates/exam/intro.html +++ b/testapp/templates/exam/intro.html @@ -3,8 +3,7 @@ {% block title %}Instructions and Rules {% endblock %} {% block content %} -<html lang="en"> - <body> + <div class="container"> <div class="content"> <div class="page-header"> @@ -68,7 +67,4 @@ carefully. </div> <!-- /container --> - </body> -</html> - {% endblock content %} diff --git a/testapp/templates/exam/login.html b/testapp/templates/exam/login.html index 9420903..770ceb4 100644 --- a/testapp/templates/exam/login.html +++ b/testapp/templates/exam/login.html @@ -3,8 +3,7 @@ {% block title %}Login{% endblock title %} {% block content %} -<html lang="en"> - <body> + <div class="container"> <div class="content"> <div class="page-header"> @@ -44,8 +43,5 @@ </div> <!-- /container --> - </body> -</html> - -{% endblock content %}
\ No newline at end of file +{% endblock content %} 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 %} diff --git a/testapp/templates/exam/register.html b/testapp/templates/exam/register.html index a90f21c..1555ab3 100644 --- a/testapp/templates/exam/register.html +++ b/testapp/templates/exam/register.html @@ -4,7 +4,6 @@ {% block content %} -<body> <div class="container"> <div class="content"> <div class="page-header"> @@ -16,8 +15,6 @@ <form action="" method="post"> {% csrf_token %} - - <center><table class=span1> {{ form.as_table }} </table></center> @@ -33,7 +30,5 @@ </div> <!-- /container --> - </body> -</html> {% endblock content %} diff --git a/testapp/templates/exam/user_data.html b/testapp/templates/exam/user_data.html index 8026a73..b9cbbb5 100644 --- a/testapp/templates/exam/user_data.html +++ b/testapp/templates/exam/user_data.html @@ -3,8 +3,7 @@ {% block title %} Data for user {{ data.user.get_full_name.title }} {% endblock title %} {% block content %} -<html lang="en"> - <body> + <div class="container"> <div class="content"> <div class="page-header"> @@ -100,7 +99,4 @@ User IP address: {{ paper.user_ip }} </div> <!-- /container --> - </body> -</html> - {% endblock content %} |