|
Lines 194-237
Link Here
|
| 194 |
[% END # IF /searchdesc %] |
194 |
[% END # IF /searchdesc %] |
| 195 |
|
195 |
|
| 196 |
<div id="floating" class="sticky"> |
196 |
<div id="floating" class="sticky"> |
| 197 |
<div id="toolbar" class="toolbar row align-items-center"> |
197 |
<a href="#" class="toolbar-collapse-toggle d-none" aria-expanded="false" aria-controls="toolbar-collapse-content"> <i class="fa fa-bars" aria-hidden="true"></i> Search controls </a> |
| 198 |
<div id="top-pages" class="col"> [% INCLUDE 'page-numbers.inc' %] </div> |
198 |
<div class="toolbar-collapse" id="toolbar-collapse-content"> |
| 199 |
[% UNLESS tag %] |
199 |
<div id="toolbar" class="toolbar row align-items-center"> |
| 200 |
<div class="sort_by col-sm-auto"> |
200 |
<div id="top-pages" class="col"> [% INCLUDE 'page-numbers.inc' %] </div> |
| 201 |
<label for="sort_by">Sort results by:</label> |
201 |
[% UNLESS tag %] |
| 202 |
<label for="sort_by" class="sr-only">Sort by:</label> |
202 |
<div class="sort_by col-sm-auto"> |
| 203 |
<select id="sort_by" class="resort form-select form-select-sm" name="sort_by"> |
203 |
<label for="sort_by">Sort results by:</label> |
| 204 |
[% INCLUDE 'resort_form.inc' %] |
204 |
<label for="sort_by" class="sr-only">Sort by:</label> |
| 205 |
</select> |
205 |
<select id="sort_by" class="resort form-select form-select-sm" name="sort_by"> |
| 206 |
|
206 |
[% INCLUDE 'resort_form.inc' %] |
| 207 |
[% IF Koha.Preference('OPACnumSearchResultsDropdown') %] |
|
|
| 208 |
<label for="results_per_page">Results per page: </label> |
| 209 |
<select id="results_per_page" class="form-select" name="count"> |
| 210 |
[% IF Koha.Preference('OPACnumSearchResults') %] |
| 211 |
[% IF results_per_page == Koha.Preference('OPACnumSearchResults') %] |
| 212 |
<option value="[% Koha.Preference('OPACnumSearchResults') | html %]" selected="selected">[% Koha.Preference('OPACnumSearchResults') | html %] (default)</option> |
| 213 |
[% ELSE %] |
| 214 |
<option value="[% Koha.Preference('OPACnumSearchResults') | html %]">[% Koha.Preference('OPACnumSearchResults') | html %] (default)</option> |
| 215 |
[% END %] |
| 216 |
[% END %] |
| 217 |
[% IF results_per_page == '20' %]<option value="20" selected="selected">20</option>[% ELSE %]<option value="20">20</option>[% END %] |
| 218 |
[% IF results_per_page == '40' %]<option value="40" selected="selected">40</option>[% ELSE %]<option value="40">40</option>[% END %] |
| 219 |
[% IF results_per_page == '60' %]<option value="60" selected="selected">60</option>[% ELSE %]<option value="60">60</option>[% END %] |
| 220 |
[% IF results_per_page == '80' %]<option value="80" selected="selected">80</option>[% ELSE %]<option value="80">80</option>[% END %] |
| 221 |
[% IF results_per_page == '100' %]<option value="100" selected="selected">100</option>[% ELSE %]<option value="100">100</option>[% END %] |
| 222 |
</select> |
207 |
</select> |
| 223 |
[% END # IF Koha.Preference('OPACnumSearchResultsDropdown') %] |
|
|
| 224 |
</div> |
| 225 |
<!-- /.sort_by --> |
| 226 |
<div id="sortsubmit" class="sort_by col-auto"> |
| 227 |
<input type="submit" class="btn btn-primary btn-sm clearfix" value="Go" /> |
| 228 |
</div> |
| 229 |
<!-- /.sort_by --> |
| 230 |
[% END # /UNLESS tag %] |
| 231 |
</div> |
| 232 |
<!-- / #toolbar --> |
| 233 |
|
208 |
|
| 234 |
[% INCLUDE 'result-batch-controls.inc' results=1 %] |
209 |
[% IF Koha.Preference('OPACnumSearchResultsDropdown') %] |
|
|
210 |
<label for="results_per_page">Results per page: </label> |
| 211 |
<select id="results_per_page" class="form-select" name="count"> |
| 212 |
[% IF Koha.Preference('OPACnumSearchResults') %] |
| 213 |
[% IF results_per_page == Koha.Preference('OPACnumSearchResults') %] |
| 214 |
<option value="[% Koha.Preference('OPACnumSearchResults') | html %]" selected="selected">[% Koha.Preference('OPACnumSearchResults') | html %] (default)</option> |
| 215 |
[% ELSE %] |
| 216 |
<option value="[% Koha.Preference('OPACnumSearchResults') | html %]">[% Koha.Preference('OPACnumSearchResults') | html %] (default)</option> |
| 217 |
[% END %] |
| 218 |
[% END %] |
| 219 |
[% IF results_per_page == '20' %]<option value="20" selected="selected">20</option>[% ELSE %]<option value="20">20</option>[% END %] |
| 220 |
[% IF results_per_page == '40' %]<option value="40" selected="selected">40</option>[% ELSE %]<option value="40">40</option>[% END %] |
| 221 |
[% IF results_per_page == '60' %]<option value="60" selected="selected">60</option>[% ELSE %]<option value="60">60</option>[% END %] |
| 222 |
[% IF results_per_page == '80' %]<option value="80" selected="selected">80</option>[% ELSE %]<option value="80">80</option>[% END %] |
| 223 |
[% IF results_per_page == '100' %]<option value="100" selected="selected">100</option>[% ELSE %]<option value="100">100</option>[% END %] |
| 224 |
</select> |
| 225 |
[% END # IF Koha.Preference('OPACnumSearchResultsDropdown') %] |
| 226 |
</div> |
| 227 |
<!-- /.sort_by --> |
| 228 |
<div id="sortsubmit" class="sort_by col-auto"> |
| 229 |
<input type="submit" class="btn btn-primary btn-sm clearfix" value="Go" /> |
| 230 |
</div> |
| 231 |
<!-- /.sort_by --> |
| 232 |
[% END # /UNLESS tag %] |
| 233 |
</div> |
| 234 |
<!-- / #toolbar --> |
| 235 |
|
| 236 |
[% INCLUDE 'result-batch-controls.inc' results=1 %] |
| 237 |
</div> |
| 238 |
<!-- / .toolbar-collapse --> |
| 235 |
</div> |
239 |
</div> |
| 236 |
<!-- /#floating --> |
240 |
<!-- /#floating --> |
| 237 |
|
241 |
|