summaryrefslogtreecommitdiff
path: root/testapp/templates
diff options
context:
space:
mode:
authorhardythe12012-02-06 15:20:41 +0530
committerhardythe12012-02-06 15:20:41 +0530
commit493f228229d96dab4a13b21cf7d4d089fcf7b2fd (patch)
treed6fe09cf923ab53814ee8dcf37688ef8193eb2f0 /testapp/templates
parent6809186e406f96fa321b55060364bcaf7bfc4a99 (diff)
downloadonline_test-493f228229d96dab4a13b21cf7d4d089fcf7b2fd.tar.gz
online_test-493f228229d96dab4a13b21cf7d4d089fcf7b2fd.tar.bz2
online_test-493f228229d96dab4a13b21cf7d4d089fcf7b2fd.zip
removed <html> & <body> tags from the forms
Diffstat (limited to 'testapp/templates')
-rw-r--r--testapp/templates/exam/grade_user.html5
-rw-r--r--testapp/templates/exam/intro.html6
-rw-r--r--testapp/templates/exam/login.html8
-rw-r--r--testapp/templates/exam/quit.html46
-rw-r--r--testapp/templates/exam/register.html5
-rw-r--r--testapp/templates/exam/user_data.html6
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>&nbsp;<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>&nbsp;<button class="btn" type="submit" name="no">No!</button></center>
+ </form>
+ </div>
+ </div>
</div>
-<footer>
- <p>&copy; FOSSEE group, IIT Bombay</p>
- </footer>
+ <footer>
+ <p>&copy; 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 %}