Owen Leonard
d067c4ae50
This patch adds a "for" label to header search forms labels which lack it. To test, apply the patch and test the affected pages to confirm that clicking the label corresponding to the active search form can be clicked to move cursor focus to that input field. As you activate each search form, the cursor focus will automatically be moved to the input. Click outside of the field to remove the focus, and then click the label to test that it is correctly tied to the field. - Staff interface home page: - Checkout, Check in, Renew, Search patrons, and Search catalog. - Acquisitions: Vendor search and orders search - Acquisitions -> Vendor search -> Vendor -> Contracts: Contract search - Acquisitions -> Vendor search -> Vendor -> Basket -> Add to basket -> From a suggestion: Search suggestions - Authorities: Main heading ($a only), Main heading, All headings, and Entire record. - Administration -> Budgets: Search funds - Administration -> Cities & towns: City search - Administration -> Currencies: Currencies search - Administration -> Desks: Search desks * With UseCirculationDesks enabled - Administration -> Patron categories: Search patron categories - Administration -> System preferences: Search system preferences - Administration -> Z39.50 servers -> Z39.50 server search - Cataloging: Cataloging search - E-resource management: Search agreements, Search licenses, Search packages, and Search titles * With ERMModule enabled - Patrons -> Search patrons - Serials: Search subscriptions - Tools -> Notices & slips: Search notices
56 lines
3.2 KiB
HTML
56 lines
3.2 KiB
HTML
<!-- acquisitions-search.inc -->
|
|
<div id="header_search" role="tablist">
|
|
<div class="tab-content">
|
|
<div id="supplier_search" role="tabpanel" class="tab-pane active">
|
|
<form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
|
|
<div class="form-title">
|
|
<label class="control-label" for="supplier">Vendor search</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>
|
|
</div>
|
|
|
|
<div id="orders_search" role="tabpanel" class="tab-pane">
|
|
<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
|
|
<div class="form-title">
|
|
<label class="control-label" for="order_title">Orders search</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"><i class="fa fa-sliders"></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>
|
|
</div>
|
|
</div><!-- /.tab-content -->
|
|
<ul class="nav nav-tabs" role="tablist">
|
|
<li role="presentation" class="active">
|
|
<a title="Vendor search" href="#supplier_search" aria-controls="supplier_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Vendor search</span></a>
|
|
</li>
|
|
<li role="presentation">
|
|
<a title="Orders search" href="#orders_search" aria-controls="orders_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-download"></i> <span class="tab-title">Orders search</span></a>
|
|
</li>
|
|
</ul>
|
|
</div><!-- /#header_search -->
|
|
<!-- /acquisitions-search.inc -->
|