summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorPrabhu Ramachandran2011-11-17 17:35:30 +0530
committerPrabhu Ramachandran2011-11-17 17:35:30 +0530
commit9f674808a5681a0380531ff62079b94874641c1e (patch)
tree63fdb2f431d9fc68705e1170cc4e536a36c18169 /templates/base.html
parent78e18eae416a37fdb2e27d4dde7ed9675692ac7d (diff)
downloadonline_test-9f674808a5681a0380531ff62079b94874641c1e.tar.gz
online_test-9f674808a5681a0380531ff62079b94874641c1e.tar.bz2
online_test-9f674808a5681a0380531ff62079b94874641c1e.zip
BUG/ENH: Cleaning up page templates and fixing bug
If you complete the quiz it was going into a redirect loop, this is fixed. Also cleaned up all the page templates with proper block contents.
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..22e9ba2
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+
+<head>
+<title>
+{% block title %}
+{% endblock %}
+</title>
+{% block meta %}
+{% endblock%}
+{% block script %}
+{% endblock %}
+</head>
+
+<body {% block onload %}{% endblock %}>
+
+{% block content %}
+{% endblock %}
+
+</body>
+</html> \ No newline at end of file