|
Lines 1-3
Link Here
|
|
|
1 |
[% BLOCK pagination %] |
| 2 |
<nav> |
| 3 |
[% IF ( displayprev || displaynext ) %] |
| 4 |
<ul class="pagination"> |
| 5 |
[% IF ( displayprev ) %] |
| 6 |
<li><a class="nav" href="label-item-search.pl?startfrom=[% startfromprev %]&ccl_query=[% ccl_query %]&resultsperpage=[% resultsperpage %]&op=do_search&batch_id=[% batch_id %]"><i class="fa fa-arrow-left"></i> Previous</a></li> |
| 7 |
[% END %] |
| 8 |
[% FOREACH number IN numbers %] |
| 9 |
[% IF ( startfrom == number.startfrom ) %] |
| 10 |
<li class="active"><span>[% number.number %]</span></a></li> |
| 11 |
[% ELSE %] |
| 12 |
<li><a class="nav" href="label-item-search.pl?startfrom=[% number.startfrom %]&ccl_query=[% ccl_query %]&resultsperpage=[% resultsperpage %]&op=do_search&batch_id=[% batch_id %]">[% number.number %]</a></li> |
| 13 |
[% END %] |
| 14 |
[% END %] |
| 15 |
[% IF ( displaynext ) %] |
| 16 |
<li><a class="nav" href="label-item-search.pl?startfrom=[% startfromnext %]&ccl_query=[% ccl_query %]&resultsperpage=[% resultsperpage %]&op=do_search&batch_id=[% batch_id %]">Next <i class="fa fa-arrow-right"></i></a></li> |
| 17 |
[% END %] |
| 18 |
</ul> |
| 19 |
[% END %] |
| 20 |
</nav> |
| 21 |
[% END %] |
| 1 |
[% USE Asset %] |
22 |
[% USE Asset %] |
| 2 |
[% SET footerjs = 1 %] |
23 |
[% SET footerjs = 1 %] |
| 3 |
[% INCLUDE 'doc-head-open.inc' %] |
24 |
[% INCLUDE 'doc-head-open.inc' %] |
|
Lines 9-27
Link Here
|
| 9 |
<div class="main container-fluid"> |
30 |
<div class="main container-fluid"> |
| 10 |
<h1>Search results</h1> |
31 |
<h1>Search results</h1> |
| 11 |
<div class="results"> |
32 |
<div class="results"> |
| 12 |
[% IF ( displayprev || displaynext ) %] |
33 |
[% PROCESS pagination %] |
| 13 |
<p> |
|
|
| 14 |
[% IF ( displayprev ) %] |
| 15 |
<a href="label-item-search.pl?startfrom=[% startfromprev %]&ccl_query=[% ccl_query %]&resultsperpage=[% resultsperpage %]&op=do_search&batch_id=[% batch_id %]"><<</a> |
| 16 |
[% END %] |
| 17 |
[% FOREACH number IN numbers %] |
| 18 |
<a href="label-item-search.pl?startfrom=[% number.startfrom %]&ccl_query=[% ccl_query %]&resultsperpage=[% resultsperpage %]&op=do_search&batch_id=[% batch_id %]">[% number.number %]</a> |
| 19 |
[% END %] |
| 20 |
[% IF ( displaynext ) %] |
| 21 |
<a href="label-item-search.pl?startfrom=[% startfromnext %]&ccl_query=[% ccl_query %]&resultsperpage=[% resultsperpage %]&op=do_search&batch_id=[% batch_id %]">>></a> |
| 22 |
[% END %] |
| 23 |
</p> |
| 24 |
[% END %] |
| 25 |
[% IF ( results ) %] |
34 |
[% IF ( results ) %] |
| 26 |
<strong>Results [% from %] through [% to %] [% IF ( total ) %] of [% total %][% END %]</strong> |
35 |
<strong>Results [% from %] through [% to %] [% IF ( total ) %] of [% total %][% END %]</strong> |
| 27 |
[% ELSE %] |
36 |
[% ELSE %] |
|
Lines 88-111
Link Here
|
| 88 |
</div> |
97 |
</div> |
| 89 |
</form> |
98 |
</form> |
| 90 |
</div> |
99 |
</div> |
| 91 |
[% IF ( displayprev || displaynext ) %] |
100 |
[% PROCESS pagination %] |
| 92 |
<p> |
|
|
| 93 |
[% IF ( displayprev ) %] |
| 94 |
<a href="label-item-search.pl?startfrom=[% startfromnext %]&ccl_query=[% ccl_query %]&resultsperpage=[% resultsperpage %]&op=do_search&batch_id=[% batch_id %]"><<</a> |
| 95 |
[% END %] |
| 96 |
[% FOREACH number IN numbers %] |
| 97 |
[% IF ( number.highlight ) %] |
| 98 |
<span class="current">[% number.number %]</span> |
| 99 |
[% ELSE %] |
| 100 |
<a href="label-item-search.pl?startfrom=[% number.startfrom %]&ccl_query=[% number.ccl_query %]&resultsperpage=[% number.resultsperpage %]&op=do_search&batch_id=[% number.batch_id %]">[% number.number %]</a> |
| 101 |
[% END %] |
| 102 |
[% END %] |
| 103 |
[% IF ( displaynext ) %] |
| 104 |
<a href="label-item-search.pl?startfrom=[% startfromnext %]&ccl_query=[% ccl_query %]&resultsperpage=[% resultsperpage %]&op=do_search&batch_id=[% batch_id %]">>></a> |
| 105 |
[% END %] |
| 106 |
</p> |
| 107 |
<div id="closewindow"><a href="#" class="btn btn-default btn-default close">Close</a></div> |
101 |
<div id="closewindow"><a href="#" class="btn btn-default btn-default close">Close</a></div> |
| 108 |
[% END %] |
|
|
| 109 |
</div> |
102 |
</div> |
| 110 |
|
103 |
|
| 111 |
[% MACRO jsinclude BLOCK %] |
104 |
[% MACRO jsinclude BLOCK %] |
| 112 |
- |
|
|