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
43 lines
2.1 KiB
HTML
43 lines
2.1 KiB
HTML
[% USE Koha %]
|
|
<!-- letters-search.inc -->
|
|
<div id="header_search" role="tablist">
|
|
<div class="tab-content">
|
|
<div id="notices_search" role="tabpanel" class="tab-pane active">
|
|
<form action="/cgi-bin/koha/tools/letter.pl" method="post">
|
|
<div class="form-title">
|
|
<label class="control-label" for="searchfield">Search notices</label>
|
|
</div>
|
|
|
|
<div class="form-content">
|
|
<input class="head-searchbox form-control" type="text" name="searchfield" id="searchfield" value="" placeholder="Search existing notices"/>
|
|
</div>
|
|
|
|
<button type="submit" aria-label="Search"><i class="fa fa-arrow-right"></i></button>
|
|
</form>
|
|
</div>
|
|
|
|
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
|
|
[% INCLUDE 'patron-search-box.inc' %]
|
|
[% END %]
|
|
|
|
[% IF ( CAN_user_catalogue ) %]
|
|
[% INCLUDE 'catalogue-search-box.inc' %]
|
|
[% END %]
|
|
</div><!-- /.tab-content -->
|
|
<ul class="nav nav-tabs" role="tablist">
|
|
<li role="presentation" class="active">
|
|
<a title="Search notices" href="#notices_search" aria-controls="notices_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-commenting-o"></i> <span class="tab-title">Search notices</span></a>
|
|
</li>
|
|
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
|
|
<li role="presentation">
|
|
<a title="Check out" href="#circ_search" aria-controls="circ_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a>
|
|
</li>
|
|
[% END %]
|
|
[% IF ( CAN_user_catalogue ) %]
|
|
<li role="presentation">
|
|
<a title="Search catalog" href="#catalog_search" aria-controls="catalog_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a>
|
|
</li>
|
|
[% END %]
|
|
</ul>
|
|
</div><!-- /#header_search -->
|
|
<!-- /letters-search.inc -->
|