Difference between revisions of "Widget:Koha Search"

From TSAS Library
Jump to: navigation, search
Line 1: Line 1:
<form class="form-inline centered" name="searchform" method="get" action="<!--{$url|validate:url}-->" id="searchform" target="_blank">
<form class="form-inline" name="searchform" method="get" action="<!--{$url|validate:url}-->" id="searchform" target="_blank">
<label for="masthead_search" class="form-control-lg">Search the</label>
<label for="masthead_search" class="custom-select mb-2 mr-sm-2 mb-sm-0">Search the</label>
<select name="idx" id="masthead_search" class="form-control-lg">
<select name="idx" id="masthead_search" class="custom-select mb-2 mr-sm-2 mb-sm-0 form-control-lg">
                                     <option value="">library catalog</option>
                                     <option value="">library catalog</option>
                                     <option value="ti">book titles</option>
                                     <option value="ti">book titles</option>
Line 10: Line 10:
                                     <option value="callnum,phr">call numbers</option>
                                     <option value="callnum,phr">call numbers</option>
                                 </select>
                                 </select>
<input type="text" class="form-control form-control-lg transl1" id="translControl1" placeholder="for...">
<input type="text" class="custom-select mb-2 mr-sm-2 mb-sm-0 transl1" id="translControl1" placeholder="for...">
             <button type="submit" id="searchsubmit" class="btn btn-primary btn-lg">Go</button>
             <button type="submit" id="searchsubmit" class="btn btn-primary btn-lg">Go</button>
</form>
</form>

Revision as of 13:36, 22 July 2017

<form class="form-inline" name="searchform" method="get" action="" id="searchform" target="_blank"> <select name="idx" id="masthead_search" class="custom-select mb-2 mr-sm-2 mb-sm-0 form-control-lg">

                                   <option value="">library catalog</option>
                                   <option value="ti">book titles</option>
                                   <option value="au">authors</option>
                                   <option value="su">subjects</option>
                                   <option value="nb">ISBNs</option>
                                   <option value="se">series</option>
                                   <option value="callnum,phr">call numbers</option>
                               </select>

<input type="text" class="custom-select mb-2 mr-sm-2 mb-sm-0 transl1" id="translControl1" placeholder="for...">

           <button type="submit" id="searchsubmit" class="btn btn-primary btn-lg">Go</button>

</form>