a1129171cfda7a1a3e09b1883becec770ce60be4
[unfold.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 raw_js %}
14 </script>
15 <style type="text/css">
16 {# In case we need to add raw css code #}
17 {% container raw_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     {% endblock header %}
34     </div>
35
36     {% block column_wrap %}
37     <div id='column-wrap'>
38     <div id='content-main'>
39       {% block content_main %}
40       "The main content area (set block 'content_main')"
41       {% endblock content_main %}
42     </div>
43
44     <div id='content-related'>
45       {% block content_related %}
46       "The related content area (set block 'related_main')"
47       {% endblock content_related %}
48     </div>
49     </div>
50     {% endblock column_wrap %}
51
52 </div>
53 {% endblock container %}
54
55 </body>
56 </html>