From 2acb62174ab2cac9c7a88faafcb5f0a22a54db6f Mon Sep 17 00:00:00 2001 From: Mike Chen Date: Sun, 5 Jul 2009 10:23:06 +0800 Subject: initiliaze git rep --- templates/base.html | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 templates/base.html (limited to 'templates/base.html') diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 00000000..3ed3b3f4 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,82 @@ +{% load extra_filters %} + + + + {% block title %}{% endblock %} - CNProg.com 程序员问答社区 + {% spaceless %} + {% block meta %}{% endblock %} + {% endspaceless %} + + + + + + + + + + {% with request.user.get_messages as messages%} + {% if messages %} + + + + {% endif %} + {% endwith %} + + {% block forejs %} + {% endblock %} + + + + {% include "header.html" %} +
+
+
+ {% block content%} + {% endblock%} + +
+ +
+ {% block sidebar%} + {% endblock%} + +
+
+ {% block tail %} + {% endblock %} +
+
+
+
+ {% include "footer.html" %} + {% block endjs %} + {% endblock %} + + -- cgit v1.2.3-1-g7c22