|
Link Here
|
| 0 |
- |
1 |
[% USE Koha %] |
|
|
2 |
<!-- header-search-tabs.inc --> |
| 3 |
<div id="header_search" role="tablist"> |
| 4 |
<div class="tab-content"> |
| 5 |
[% FOREACH header_search_tab IN header_search_tabs %] |
| 6 |
[% IF ( header_search_tab.is_allowed ) %] |
| 7 |
<div id="[% header_search_tab.id | html %]" role="tabpanel" class="tab-pane [% IF header_search_tab.is_active %]active[% END %]"> |
| 8 |
<form id="[% header_search_tab.form_id | html %]" action="[% header_search_tab.form_action | html %]" method="[% header_search_tab.form_method | html %]"> |
| 9 |
<div class="form-title"> |
| 10 |
<label class="control-label"><span class="control-text">[% header_search_tab.label | html %]</span> <i class="fa fa-fw [% header_search_tab.icon | html %]" aria-hidden="true"></i></label> |
| 11 |
</div> |
| 12 |
<div class="form-content"> |
| 13 |
[% FOREACH input IN header_search_tab.inputs %] |
| 14 |
<input class="[% input.class | html %]" type="[% input.type | html %]" name="[% input.name | html %]" id="[% input.id | html %]" value="[% input.value | html %]" placeholder="[% input.placeholder | html %]" /> |
| 15 |
[% END %] |
| 16 |
</div> |
| 17 |
<button type="submit"><i class="fa fa-arrow-right"></i></button> |
| 18 |
</form> |
| 19 |
</div> |
| 20 |
[% END %] |
| 21 |
[% END %] |
| 22 |
</div> |
| 23 |
<ul class="nav nav-tabs" role="tablist"> |
| 24 |
[% FOREACH header_search_tab IN header_search_tabs %] |
| 25 |
<li role="presentation" class="[% IF header_search_tab.is_active %]active[% END %]"> |
| 26 |
<a title="[% header_search_tab.label | html %]" href="#[% header_search_tab.id | html %]" aria-controls="[% header_search_tab.id | html %]" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-fw [% header_search_tab.icon | html %]" aria-hidden="true"></i> <span class="tab-title">[% header_search_tab.label | html %]</span></a> |
| 27 |
</li> |
| 28 |
[% END %] |
| 29 |
</ul> |
| 30 |
</div> |
| 31 |
<!-- header-search-tabs.inc --> |