configure manifold server in myslice/config.py
[unfold.git] / templates / layout-myslice.html
index de2792e..d7a1565 100644 (file)
@@ -2,14 +2,10 @@
 {% insert_handler %}
 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
 <html lang="en"> <head>
-<title> MySlice - slice page with python var foo = {{ foo|default:"foo is undefined"}} </title>
+<title> MySlice - {{ title }} </title>
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 {# This is where insert_str will end up #}
 {% media_container prelude %}
-{% insert_str prelude "jquery/js/jquery.js" %}
-{% insert_str prelude "bootstrap/js/bootstrap.js" %}
-{% insert_str prelude "bootstrap/css/bootstrap.css" %}
-{% insert_str prelude "js/plugin.js" %}
 <script type="text/javascript">
 {# In case we need to add raw js code - use {% insert prelude_js %} ... {% endinsert %} #}
 {% container prelude_js %}
 {# In case we need to add raw css code #}
 {% container prelude_css %}
 </style>
+{{ header_prelude }}
 </head>
 
-{# let's add this one no matter what #}
+{# let's add these ones no matter what #}
+{% insert_str prelude "jquery/js/jquery.js" %}
+{% insert_str prelude "js/plugin_init.js" %}
 {% insert_str prelude "css/myslice.css" %}
 
 <body>
 
 {% block container %}
-<div id='container'>
+<div id="container">
 
-    <div id='header'>
-    {% block header %}
-      <a id='menu_logo' href="/"><img class="logo" src="{{ STATIC_URL }}img/myslice-logo.png" alt="MySlice" /></a>
-      {% include 'widget-topmenu.html' %}
-    {% endblock header %}
-    </div>
+  
+  {% block topmenu %}
+  {% include 'widget-topmenu.html' %}
+  {% endblock topmenu %}
 
-    <div id='content-main'>
+<div class="container-fluid">
+  <div class="row-fluid">
+    <div id="content-main" class="span9 columns">
       {% block content_main %}
-      "The main content area (set block 'content_main')"
+      "The main content area (define block 'content_main')"
       {% endblock content_main %}
-    </div>
-
-    <div id='content-related'>
+    </div><!--span9-->
+    
+    <div id='content-related' class='span3'>
       {% block content_related %}
-      "The related content area (set block 'related_main')"
+      "The related content area (define block 'related_main')"
       {% endblock content_related %}
-    </div>
-
-</div>
+    </div><!--span3-->
+  </div><!--raw-fluid-->
+</div><!--container-fluid-->
 {% endblock container %}
 
 </body>