diff options
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/common_tabs.tpl | 12 | ||||
-rwxr-xr-x | view/tpl/nav.tpl | 3 |
2 files changed, 10 insertions, 5 deletions
diff --git a/view/tpl/common_tabs.tpl b/view/tpl/common_tabs.tpl index 3d34d7c57..fa6bfbdfa 100755 --- a/view/tpl/common_tabs.tpl +++ b/view/tpl/common_tabs.tpl @@ -1,6 +1,8 @@ -<ul class="tabs"> - {{foreach $tabs as $tab}} - <li {{if $tab.id}}id="{{$tab.id}}"{{/if}}><a href="{{$tab.url}}" class="tab button {{$tab.sel}}"{{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li> - {{/foreach}} -</ul> +<div id="tabs-collapse-1" class="navbar-collapse collapse"> + <ul class="nav nav-tabs nav-justified"> + {{foreach $tabs as $tab}} + <li class="{{$tab.sel}}" {{if $tab.id}}id="{{$tab.id}}"{{/if}}><a href="{{$tab.url}}"{{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li> + {{/foreach}} + </ul> +</div> <div class="tabs-end"></div> diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index fbdf28f76..5aa3b0f01 100755 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -5,6 +5,9 @@ <span class="icon-bar"></span> <span class="icon-bar"></span> </button> + <button id="expand-tabs" type="button" class="navbar-toggle" data-toggle="collapse" data-target="#tabs-collapse-1"> + <i class="icon-circle-arrow-down" id="expand-tabs-icon"></i> + </button> <button id="expand-aside" type="button" class="navbar-toggle" data-toggle="offcanvas" data-target="#region_1"> <i class="icon-circle-arrow-right" id="expand-aside-icon"></i> </button> |