diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/pdl/mod_apps.pdl | 1 | ||||
-rw-r--r-- | view/tpl/appstore.tpl | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/view/pdl/mod_apps.pdl b/view/pdl/mod_apps.pdl index 8bd407372..32e2ce560 100644 --- a/view/pdl/mod_apps.pdl +++ b/view/pdl/mod_apps.pdl @@ -1,4 +1,5 @@ [region=aside] +[widget=appstore][/widget] [widget=appcategories][/widget] [/region] [region=right_aside] diff --git a/view/tpl/appstore.tpl b/view/tpl/appstore.tpl new file mode 100644 index 000000000..47f144752 --- /dev/null +++ b/view/tpl/appstore.tpl @@ -0,0 +1,8 @@ +<div class="widget"> +<h3>{{$title}}</h3> +<ul class="nav nav-pills flex-column"> +{{foreach $options as $x}} + <li class="nav-item"><a href="{{$x.0}}" class="nav-link{{if $x.2}} active{{/if}}">{{$x.1}}</a></li> +{{/foreach}} +</ul> +</div> |