X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ui%2Ftemplates%2Fbase.html;h=8b4e8271aee4bb6623319dfefb9151333142e797;hb=2f89f2e81c44a63d6d90746a1f3c126603280b66;hp=49a57ad1829b88f1238603be2920656ac122668f;hpb=95f9830a64033723460c820d5b50199563d62a8b;p=myslice.git diff --git a/ui/templates/base.html b/ui/templates/base.html index 49a57ad1..8b4e8271 100644 --- a/ui/templates/base.html +++ b/ui/templates/base.html @@ -1,15 +1,18 @@ -{# This is required by insert_above #}{% insert_handler %} - - MySlice - {{ title }} +{# This is required by insert_above #}{% insert_handler %} + +OneLab - {{ section }} {# This is where insert_str will end up #}{% media_container prelude %} {% include 'messages-transient-header.html' %} + + + {{ header_prelude }} {% block head %} {% endblock head %} -{# let's add these ones no matter what #} +{# let's add these ones no matter what #} {% insert_str prelude "js/jquery.min.js" %} {% insert_str prelude "js/jquery.html5storage.min.js" %} {% insert_str prelude "js/messages-runtime.js" %} @@ -18,20 +21,18 @@ {% insert_str prelude "js/mustache.js" %} {% insert_str prelude "js/plugin.js" %} {% insert_str prelude "js/manifold.js" %} -{% insert_str prelude "js/topmenu.js" %} -{% insert_str prelude "css/layout-unfold.css" %} {% insert_str prelude "css/manifold.css" %} {% insert_str prelude "css/plugin.css" %} -{% insert_str prelude "css/onelab_marko.css" %} + + {% block container %} - {% block topmenu %} - {% include 'widget-topmenu.html' %} - {% endblock topmenu %} -{% include 'messages-transient.html' %} -
- {% block base_content%}{% endblock %} -
+ {% block topmenu %} + {% include theme|add:"__widget-topmenu.html" %} + {% endblock topmenu %} + {% include 'messages-transient.html' %} + {% block base_content %} + {% endblock %} {% endblock container %}