Lines 44-53
Link Here
|
44 |
[% PROCESS pagination %] |
44 |
[% PROCESS pagination %] |
45 |
|
45 |
|
46 |
<form name="resultform" action="" style="display:block"> |
46 |
<form name="resultform" action="" style="display:block"> |
47 |
<div id="toolbar" class="btn-toolbar"> |
47 |
|
48 |
<div class="btn-group"><button type="button" class="btn btn-default" id="add_items"><i class="fa fa-plus"></i> Add checked</button></div> |
|
|
49 |
<div class="btn-group"><a href="#" class="btn btn-default close"><i class="fa fa-times-circle"></i> Done</a></div> |
50 |
</div> |
51 |
<div id="selection_ops"> |
48 |
<div id="selection_ops"> |
52 |
<a id="CheckAll" class="btn btn-link" href="#"><i class="fa fa-check"></i> Select all</a> |
49 |
<a id="CheckAll" class="btn btn-link" href="#"><i class="fa fa-check"></i> Select all</a> |
53 |
<a id="CheckNone" class="btn btn-link" href="#"><i class="fa fa-times"></i> Clear all</a> |
50 |
<a id="CheckNone" class="btn btn-link" href="#"><i class="fa fa-times"></i> Clear all</a> |
Lines 107-125
Link Here
|
107 |
</form> |
104 |
</form> |
108 |
</div> |
105 |
</div> |
109 |
[% PROCESS pagination %] |
106 |
[% PROCESS pagination %] |
110 |
<div id="closewindow"><a href="#" class="btn btn-default btn-default close">Close</a></div> |
107 |
<nav class="navbar navbar-default navbar-fixed-bottom"> |
|
|
108 |
<div class="container-fluid"> |
109 |
<fieldset class="action"> |
110 |
<button type="button" class="btn btn-primary" id="add_items"><i class="fa fa-plus"></i> Add checked</button> |
111 |
<a href="#" class="btn btn-default close_window">Done</a> |
112 |
</fieldset> |
113 |
</div> |
114 |
</nav> |
111 |
</div> |
115 |
</div> |
112 |
|
116 |
|
113 |
[% MACRO jsinclude BLOCK %] |
117 |
[% MACRO jsinclude BLOCK %] |
114 |
[% Asset.js("lib/hc-sticky.js") | $raw %] |
|
|
115 |
<script> |
118 |
<script> |
116 |
var Sticky; |
119 |
var Sticky; |
117 |
$(document).ready(function(){ |
120 |
$(document).ready(function(){ |
118 |
Sticky = $("#toolbar"); |
|
|
119 |
Sticky.hcSticky({ |
120 |
stickTo: "form", |
121 |
stickyClass: "floating" |
122 |
}); |
123 |
$("#CheckAll").click(function(e){ |
121 |
$("#CheckAll").click(function(e){ |
124 |
e.preventDefault(); |
122 |
e.preventDefault(); |
125 |
$("input[type='checkbox']").prop("checked",true); |
123 |
$("input[type='checkbox']").prop("checked",true); |