very rough layout with header/content-main/content-related
[myslice.git] / myslice / templates / myslice.html
diff --git a/myslice/templates/myslice.html b/myslice/templates/myslice.html
new file mode 100644 (file)
index 0000000..1a49a39
--- /dev/null
@@ -0,0 +1,53 @@
+{# This is required by insert_above #}
+{% insert_handler %}
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html> <head>
+<title> MySlice - slice page with python var foo = {{ foo|default:"foo is undefined"}} </title>
+{# This is where insert_str will end up #}
+{% media_container prelude %}
+<script type="text/javascript">
+{# In case we need to add raw js code #}
+{% container raw_js %}
+</script>
+<style type="text/css">
+{# In case we need to add raw css code #}
+{% container raw_css %}
+</style>
+</head>
+
+{# let's add this one no matter what #}
+{% insert_str prelude "css/myslice.css" %}
+{% insert_str prelude "css/miscell.css" %}
+
+<body>
+
+{% block container %}
+<div id='container'>
+
+    <div id='header'>
+    {% block header %}
+      {% include 'mymenu.html' %}
+    {% endblock header %}
+    </div>
+
+    {% block column_wrap %}
+    <div id='column-wrap'>
+    <div id='content-main'>
+      {% block content_main %}
+      "The main content area (set block 'content_main')"
+      {% endblock content_main %}
+    </div>
+
+    <div id='content-related'>
+      {% block content_related %}
+      "The related content area (set block 'related_main')"
+      {% endblock content_related %}
+    </div>
+    </div>
+    {% endblock column_wrap %}
+
+</div>
+{% endblock container %}
+
+</body>
+</html>