diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-05-30 14:06:18 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-05-30 14:06:18 +0200 |
commit | 8d6441704bdc8d0628149dbb32321b6921f097ba (patch) | |
tree | cfa87c133ebadf47a1ae4d9961e1ff83ae3dee49 /view | |
parent | 9fcb3bf2e8fab84f9144eecceaf984b2026e6d08 (diff) | |
download | volse-hubzilla-8d6441704bdc8d0628149dbb32321b6921f097ba.tar.gz volse-hubzilla-8d6441704bdc8d0628149dbb32321b6921f097ba.tar.bz2 volse-hubzilla-8d6441704bdc8d0628149dbb32321b6921f097ba.zip |
add widget files and templates
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/common_pills.tpl | 8 |
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> |