Owen Leonard
1c3f2ef8e7
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 Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
64 lines
3.5 KiB
HTML
64 lines
3.5 KiB
HTML
[% USE Koha %]
|
|
[% USE Branches %]
|
|
<!-- budgets-admin-search.inc -->
|
|
|
|
<div id="header_search" role="tablist">
|
|
<div class="tab-content">
|
|
<div id="budgets_search" role="tabpanel" class="tab-pane active">
|
|
<form action="/cgi-bin/koha/admin/aqbudgets.pl" method="post">
|
|
<input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
|
|
|
|
<div class="form-title">
|
|
<label class="control-label" for="filter_budgetname"><span class="control-text">Search funds</span> <i class="fa-solid fa-fw fa-credit-card"></i></label>
|
|
</div>
|
|
|
|
<div class="form-content">
|
|
<input class="query form-control" type="text" name="filter_budgetname" id="filter_budgetname" value="[% filter_budgetname | html %]" placeholder="Search funds" />
|
|
|
|
<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>
|
|
</div>
|
|
|
|
<button type="submit" aria-label="Search"><i class="fa fa-arrow-right"></i></button>
|
|
|
|
<div class="form-extra-content">
|
|
<label for="filter_budgetbranch">Library</label>
|
|
|
|
<select name="filter_budgetbranch" id="filter_budgetbranch" class="form-control">
|
|
<option value="">All libraries</option>
|
|
[% FOREACH branchloo IN Branches.all( selected => selected_branchcode ) %]
|
|
[% IF branchloo.selected %]
|
|
<option value="[% branchloo.branchcode | html %]" selected="selected">[% branchloo.branchname | html %]</option>
|
|
[% ELSE %]
|
|
<option value="[% branchloo.branchcode | html %]" >[% branchloo.branchname | html %]</option>
|
|
[% END %]
|
|
[% END %]
|
|
</select>
|
|
</div>
|
|
</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 funds" href="#budgets_search" aria-controls="budgets_search" aria-expanded="true" role="tab" data-toggle="tab" class="keep_text"><i class="fa-solid fa-fw fa-credit-card"></i> <span class="tab-title">Search funds</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-fw fa-upload" aria-hidden="true"></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" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-search" aria-hidden="true"></i> <span class="tab-title">Search catalog</span></a>
|
|
</li>
|
|
[% END %]
|
|
</ul>
|
|
</div><!-- /#header_search -->
|
|
<!-- /budgets-admin-search.inc -->
|