not too bad
[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 - use {% insert prelude_js %} ... {% endinsert %} #}
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       <a id='menu_logo' href="/"><img class="logo" src="{{ STATIC_URL }}img/myslice-logo.png" alt="MySlice" /></a>
33       {% include 'mymenu.html' %}
34     {% endblock header %}
35     </div>
36
37     <div id='content-main'>
38       {% block content_main %}
39       "The main content area (set block 'content_main')"
40       {% endblock content_main %}
41     </div>
42
43     <div id='content-related'>
44       {% block content_related %}
45       "The related content area (set block 'related_main')"
46       {% endblock content_related %}
47     </div>
48
49 </div>
50 {% endblock container %}
51
52 </body>
53 </html>