66c8153e8a3e0d9a41ba39e62604e8d1ad635ef4
[myslice.git] / myslice / templates / mymenu.html
1 {% insert_str prelude "js/mymenu.js" %}
2 {% insert_str prelude "css/mymenu.css" %}
3 {# this shows how to add raw js or css code #}
4 {# {% insert prelude_js %} "some script useful for mymenu" {% endinsert %} #}
5 {# use the prelude_css container for css style #}
6
7 <div class="nav nav-pills">
8 {% for d in menu_items %}
9   {% if d.active %}
10   <li class='active'> <a href="{{ d.href }}"> {{ d.label }} </a> </li>
11   {% else %}
12   <li class='other'> <a href="{{ d.href }}"> {{ d.label }} </a> </li>
13   {% endif %}
14   {% endfor %}
15 </ul>
16 </div>