1 <div class="tabbar-wrapper">
2 {{* Tab navigation bar for tablets and computer *}}
3 <ul role="menubar" class="tabbar list-inline visible-lg visible-md visible-sm hidden-xs">
4 {{* The normal tabbar *}}
6 <ul class="tabs flex-nav" role="menu">
7 {{foreach $tabs as $tab}}
8 <li id="{{$tab.id}}" role="presentation" {{if $tab.sel}} class="{{$tab.sel}}" {{/if}}>
9 <a role="menuitem" href="{{$tab.url}}" {{if $tab.accesskey}}accesskey="{{$tab.accesskey}}" {{/if}}
10 {{if $tab.title}} title="{{$tab.title}}" {{/if}}>
18 {{* The extended dropdown menu - this would be shown if the tab menu points
19 doesn't fit in the available space. This is done through flexMenu.js *}}
20 <li class="pull-right">
21 <ul class="tabs tabs-extended" role="menu">
22 <li role="presentation" class="dropdown flex-target">
23 <button type="button" class="btn-link dropdown-toggle" id="dropdownMenuTools" data-toggle="dropdown"
24 aria-expanded="false">
25 <i class="fa fa-chevron-down" aria-hidden="true"></i>
32 {{* Tab navigation bar for smartphones *}}
33 <ul role="menubar" class="tabbar list-inline visible-xs">
34 {{* The active menupoint will be shown as one menupoint*}}
36 <ul class="tabs" role="menu">
37 {{foreach $tabs as $tab}}
39 <li id="{{$tab.id}}-xs" role="presentation" {{if $tab.sel}} class="{{$tab.sel}}" {{/if}}>
40 <a role="menuitem" href="{{$tab.url}}" {{if $tab.title}} title="{{$tab.title}}" {{/if}}>
51 {{* All others are moved to this dropdown menu *}}
53 <ul class="tabs tabs-extended">
55 <button type="button" class="btn-link dropdown-toggle" id="dropdownMenuTools-xs"
56 data-toggle="dropdown" aria-expanded="false">
57 <i class="fa fa-chevron-down" aria-hidden="true"></i>
59 <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenuTools">
60 {{foreach $exttabs as $tab}}
61 <li id="{{$tab.id}}-xs" role="presentation" {{if $tab.sel}} class="{{$tab.sel}}" {{/if}}>
62 <a role="menuitem" href="{{$tab.url}}" {{if $tab.title}} title="{{$tab.title}}" {{/if}}>