Lines 81-87
Link Here
|
81 |
<h1>Advanced search</h1> |
81 |
<h1>Advanced search</h1> |
82 |
|
82 |
|
83 |
<!-- SEARCH BUTTONS --> |
83 |
<!-- SEARCH BUTTONS --> |
84 |
<div id="toolbar" class="btn-toolbar"> |
84 |
<div id="toolbar" class="btn-toolbar sticky"> |
85 |
<div class="btn-group"> |
85 |
<div class="btn-group"> |
86 |
<button class="btn btn-primary" type="submit" accesskey="s"><i class="fa fa-search"></i> Search</button> |
86 |
<button class="btn btn-primary" type="submit" accesskey="s"><i class="fa fa-search"></i> Search</button> |
87 |
</div> |
87 |
</div> |
Lines 101-107
Link Here
|
101 |
</div> |
101 |
</div> |
102 |
|
102 |
|
103 |
[% IF Koha.Preference('EnableSearchHistory') %] |
103 |
[% IF Koha.Preference('EnableSearchHistory') %] |
104 |
<div class="btn-group"> |
104 |
<div class="btn-group"> |
105 |
<a href="/cgi-bin/koha/catalogue/search-history.pl" class="btn btn-link"><i class="fa fa-history"></i> Search history</a> |
105 |
<a href="/cgi-bin/koha/catalogue/search-history.pl" class="btn btn-link"><i class="fa fa-history"></i> Search history</a> |
106 |
</div> |
106 |
</div> |
107 |
[% END %] |
107 |
[% END %] |
Lines 209-215
Link Here
|
209 |
[% END %] |
209 |
[% END %] |
210 |
</fieldset> |
210 |
</fieldset> |
211 |
<!-- /BOOLEAN SEARCH OPTIONS --> |
211 |
<!-- /BOOLEAN SEARCH OPTIONS --> |
212 |
</div> <!-- /#advanced-search --> |
|
|
213 |
|
212 |
|
214 |
<!-- MC-TYPE LIMITS --> |
213 |
<!-- MC-TYPE LIMITS --> |
215 |
[% WRAPPER tabs id= "advsearches" %] |
214 |
[% WRAPPER tabs id= "advsearches" %] |
Lines 401-412
Link Here
|
401 |
</p> |
400 |
</p> |
402 |
</fieldset> <!-- /#sortby --> |
401 |
</fieldset> <!-- /#sortby --> |
403 |
<!-- /RANK LIMITS --> |
402 |
<!-- /RANK LIMITS --> |
|
|
403 |
</div> <!-- /#advanced-search --> |
404 |
</form> |
404 |
</form> |
405 |
</div> |
405 |
</div> |
406 |
</div> |
406 |
</div> |
407 |
|
407 |
|
408 |
[% MACRO jsinclude BLOCK %] |
408 |
[% MACRO jsinclude BLOCK %] |
409 |
[% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %] |
|
|
410 |
[% Asset.js("js/browser.js") | $raw %] |
409 |
[% Asset.js("js/browser.js") | $raw %] |
411 |
[% Asset.css("css/humanmsg.css") | $raw %] |
410 |
[% Asset.css("css/humanmsg.css") | $raw %] |
412 |
[% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %] |
411 |
[% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %] |
Lines 423-439
Link Here
|
423 |
line.removeChild(ButtonPlus); |
422 |
line.removeChild(ButtonPlus); |
424 |
} |
423 |
} |
425 |
|
424 |
|
426 |
var Sticky; |
|
|
427 |
$(document).ready(function() { |
425 |
$(document).ready(function() { |
428 |
$("input[name=q]:eq(0)").focus(); |
426 |
$("input[name=q]:eq(0)").focus(); |
429 |
if( $("#advsearches .tab-pane.active").length < 1 ){ |
427 |
if( $("#advsearches .tab-pane.active").length < 1 ){ |
430 |
$("#advsearches a:first").tab("show"); |
428 |
$("#advsearches a:first").tab("show"); |
431 |
} |
429 |
} |
432 |
Sticky = $("#toolbar"); |
|
|
433 |
Sticky.hcSticky({ |
434 |
stickTo: ".main", |
435 |
stickyClass: "floating" |
436 |
}); |
437 |
[% IF search_groups %] |
430 |
[% IF search_groups %] |
438 |
function branch_limit() { |
431 |
function branch_limit() { |
439 |
if( $("#branchloop").val() != "" ){ |
432 |
if( $("#branchloop").val() != "" ){ |