new style, first version (header, login, dashboard)
[myslice.git] / ui / templates / base.html
1 {# This is required by insert_above #}{% insert_handler %}<!DOCTYPE html>
2 <html lang="en"><head>
3 <title>MySlice - {{ title }}</title>
4 <meta name="viewport" content="width=device-width, initial-scale=1.0">
5 <link rel="shortcut icon" href="/static/img/myslice-icon.png">
6 {# This is where insert_str will end up #}{% media_container prelude %}
7 {% include 'messages-transient-header.html' %}
8 <script type="text/javascript"> {# raw js code - use {% insert prelude_js %} ... {% endinsert %} #} {% container prelude_js %}</script>
9 <style type="text/css">{# In case we need to add raw css code #}{% container prelude_css %}</style>
10 {{ header_prelude }}
11 {% block head %} {% endblock head %}
12 </head>{# let's add these ones no matter what #}
13 {% insert_str prelude "js/jquery.min.js" %}
14 {% insert_str prelude "js/jquery.html5storage.min.js" %}
15 {% insert_str prelude "js/messages-runtime.js" %}
16 {% insert_str prelude "js/class.js" %}
17 {% insert_str prelude "js/plugin-helper.js" %}
18 {% insert_str prelude "js/mustache.js" %}
19 {% insert_str prelude "js/plugin.js" %}
20 {% insert_str prelude "js/manifold.js" %}
21 {% insert_str prelude "js/topmenu.js" %}
22 {% insert_str prelude "css/layout-unfold.css" %}
23 {% insert_str prelude "css/manifold.css" %}
24 {% insert_str prelude "css/plugin.css" %}
25 {% insert_str prelude "css/onelab_marko.css" %}
26 <body>
27 {% block container %}
28   {% block topmenu %}
29   {% include 'widget-topmenu.html' %}
30   {% endblock topmenu %}
31 {% include 'messages-transient.html' %}
32 <div class="container"> <div class="row">
33    {% block base_content%}{% endblock %}
34 </div></div>
35 {% endblock container %}
36 </body>
37 </html>