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>
63 lines
3.5 KiB
HTML
63 lines
3.5 KiB
HTML
[% USE raw %]
|
|
[% PROCESS 'html_helpers.inc' %]
|
|
<!-- acquisitions-search.inc -->
|
|
[% FILTER collapse %]
|
|
[% WRAPPER tabs id="header_search" %]
|
|
|
|
[% WRAPPER tab_panels %]
|
|
[% WRAPPER tab_panel tabname="supplier_search" bt_active= 1 %]
|
|
<form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="get">
|
|
<div class="form-title">
|
|
<label class="control-label" for="supplier"><span class="control-text">Vendor search</span> <i class="fa fa-fw fa-upload" aria-hidden="true"></i></label>
|
|
</div>
|
|
|
|
<div class="form-content">
|
|
<input type="text" name="supplier" id="supplier" class="head-searchbox form-control" placeholder="Search vendors" />
|
|
</div>
|
|
<button type="submit" aria-label="Search"><i class="fa fa-arrow-right"></i></button>
|
|
</form>
|
|
[% END # /tab_panel# %]
|
|
[% WRAPPER tab_panel tabname="orders_search" %]
|
|
<form action="/cgi-bin/koha/acqui/histsearch.pl" method="get">
|
|
<div class="form-title">
|
|
<label class="control-label" for="order_title"><span class="control-text">Orders search</span> <i class="fa fa-fw fa-download" aria-hidden="true"></i></label>
|
|
</div>
|
|
|
|
<div class="form-content">
|
|
<input type="text" id="order_title" class="form-control" placeholder="Title" name="title" size="13" value="[% title | html %]" />
|
|
<input type="text" id="searchsupplier" class="form-control" placeholder="Vendor" name="name" size="13" value="[% name | html %]" />
|
|
<button type="button" class="form-extra-content-toggle" title="More options"><i class="form-extra-content-icon fa-solid fa-sliders" aria-hidden="true"></i></button>
|
|
<input type="hidden" id="do_search" name="do_search" value="do" />
|
|
</div>
|
|
<button type="submit" aria-label="Search"><i class="fa fa-arrow-right"></i></button>
|
|
|
|
<div class="form-extra-content">
|
|
<div>
|
|
<label for="basket" class="control-label">Basket</label>
|
|
<input type="text" class="form-control" placeholder="Basket" name="basket" id="basket" />
|
|
</div>
|
|
<div>
|
|
<label for="booksellerinvoicenumber" class="control-label">Invoice number</label>
|
|
<input type="text" class="form-control" placeholder="Invoice number" name="booksellerinvoicenumber" id="booksellerinvoicenumber" />
|
|
</div>
|
|
<div>
|
|
<a href="/cgi-bin/koha/acqui/histsearch.pl">Advanced search</a>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
[% END # /tab_panel# %]
|
|
[% END # /WRAPPER tab_panels %]
|
|
|
|
[% WRAPPER tabs_nav %]
|
|
[% WRAPPER tab_item tabname= "supplier_search" bt_active= 1 %]
|
|
<i class="fa fa-upload" aria-hidden="true"></i> <span class="tab-title">Vendor search</span>
|
|
[% END %]
|
|
[% WRAPPER tab_item tabname= "orders_search" %]
|
|
<i class="fa fa-download" aria-hidden="true"></i> <span class="tab-title">Orders search</span>
|
|
[% END %]
|
|
[% END # /WRAPPER tabs_nav %]
|
|
|
|
[% END # /WRAPPER tabs %]
|
|
[% END %]
|
|
|
|
<!-- /acquisitions-search.inc -->
|