moves all the static files under ~/static, for convenience again, even
[myslice.git] / templates / mymenu-widget.html
diff --git a/templates/mymenu-widget.html b/templates/mymenu-widget.html
new file mode 100644 (file)
index 0000000..d7f4551
--- /dev/null
@@ -0,0 +1,12 @@
+{# {% insert_str prelude "js/mymenu.js" %} #}
+{% insert_str prelude "css/mymenu.css" %}
+
+<ul class="nav nav-pills" id='menu_ul'>
+{% for d in menu_items %}
+  {% 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>