aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-05-30 14:06:18 +0200
committerMario Vavti <mario@mariovavti.com>2018-05-30 14:06:18 +0200
commit8d6441704bdc8d0628149dbb32321b6921f097ba (patch)
treecfa87c133ebadf47a1ae4d9961e1ff83ae3dee49 /view/tpl
parent9fcb3bf2e8fab84f9144eecceaf984b2026e6d08 (diff)
downloadvolse-hubzilla-8d6441704bdc8d0628149dbb32321b6921f097ba.tar.gz
volse-hubzilla-8d6441704bdc8d0628149dbb32321b6921f097ba.tar.bz2
volse-hubzilla-8d6441704bdc8d0628149dbb32321b6921f097ba.zip
add widget files and templates
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/common_pills.tpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/view/tpl/common_pills.tpl b/view/tpl/common_pills.tpl
new file mode 100755
index 000000000..d10aa365b
--- /dev/null
+++ b/view/tpl/common_pills.tpl
@@ -0,0 +1,8 @@
+<div class="widget">
+ <h3>{{$title}}</h3>
+ <ul class="nav nav-pills flex-column">
+ {{foreach $tabs as $tab}}
+ <li class="nav-item"{{if $tab.id}} id="{{$tab.id}}"{{/if}}><a class="nav-link{{if $tab.sel}} {{$tab.sel}}{{/if}}" href="{{$tab.url}}"{{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{if $tab.icon}}<i class="fa fa-fw fa-{{$tab.icon}}"></i> {{/if}}{{$tab.label}}</a></li>
+ {{/foreach}}
+ </ul>
+</div>