Lines 12-18
$(document).ready(function(){
Link Here
|
12 |
$("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, { |
12 |
$("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, { |
13 |
"sDom": 't', |
13 |
"sDom": 't', |
14 |
"aoColumnDefs": [ |
14 |
"aoColumnDefs": [ |
15 |
{ "aTargets": [ -1,-2,-3 ], "bSortable": false, "bSearchable": false }, |
15 |
{ "aTargets": [ -1,-2 ], "bSortable": false, "bSearchable": false }, |
16 |
{ "aTargets": [ 1 ], "sType": "nsb-nse" }, |
16 |
{ "aTargets": [ 1 ], "sType": "nsb-nse" }, |
17 |
], |
17 |
], |
18 |
"aaSorting": [[ 1, "asc" ]], |
18 |
"aaSorting": [[ 1, "asc" ]], |
Lines 102-108
tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :
Link Here
|
102 |
[% END %] |
102 |
[% END %] |
103 |
</div> |
103 |
</div> |
104 |
</div> |
104 |
</div> |
105 |
<fieldset class="action"><input type="submit" class="submit" value="Search" /> <a class="cancel close" href="#">Cancel</a></fieldset> |
105 |
<fieldset class="action"><button type="submit" class="submit btn btn-primary btn-sm"><i class="fa fa-search"></i> Search</button> <a class="cancel close" href="#">Cancel</a></fieldset> |
106 |
</form> |
106 |
</form> |
107 |
|
107 |
|
108 |
|
108 |
|
Lines 144-152
tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :
Link Here
|
144 |
<th>Edition</th> |
144 |
<th>Edition</th> |
145 |
<th>ISBN</th> |
145 |
<th>ISBN</th> |
146 |
<th>LCCN</th> |
146 |
<th>LCCN</th> |
147 |
<th>MARC</th> |
147 |
<th>View</th> |
148 |
<th>Card</th> |
148 |
<th> </th> |
149 |
<th> </th> |
|
|
150 |
</tr></thead> |
149 |
</tr></thead> |
151 |
<tbody>[% FOREACH breeding_loo IN breeding_loop %] |
150 |
<tbody>[% FOREACH breeding_loo IN breeding_loop %] |
152 |
[% IF ( breeding_loo.breedingid ) %] |
151 |
[% IF ( breeding_loo.breedingid ) %] |
Lines 159-167
tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :
Link Here
|
159 |
<td>[% breeding_loo.edition %]</td> |
158 |
<td>[% breeding_loo.edition %]</td> |
160 |
<td>[% breeding_loo.isbn %]</td> |
159 |
<td>[% breeding_loo.isbn %]</td> |
161 |
<td>[% breeding_loo.lccn %]</td> |
160 |
<td>[% breeding_loo.lccn %]</td> |
162 |
<td><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" class="previewData">MARC</a></td> |
161 |
<td class="actions"><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" class="previewData btn btn-default btn-xs"><i class="fa fa-eye"></i> MARC</a> <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=[% breeding_loo.breedingid %]" class="previewData btn btn-default btn-xs"><i class="fa fa-eye"></i> Card</a></td> |
163 |
<td><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=[% breeding_loo.breedingid %]" class="previewData">Card</a></td> |
162 |
<td class="actions"><a href="#" class="import_record btn btn-default btn-xs" data-breedingid="[% breeding_loo.breedingid %]" data-biblionumber="[% breeding_loo.biblionumber %]" data-frameworkcode="[% frameworkcode | uri %]"><i class="fa fa-download"></i> Import</a></td> |
164 |
<td><a href="#" class="import_record" data-breedingid="[% breeding_loo.breedingid %]" data-biblionumber="[% breeding_loo.biblionumber %]" data-frameworkcode="[% frameworkcode | uri %]">Import</a></td> |
|
|
165 |
</tr> |
163 |
</tr> |
166 |
[% END %] |
164 |
[% END %] |
167 |
[% END %]</tbody> |
165 |
[% END %]</tbody> |
Lines 201-220
tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :
Link Here
|
201 |
<input type="hidden" name="id" id="z3950_[% server.id %]" value="[% server.id %]" /> |
199 |
<input type="hidden" name="id" id="z3950_[% server.id %]" value="[% server.id %]" /> |
202 |
[% END %] |
200 |
[% END %] |
203 |
|
201 |
|
204 |
[% IF ( show_prevbutton ) %] |
202 |
<fieldset class="action"> |
205 |
<input type="button" name="changepage_prev" value="Previous page" data-currentpage="[% current_page %]" /> |
203 |
[% IF ( show_prevbutton ) %] |
206 |
[% END %] |
204 |
<button type="submit" name="changepage_prev" data-currentpage="[% current_page %]" class="btn btn-default btn-sm"><i class="fa fa-angle-double-left"></i> Previous page</button> |
207 |
Page [% current_page %] / [% total_pages %] |
205 |
[% END %] |
208 |
[% IF ( show_nextbutton ) %] |
206 |
Page [% current_page %] / [% total_pages %] |
209 |
<input type="button" name="changepage_next" value="Next page" data-currentpage="[% current_page %]" /> |
207 |
[% IF ( show_nextbutton ) %] |
210 |
[% END %] |
208 |
<button type="submit" name="changepage_next" data-currentpage="[% current_page %]" class="btn btn-default btn-sm">Next page <i class="fa fa-angle-double-right"></i></button> |
211 |
<br />Go to page : <input id="goto_page" name="goto_page" value="[% current_page %]" size="4" /><input type="submit" name="changepage_goto" value="Go" /> |
209 |
[% END %] |
|
|
210 |
</fieldset> |
211 |
<fieldset class="action"> |
212 |
Go to page: <input id="goto_page" name="goto_page" value="[% current_page %]" size="4"><input type="hidden" name="changepage_goto" value="Go"> <button type="submit" class="btn btn-default btn-sm"><i class="fa fa-arrow-right"></i> Go</button> |
213 |
</fieldset> |
212 |
</form> |
214 |
</form> |
213 |
|
215 |
|
214 |
[% ELSE %] |
216 |
[% ELSE %] |
215 |
<div class="dialog message">Nothing found.</div> |
217 |
<div class="dialog message">Nothing found.</div> |
216 |
[% END %] |
218 |
[% END %] |
217 |
<p><form method="get" action="/cgi-bin/koha/cataloguing/z3950_search.pl"><input type="hidden" name="biblionumber" value="[% biblionumber | html %]"/><input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]"/><input type="submit" value="Try another search"/></form></p> |
219 |
<fieldset class="action"> |
|
|
220 |
<form method="get" action="/cgi-bin/koha/cataloguing/z3950_search.pl"><input type="hidden" name="biblionumber" value="[% biblionumber | html %]"/><input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]"/><button type="submit" class="btn btn-default btn-sm"><i class="fa fa-search"></i> Try another search</button></form> |
221 |
</fieldset> |
218 |
|
222 |
|
219 |
[% END %] |
223 |
[% END %] |
220 |
|
224 |
|
221 |
- |
|
|