Koha/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search-box.inc
Owen Leonard 248544e292
Bug 35850: Use template wrapper for tabs: Header search forms
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>
2024-03-22 15:47:34 +01:00

18 lines
1,020 B
HTML

[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
<!-- checkin-search-box.inc -->
[% WRAPPER tab_panel tabname="checkin_search" bt_active= bs_tab_active %]
<form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
[% INCLUDE 'csrf-token.inc' %]
<div class="form-title">
<label class="control-label" for="ret_barcode"><span class="control-text">Check in</span> <i class="fa fa-fw fa-download" aria-hidden="true"></i></label>
</div>
<div class="form-content">
<input name="barcode" id="ret_barcode" class="head-searchbox form-control" accesskey="r" type="text" placeholder="Scan a barcode to check in" size="40"/>
<input type="hidden" name="op" value="cud-checkin" />
</div>
<button type="submit" aria-label="Search"><i class="fa fa-arrow-right"></i></button>
</form>
[% END # /tab_panel %]
<!-- /checkin-search-box.inc -->
[% END %]