Lines 5-21
Link Here
|
5 |
[% IF ( displayprev || displaynext ) %] |
5 |
[% IF ( displayprev || displaynext ) %] |
6 |
<ul class="pagination"> |
6 |
<ul class="pagination"> |
7 |
[% IF ( displayprev ) %] |
7 |
[% IF ( displayprev ) %] |
8 |
<li><a class="nav" href="label-item-search.pl?startfrom=[% startfromprev | html %]&idx=[% idx | html %]&ccl_textbox=[% ccl_textbox | html %]&limits=[% limits | html %]&resultsperpage=[% resultsperpage | html %]&op=do_search&batch_id=[% batch_id | html %]"><i class="fa fa-arrow-left"></i> Previous</a></li> |
8 |
<li> |
|
|
9 |
<form id="prevForm" action="label-item-search.pl" method="post"> |
10 |
<input type="hidden" name="startfrom" value="[% startfromprev | html %]"> |
11 |
<input type="hidden" name="idx" value="[% idx | html %]"> |
12 |
<input type="hidden" name="ccl_textbox" value="[% ccl_textbox | html %]"> |
13 |
<input type="hidden" name="limits" value="[% limits | html %]"> |
14 |
<input type="hidden" name="resultsperpage" value="[% resultsperpage | html %]"> |
15 |
<input type="hidden" name="op" value="cud-do_search"> |
16 |
<input type="hidden" name="batch_id" value="[% batch_id | html %]"> |
17 |
<button type="submit" class="nav-button"><i class="fa fa-arrow-left"></i> Previous</button> |
18 |
</form> |
19 |
</li> |
9 |
[% END %] |
20 |
[% END %] |
10 |
[% FOREACH number IN numbers %] |
21 |
[% FOREACH number IN numbers %] |
11 |
[% IF ( startfrom == number.startfrom ) %] |
22 |
[% IF ( startfrom == number.startfrom ) %] |
12 |
<li class="active"><span>[% number.number | html %]</span></a></li> |
23 |
<li class="active"><span>[% number.number | html %]</span></a></li> |
13 |
[% ELSE %] |
24 |
[% ELSE %] |
14 |
<li><a class="nav" href="label-item-search.pl?startfrom=[% number.startfrom | html %]&idx=[% idx | html %]&ccl_textbox=[% ccl_textbox | html %]&limits=[% limits | html %]&resultsperpage=[% resultsperpage | html %]&op=do_search&batch_id=[% batch_id | html %]">[% number.number | html %]</a></li> |
25 |
<li> |
|
|
26 |
<form id="searchForm_[% number.number %]" action="label-item-search.pl" method="post"> |
27 |
<input type="hidden" name="startfrom" value="[% number.startfrom | html %]"> |
28 |
<input type="hidden" name="idx" value="[% idx | html %]"> |
29 |
<input type="hidden" name="ccl_textbox" value="[% ccl_textbox | html %]"> |
30 |
<input type="hidden" name="limits" value="[% limits | html %]"> |
31 |
<input type="hidden" name="resultsperpage" value="[% resultsperpage | html %]"> |
32 |
<input type="hidden" name="op" value="cud-do_search"> |
33 |
<input type="hidden" name="batch_id" value="[% batch_id | html %]"> |
34 |
<button type="submit" class="nav-button">[% number.number | html %]</button> |
35 |
</form> |
36 |
</li> |
15 |
[% END %] |
37 |
[% END %] |
16 |
[% END %] |
38 |
[% END %] |
17 |
[% IF ( displaynext ) %] |
39 |
[% IF ( displaynext ) %] |
18 |
<li><a class="nav" href="label-item-search.pl?startfrom=[% startfromnext | html %]&idx=[% idx | html %]&ccl_textbox=[% ccl_textbox | html %]&limits=[% limits | html %]&resultsperpage=[% resultsperpage | html %]&op=do_search&batch_id=[% batch_id | html %]">Next <i class="fa fa-arrow-right"></i></a></li> |
40 |
<li> |
|
|
41 |
<form id="nextForm" action="label-item-search.pl" method="post"> |
42 |
<input type="hidden" name="startfrom" value="[% startfromnext | html %]"> |
43 |
<input type="hidden" name="idx" value="[% idx | html %]"> |
44 |
<input type="hidden" name="ccl_textbox" value="[% ccl_textbox | html %]"> |
45 |
<input type="hidden" name="limits" value="[% limits | html %]"> |
46 |
<input type="hidden" name="resultsperpage" value="[% resultsperpage | html %]"> |
47 |
<input type="hidden" name="op" value="cud-do_search"> |
48 |
<input type="hidden" name="batch_id" value="[% batch_id | html %]"> |
49 |
<button type="submit" class="nav-button">Next <i class="fa fa-arrow-right"></i></button> |
50 |
</form> |
51 |
</li> |
19 |
[% END %] |
52 |
[% END %] |
20 |
</ul> |
53 |
</ul> |
21 |
[% END %] |
54 |
[% END %] |
Lines 117-123
Link Here
|
117 |
[% MACRO jsinclude BLOCK %] |
150 |
[% MACRO jsinclude BLOCK %] |
118 |
[% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %] |
151 |
[% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %] |
119 |
<script> |
152 |
<script> |
120 |
var Sticky; |
|
|
121 |
$(document).ready(function(){ |
153 |
$(document).ready(function(){ |
122 |
$("#CheckAll").click(function(e){ |
154 |
$("#CheckAll").click(function(e){ |
123 |
e.preventDefault(); |
155 |
e.preventDefault(); |
124 |
- |
|
|