added theme
[myslice.git] / ui / templates / base.html
index f29b71b..a344206 100644 (file)
@@ -9,7 +9,7 @@
 <style type="text/css">{# In case we need to add raw css code #}{% container prelude_css %}</style>
 {{ header_prelude }}
 {% block head %} {% endblock head %}
-</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" %}
 {% 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" %}
+<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}/css/{{ theme }}.css">
+</head>
 <body>
 {% block container %}
   {% block topmenu %}
-  {% include 'widget-topmenu.html' %}
+  {% include theme|add:"/_widget-topmenu.html" %}
   {% endblock topmenu %}
 {% include 'messages-transient.html' %}
 <div class="container"> <div class="row">