diff options
Diffstat (limited to 'view/tpl/generic_links_widget.tpl')
-rwxr-xr-x | view/tpl/generic_links_widget.tpl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/view/tpl/generic_links_widget.tpl b/view/tpl/generic_links_widget.tpl new file mode 100755 index 000000000..67801e666 --- /dev/null +++ b/view/tpl/generic_links_widget.tpl @@ -0,0 +1,11 @@ +<div class="widget{{if $class}} {{$class}}{{/if}}"> + {{if $title}}<h3>{{$title}}</h3>{{/if}} + {{if $desc}}<div class="desc">{{$desc}}</div>{{/if}} + + <ul class="nav nav-pills flex-column"> + {{foreach $items as $item}} + <li class="nav-item"><a href="{{$item.url}}" class="nav-link{{if $item.selected}} active{{/if}}">{{$item.label}}</a></li> + {{/foreach}} + </ul> + +</div> |