aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/widget_menu.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-01-06 21:09:18 +0000
committerMario <mario@mariovavti.com>2022-01-06 21:09:18 +0000
commitf1c0034a18482ff85a1979fce94f3abd8622af0b (patch)
tree6a44d912c4d62ad2908591187bbec5ec4e63623e /view/tpl/widget_menu.tpl
parent7342cb81a3cffc1cd8ae3e32c2035e5c07376b53 (diff)
downloadvolse-hubzilla-f1c0034a18482ff85a1979fce94f3abd8622af0b.tar.gz
volse-hubzilla-f1c0034a18482ff85a1979fce94f3abd8622af0b.tar.bz2
volse-hubzilla-f1c0034a18482ff85a1979fce94f3abd8622af0b.zip
more work on access tokens
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>