Owen Leonard
38bc9eb2a8
This patch replaces instances of <p class="tip"> with <label class="tip"> in header search forms where there is not already a label tag corresponding to the first form field. In cases where there is already a label on the first form field the <p> is kept. To test, apply the patch and rebuild the staff client CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client) Test the header search forms on the following pages: - Staff interface home page - Acquisitions home - Acquisitions -> Vendor -> Contracts - Acquisitions -> Vendor -> Add to basket -> From a suggestion - Advanced catalog search - Authorities - Administration - Administration -> Funds - Administration -> Desks (UseCirculationDesks must be enabled) - Administration -> Cities and towns - Administration -> Currencies and exchange rates - Administration -> Patron categories - Administration -> Z39.50/SRU servers - Catalog -> Search results - Cataloging - Circulation - Circulation -> Check in - Patrons - Serials - Tools -> Notices and Slips In each case, check that the search form labels work as expected to move focus to the corresponding form field. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
32 lines
2 KiB
HTML
32 lines
2 KiB
HTML
<div class="gradient">
|
|
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Acquisitions Resident Search Box -->
|
|
<div id="header_search">
|
|
<div id="supplier_search" class="residentsearch">
|
|
<label class="tip" for="supplier">Search vendors:</label>
|
|
<form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
|
|
<input type="text" size="25" name="supplier" id="supplier" class="focus" />
|
|
<input type="submit" class="submit" value="Submit" /></form>
|
|
</div>
|
|
<div id="orders_search" class="residentsearch">
|
|
<p class="tip">Search orders:</p>
|
|
|
|
<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
|
|
<label for="title">Title: </label> <input type="text" id="title" name="title" size="15" value="[% title | html %]" />
|
|
<label for="searchsupplier">Vendor:</label> <input type="text" id="searchsupplier" name="name" size="15" value="[% name | html %]" />
|
|
<input type="hidden" id="do_search" name="do_search" value="do" />
|
|
<span class="filteraction" id="filteraction_off" style="display:none"> <a href="#" class="toggle_element" data-element="#filters,.filteraction">[-]</a></span>
|
|
<span class="filteraction" id="filteraction_on"> <a href="#" class="toggle_element" data-element="#filters,.filteraction">[+]</a></span>
|
|
<input value="Submit" class="submit" type="submit" /> <a href="/cgi-bin/koha/acqui/histsearch.pl">Advanced search</a>
|
|
<p id="filters" style="display:none">
|
|
<label for="basket">Basket: </label><input type="text" name="basket" id="basket" />
|
|
<label for="booksellerinvoicenumber">Invoice no.: </label><input type="text" name="booksellerinvoicenumber" id="booksellerinvoicenumber" />
|
|
</p>
|
|
</form>
|
|
</div>
|
|
<ul id="tabtriggers">
|
|
<li><a href="#supplier_search">Vendor search</a></li>
|
|
<li><a href="#orders_search">Orders search</a></li>
|
|
</ul>
|
|
</div><!-- /header_search -->
|
|
</div><!-- /gradient -->
|
|
<!-- End Acquisitions Resident Search Box -->
|