<li>
<ul class="tabs flex-nav" role="menu">
{{foreach $tabs as $tab}}
- <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>
+ <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>
{{/foreach}}
</ul>
</li>
<ul class="tabs" role="menu">
{{foreach $tabs as $tab}}
{{if $tab.sel}}
- <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>
+ <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>
{{else}}
{{$exttabs[]=$tab}}
{{/if}}
</li>
{{* All others are moved to this dropdown menu *}}
- <li class="pull-right">
+ <li>
<ul class="tabs tabs-extended">
<li class="dropdown">
<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>
</button>
- <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="dropdownMenuTools">
+ <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenuTools">
{{foreach $exttabs as $tab}}
- <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>
+ <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>
{{/foreach}}
</ul>
</li>
</ul>
</li>
</ul>
-</div>
\ No newline at end of file
+</div>