aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/tpl/generic_links_widget.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/redbasic/tpl/generic_links_widget.tpl')
-rwxr-xr-xview/theme/redbasic/tpl/generic_links_widget.tpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/view/theme/redbasic/tpl/generic_links_widget.tpl b/view/theme/redbasic/tpl/generic_links_widget.tpl
new file mode 100755
index 000000000..67801e666
--- /dev/null
+++ b/view/theme/redbasic/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>