checkpoint
[unfold.git] / myslice / templates / mymenu.html
index d19b19d..d7f4551 100644 (file)
@@ -1,21 +1,12 @@
-{% insert_str prelude "js/mymenu.js" %}
+{# {% insert_str prelude "js/mymenu.js" %} #}
 {% insert_str prelude "css/mymenu.css" %}
-{# this shows how to add raw js code #}
-{# {% insert raw_js %} "some script useful for mymenu" {% endinsert %} #}
-{# use the raw_css container for css style #}
 
-<div id='mymenu'>
-<ul id='mymenu'>
-<li>
-  <a href="/"><img class="logo mymenu" src="{{ STATIC_URL }}img/myslice-logo.png" alt="MySlice" /></a>
-</li>
+<ul class="nav nav-pills" id='menu_ul'>
 {% for d in menu_items %}
-  {% if d.current %}
-  <li class='current'> <a href="{{ d.href }}"> {{ d.label }} </a> </li>
+  {% if d.active %}
+  <li class='active'> <a href="{{ d.href }}"> {{ d.label }} </a> </li>
   {% else %}
   <li class='other'> <a href="{{ d.href }}"> {{ d.label }} </a> </li>
   {% endif %}
   {% endfor %}
 </ul>
-</div>
-