2016-03-28 10:29:05 -04:00
|
|
|
|
2017-02-07 19:34:36 -05:00
|
|
|
<div class="tabbar-wrapper">
|
|
|
|
{{* Tab navigation bar for tablets and computer *}}
|
|
|
|
<ul role="menubar" class="tabbar list-inline visible-lg visible-md visible-sm hidden-xs">
|
|
|
|
{{* The normal tabbar *}}
|
|
|
|
<li>
|
2020-08-06 10:34:11 -04:00
|
|
|
<ul class="tabs flex-nav" role="menu" >
|
2016-04-27 13:45:07 -04:00
|
|
|
{{foreach $tabs as $tab}}
|
2018-12-13 22:28:12 -05:00
|
|
|
<li id="{{$tab.id}}" role="presentation" {{if $tab.sel}} class="{{$tab.sel}}" {{/if}}><a role="menuitem" href="{{$tab.url}}" {{if $tab.accesskey}}accesskey="{{$tab.accesskey}}"{{/if}} {{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li>
|
2016-03-28 10:29:05 -04:00
|
|
|
{{/foreach}}
|
2017-02-07 19:34:36 -05:00
|
|
|
</ul>
|
|
|
|
</li>
|
2016-04-27 13:45:07 -04:00
|
|
|
|
2017-02-07 19:34:36 -05:00
|
|
|
{{* The extended dropdown menu - this would be shown if the tab menu points
|
2017-03-14 23:47:02 -04:00
|
|
|
doesn't fit in the available space. This is done through flexMenu.js *}}
|
2017-02-07 19:34:36 -05:00
|
|
|
<li class="pull-right">
|
|
|
|
<ul class="tabs tabs-extended" role="menu">
|
2017-10-20 09:21:42 -04:00
|
|
|
<li role="presentation" class="dropdown flex-target">
|
|
|
|
<button type="button" class="btn-link dropdown-toggle" id="dropdownMenuTools" data-toggle="dropdown" aria-expanded="false">
|
|
|
|
<i class="fa fa-chevron-down" aria-hidden="true"></i>
|
2017-03-14 23:47:02 -04:00
|
|
|
</button>
|
2017-02-07 19:34:36 -05:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
{{* Tab navigation bar for smartphones *}}
|
|
|
|
<ul role="menubar" class="tabbar list-inline visible-xs">
|
|
|
|
{{* The active menupoint will be shown as one menupoint*}}
|
|
|
|
<li>
|
|
|
|
<ul class="tabs" role="menu">
|
|
|
|
{{foreach $tabs as $tab}}
|
|
|
|
{{if $tab.sel}}
|
2018-12-13 22:28:12 -05:00
|
|
|
<li id="{{$tab.id}}-xs" role="presentation" {{if $tab.sel}} class="{{$tab.sel}}" {{/if}}><a role="menuitem" href="{{$tab.url}}" {{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li>
|
2017-02-07 19:34:36 -05:00
|
|
|
{{else}}
|
|
|
|
{{$exttabs[]=$tab}}
|
|
|
|
{{/if}}
|
|
|
|
{{/foreach}}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
{{* All others are moved to this dropdown menu *}}
|
|
|
|
<li class="pull-right">
|
|
|
|
<ul class="tabs tabs-extended">
|
|
|
|
<li class="dropdown">
|
2017-10-20 09:21:42 -04:00
|
|
|
<button type="button" class="btn-link dropdown-toggle" id="dropdownMenuTools-xs" data-toggle="dropdown" aria-expanded="false">
|
|
|
|
<i class="fa fa-chevron-down" aria-hidden="true"></i>
|
2017-03-14 23:47:02 -04:00
|
|
|
</button>
|
2017-02-07 19:34:36 -05:00
|
|
|
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="dropdownMenuTools">
|
|
|
|
{{foreach $exttabs as $tab}}
|
2018-12-13 22:28:12 -05:00
|
|
|
<li id="{{$tab.id}}-xs" role="presentation" {{if $tab.sel}} class="{{$tab.sel}}" {{/if}}><a role="menuitem" href="{{$tab.url}}" {{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li>
|
2017-02-07 19:34:36 -05:00
|
|
|
{{/foreach}}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|