aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/widget_menu.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/widget_menu.tpl')
-rw-r--r--view/tpl/widget_menu.tpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/view/tpl/widget_menu.tpl b/view/tpl/widget_menu.tpl
new file mode 100644
index 000000000..86799ff00
--- /dev/null
+++ b/view/tpl/widget_menu.tpl
@@ -0,0 +1,10 @@
+<div class="widget">
+ <h3>{{$title}}</h3>
+ <ul class="nav nav-pills flex-column">
+ {{foreach $menu_items as $menu_item}}
+ <li class="nav-item">
+ <a class="nav-link{{if $menu_item.active}} active{{/if}}" href="{{$menu_item.href}}" title="{{$menu_item.title}}">{{$menu_item.label}}</a>
+ <li>
+ {{/foreach}}
+ </ul>
+</div>