fc9d3c9f5d638bc39a5444023e342e63e6ccf1e8
[myslice.git] / myslice / templates / myslice.html
1 {# This is required by insert_above #}
2 {% insert_handler %}
3 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
4 <html> <head>
5 <title> MySlice - slice page with python var foo = {{ foo|default:"foo is undefined"}} </title>
6 {# This is where insert_str will end up #}
7 {% media_container prelude %}
8 {% insert_str prelude "jquery/jquery.js" %}
9 {% insert_str prelude "bootstrap/js/bootstrap.js" %}
10 {% insert_str prelude "bootstrap/css/bootstrap.css" %}
11 <script type="text/javascript">
12 {# In case we need to add raw js code #}
13 {% container prelude_js %}
14 </script>
15 <style type="text/css">
16 {# In case we need to add raw css code #}
17 {% container prelude_css %}
18 </style>
19 </head>
20
21 {# let's add this one no matter what #}
22 {% insert_str prelude "css/myslice.css" %}
23 {% insert_str prelude "css/miscell.css" %}
24
25 <body>
26
27 {% block container %}
28 <div id='container'>
29
30     <div id='header'>
31     {% block header %}
32       {% include 'mymenu.html' %}
33       {% include 'logo.html' %}
34     {% endblock header %}
35     </div>
36
37     {% block column_wrap %}
38     <div id='column-wrap'>
39     <div id='content-main'>
40       {% block content_main %}
41       "The main content area (set block 'content_main')"
42       {% endblock content_main %}
43     </div>
44
45     <div id='content-related'>
46       {% block content_related %}
47       "The related content area (set block 'related_main')"
48       {% endblock content_related %}
49     </div>
50     </div>
51     {% endblock column_wrap %}
52
53 </div>
54 {% endblock container %}
55
56 </body>
57 </html>