]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates-bootstrap/opac/parts/advanced/numeric.tt2
3fe91fe0a554e6c759eef853a997d2be2da3b1bc
[Evergreen.git] / Open-ILS / src / templates-bootstrap / opac / parts / advanced / numeric.tt2
1 <form action="[% ctx.opac_root %]/results" method="get">
2     <div class="header_middle">[% l("Numeric Search") %]</div>
3     <input type="hidden" name="contains" value="contains" />
4     <input type="hidden" name="_special" value="1" />
5     <input id="detail" type="hidden" name="detail_record_view"
6            value="[% show_detail_view %]"/>
7     <div id='adv_numeric_block' class='row'>
8         <div class="col-md-6 col-xs-12 my-3">
9             <label for="numeric_qtype"><strong>[% l("Field:") %]</strong></label>
10                 <select id="numeric_qtype" name="qtype" class="form-control">
11                     <!-- TODO: Pull labels from config.metabib_field.label -->
12                     <option value="identifier|isbn">[% l('ISBN') %]</option>
13                      <option value="identifier|upc">[% l('UPC') %]</option>
14                     <option value="identifier|issn">[% l('ISSN') %]</option>
15                     <option value="cnbrowse">[% l('Call Number (Shelf Browse)') %]</option>
16                     <option value="identifier|lccn">[% l('LCCN') %]</option>
17                     <option value="identifier|tcn">[% l('TCN') %]</option>
18                     <option value="item_barcode">[% l('Item Barcode') %]</option>
19                 </select>
20                 </div>
21         <div class="col-md-6 col-xs-12 my-3">
22                         <label for="numeric_qtype"><strong>[% l("Identifier:") %]</strong></label>
23                 <input class="form-control" type="text" name="query" size="16" autofocus placeholder='[% l("Identifier") %]' aria-label='[% l("Identifier") %]' />
24         </div>
25             <br/>
26         <div class="col-12 my-3 text-center">
27             [%- lib_select_id="numeric_search_library" -%]
28             <label for="[% lib_select_id %]"><strong>[% l("Search Library:") %]</strong>
29                   [% PROCESS "opac/parts/org_selector.tt2";
30                      INCLUDE build_org_selector id=lib_select_id show_loc_groups=1
31                   %]
32             </label>
33             <br/>
34                 <input type="submit" alt="[% l('Search') %]"
35                     value="[% l('Search') %]" class="btn btn-confirm mt-3" />
36           </div>
37     </div>
38 </form>