Owen Leonard
248544e292
This patch updates search header includes so that the tabs use WRAPPER to build markup. To test, apply the patch rebuild the staff interface CSS. Test at least one page which uses each updated search include. Search header tabs should look correct and work correctly. - Acquisitions - Suggestions - Administration - Budgets and funds - Cities - Currencies - Desks - Patron categories - System preferences - Z39.50 - Advanced search - Authorities - Bibliographic detail page - Cataloging home page - Check in - Check out - Acquisitions -> Vendor -> Contracts - ERM - Staff interface home page - Serials - Tool -> Notices Signed-off-by: Martin AUBEUT <martin.aubeut@gmail.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
48 lines
2.5 KiB
HTML
48 lines
2.5 KiB
HTML
[% USE raw %]
|
|
[% USE Koha %]
|
|
[% PROCESS 'html_helpers.inc' %]
|
|
[% WRAPPER tabs id="header_search" %]
|
|
[% WRAPPER tab_panels %]
|
|
[% WRAPPER tab_panel tabname="suggestions_search" bt_active= 1 %]
|
|
<form action="/cgi-bin/koha/acqui/newordersuggestion.pl" method="get">
|
|
<input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
|
|
|
|
<div class="form-title">
|
|
<label class="control-label" for="searchtitle"><span class="control-text">Search suggestions</span> <i class="fa-solid fa-fw fa-comment" aria-hidden="true"></i></label>
|
|
</div>
|
|
|
|
<div class="form-content">
|
|
<input type="text" id="searchtitle" class="head-searchbox form-control" placeholder="Title" name="title" size="10" value="[% title | html %]" />
|
|
<input type="text" id="searchauthor" class="head-searchbox form-control" placeholder="Author" name="author" size="10" value="[% author | html %]" />
|
|
<input type="text" class="head-searchbox form-control" placeholder="Publisher" id="searchpublishercode" name="publishercode" size="10" value="[% publishercode | html %]" />
|
|
</div>
|
|
|
|
<button type="submit" aria-label="Search"><i class="fa fa-arrow-right"></i></button>
|
|
</form>
|
|
[% END # /tab_panel %]
|
|
|
|
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
|
|
[% INCLUDE 'patron-search-box.inc' %]
|
|
[% END %]
|
|
|
|
[% IF ( CAN_user_catalogue ) %]
|
|
[% INCLUDE 'catalogue-search-box.inc' %]
|
|
[% END %]
|
|
[% END # /tab_panels %]
|
|
[% WRAPPER tabs_nav %]
|
|
[% WRAPPER tab_item tabname= "suggestions_search" bt_active= 1 %]
|
|
<i class="fa-solid fa-comment" aria-hidden="true"></i> <span class="tab-title">Search suggestions</span>
|
|
[% END %]
|
|
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
|
|
[% WRAPPER tab_item tabname= "circ_search" %]
|
|
<i class="fa fa-upload" aria-hidden="true"></i> <span class="tab-title">Check out</span>
|
|
[% END %]
|
|
[% END %]
|
|
[% IF ( CAN_user_catalogue ) %]
|
|
[% WRAPPER tab_item tabname= "catalog_search" %]
|
|
<i class="fa fa-fw fa-search" aria-hidden="true"></i> <span class="tab-title">Search catalog</span>
|
|
[% END %]
|
|
[% END %]
|
|
[% END # /tabs_nav %]
|
|
[% END # /WRAPPER tabs %]
|
|
<!-- /suggestions-add-search.inc -->
|