was trying to show user logged in - not working yet
[myslice.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 {% insert_str prelude "jquery/js/jquery.js" %}
10 {% insert_str prelude "bootstrap/js/bootstrap.js" %}
11 {% insert_str prelude "bootstrap/css/bootstrap.css" %}
12 {% insert_str prelude "js/plugin.js" %}
13 <script type="text/javascript">
14 {# In case we need to add raw js code - use {% insert prelude_js %} ... {% endinsert %} #}
15 {% container prelude_js %}
16 </script>
17 <style type="text/css">
18 {# In case we need to add raw css code #}
19 {% container prelude_css %}
20 </style>
21 </head>
22
23 {# let's add this one no matter what #}
24 {% insert_str prelude "css/myslice.css" %}
25
26 <body>
27
28 {% block container %}
29 <div id="container">
30
31   
32   {% block topmenu %}
33   {% include 'widget-topmenu.html' %}
34   {% endblock topmenu %}
35
36 <div class="container-fluid">
37   <div class="row-fluid">
38     <div id="content-main" class="span9 columns">
39       {% block content_main %}
40       "The main content area (define block 'content_main')"
41       {% endblock content_main %}
42     </div><!--span9-->
43     
44     <div id='content-related' class='span3'>
45       {% block content_related %}
46       "The related content area (define block 'related_main')"
47       {% endblock content_related %}
48     </div><!--span3-->
49   </div><!--raw-fluid-->
50 </div><!--container-fluid-->
51 {% endblock container %}
52
53 </body>
54 </html>