f8cdc10b88edb13fc297bea83f9b6d22350383a5
[unfold.git] / templates / layout-myslice.html
1 {# This is required by insert_above #}
2 {% insert_handler %}
3 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
4 <html lang="en"> <head>
5 <title> MySlice - {{ title }} </title>
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 {# This is where insert_str will end up #}
8 {% media_container prelude %}
9 <script type="text/javascript">
10 {# In case we need to add raw js code - use {% insert prelude_js %} ... {% endinsert %} #}
11 {% container prelude_js %}
12 </script>
13 <style type="text/css">
14 {# In case we need to add raw css code #}
15 {% container prelude_css %}
16 </style>
17 {{ header_prelude }}
18 </head>
19
20 {# let's add these ones no matter what #}
21 {% insert_str prelude "jquery/js/jquery.js" %}
22 {% insert_str prelude "bootstrap/js/bootstrap.js" %}
23 {% insert_str prelude "bootstrap/css/bootstrap.css" %}
24 {% insert_str prelude "js/plugin.js" %}
25 {% insert_str prelude "css/myslice.css" %}
26
27 <body>
28
29 {% block container %}
30 <div id="container">
31
32   
33   {% block topmenu %}
34   {% include 'widget-topmenu.html' %}
35   {% endblock topmenu %}
36
37 <div class="container-fluid">
38   <div class="row-fluid">
39     <div id="content-main" class="span9 columns">
40       {% block content_main %}
41       "The main content area (define block 'content_main')"
42       {% endblock content_main %}
43     </div><!--span9-->
44     
45     <div id='content-related' class='span3'>
46       {% block content_related %}
47       "The related content area (define block 'related_main')"
48       {% endblock content_related %}
49     </div><!--span3-->
50   </div><!--raw-fluid-->
51 </div><!--container-fluid-->
52 {% endblock container %}
53
54 </body>
55 </html>