# HG changeset patch # User Madhusudan.C.S # Date 1295212915 -19800 # Node ID b8b8337efbb803075f82f84ca1f749b687029448 # Parent 27cc6671193a93862b4109388801a92ea5316350 Restructure the entire base template and move the left sidebar to another subtemplate. diff -r 27cc6671193a -r b8b8337efbb8 pytask/templates/_left_sidebar.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pytask/templates/_left_sidebar.html Mon Jan 17 02:51:55 2011 +0530 @@ -0,0 +1,39 @@ +{% load user_tags %} + + + \ No newline at end of file diff -r 27cc6671193a -r b8b8337efbb8 pytask/templates/base.html --- a/pytask/templates/base.html Mon Jan 17 02:50:58 2011 +0530 +++ b/pytask/templates/base.html Mon Jan 17 02:51:55 2011 +0530 @@ -1,63 +1,64 @@ - {% block title %}PyTasks{% endblock %} - {% comment %}Load site wide CSS here. Additional styling must be - loaded in the block that follows{% endcomment %} - - - {% block css %} - {% endblock %} + + {% block title %}PyTasks{% endblock %} + + + {% comment %}Load site wide CSS here. Additional styling must be + loaded in the block that follows{% endcomment %} + + + + {% block css %} + {% endblock %} + + + {% comment %}Load site wide javascript here. Additional scripts must + be loaded in the block that follows{% endcomment %} - {% comment %}Load site wide javascript here. Additional scripts must - be loaded in the block that follows{% endcomment %} - - - {% block js %} - {% endblock %} + + + {% block js %} + {% endblock %} -{% load user_tags %} + + -
+
+
-
- -
-
- {% block content %}This is the default content{% endblock %} -
- -
-
+
+ {% include '_left_sidebar.html' %} + + {% block leftsidebar %} + {% comment %}Additional Left Sidebar elements go here{% endcomment %} + {% endblock leftsidebar %} +
+ +
+ {% block content %}This is the default content{% endblock content %} +
+ + + +
+