|
Lines 1-6
Link Here
|
| 1 |
[% INCLUDE 'doc-head-open.inc' %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
| 2 |
<title>Koha › Z39.50/SRU search results</title> |
2 |
<title>Koha › Z39.50/SRU search results</title> |
| 3 |
[% INCLUDE 'greybox.inc' %] |
|
|
| 4 |
[% INCLUDE 'doc-head-close.inc' %] |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
| 5 |
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
4 |
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
| 6 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
5 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
|
Lines 63-68
$(document).ready(function(){
Link Here
|
| 63 |
e.preventDefault(); |
62 |
e.preventDefault(); |
| 64 |
$("form[name='f']").find("input[type=text]").val(""); |
63 |
$("form[name='f']").find("input[type=text]").val(""); |
| 65 |
}); |
64 |
}); |
|
|
65 |
$(".previewData").on("click", function(e){ |
| 66 |
e.preventDefault(); |
| 67 |
var ltitle = $(this).text(); |
| 68 |
var page = $(this).attr("href"); |
| 69 |
$("#dataPreviewLabel").text(ltitle); |
| 70 |
$("#dataPreview .modal-body").load(page + " div"); |
| 71 |
$('#dataPreview').modal({show:true}); |
| 72 |
}); |
| 73 |
$("#dataPreview").on("hidden", function(){ |
| 74 |
$("#dataPreviewLabel").html(""); |
| 75 |
$("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>"); |
| 76 |
}); |
| 77 |
|
| 66 |
}); |
78 |
}); |
| 67 |
|
79 |
|
| 68 |
[% IF ( total_pages ) %] |
80 |
[% IF ( total_pages ) %] |
|
Lines 89-94
function validate_goto_page(){
Link Here
|
| 89 |
.linktools a { font-size : 85%; text-decoration:none; padding:.3em;;background-color:#FFF; display:block;float:left;border-right:1px solid #DDD;} |
101 |
.linktools a { font-size : 85%; text-decoration:none; padding:.3em;;background-color:#FFF; display:block;float:left;border-right:1px solid #DDD;} |
| 90 |
.linktools a:hover { background-color:#EEE;color:#CC3300;border-right:1px solid #CCC;} |
102 |
.linktools a:hover { background-color:#EEE;color:#CC3300;border-right:1px solid #CCC;} |
| 91 |
tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : transparent; } |
103 |
tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : transparent; } |
|
|
104 |
#dataPreview { width : 90%; margin-left : -45%; top: 5%; } .modal-body { max-height: 380px; } .modal-header { padding: 0 14px; } @media (max-width: 767px) { #dataPreview { margin: 0; width : auto; } } |
| 92 |
</style> |
105 |
</style> |
| 93 |
[% IF ( opsearch ) %] |
106 |
[% IF ( opsearch ) %] |
| 94 |
<style type="text/css"> |
107 |
<style type="text/css"> |
|
Lines 200-213
tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :
Link Here
|
| 200 |
<td>[% breeding_loo.edition %]</td> |
213 |
<td>[% breeding_loo.edition %]</td> |
| 201 |
<td>[% breeding_loo.isbn %]</td> |
214 |
<td>[% breeding_loo.isbn %]</td> |
| 202 |
<td>[% breeding_loo.lccn %]</td> |
215 |
<td>[% breeding_loo.lccn %]</td> |
| 203 |
<td><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" title="MARC" rel="gb_page_center[600,500]">MARC</a></td> |
216 |
<td><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" class="previewData">MARC</a></td> |
| 204 |
<td><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=[% breeding_loo.breedingid %]" title="MARC" rel="gb_page_center[600,500]">Card</a></td> |
217 |
<td><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=[% breeding_loo.breedingid %]" class="previewData">Card</a></td> |
| 205 |
<td><a href="#" onclick="Import([% breeding_loo.breedingid %],[% breeding_loo.biblionumber %]); return false">Import</a></td> |
218 |
<td><a href="#" onclick="Import([% breeding_loo.breedingid %],[% breeding_loo.biblionumber %]); return false">Import</a></td> |
| 206 |
</tr> |
219 |
</tr> |
| 207 |
[% END %] |
220 |
[% END %] |
| 208 |
[% END %]</tbody> |
221 |
[% END %]</tbody> |
| 209 |
</table> |
222 |
</table> |
| 210 |
|
223 |
|
|
|
224 |
<div id="dataPreview" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="dataPreviewLabel" aria-hidden="true"> |
| 225 |
<div class="modal-header"> |
| 226 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
| 227 |
<h3 id="dataPreviewLabel">Preview</h3> |
| 228 |
</div> |
| 229 |
<div class="modal-body"> |
| 230 |
<div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div> |
| 231 |
</div> |
| 232 |
|
| 233 |
</div> |
| 234 |
|
| 235 |
|
| 211 |
<form method="post" action="z3950_search.pl" id="page_form" name="page_form" class="checkboxed"> |
236 |
<form method="post" action="z3950_search.pl" id="page_form" name="page_form" class="checkboxed"> |
| 212 |
<input type="hidden" name="op" id="op" value="do_search" /> |
237 |
<input type="hidden" name="op" id="op" value="do_search" /> |
| 213 |
<input type="hidden" name="current_page" id="current_page" value="[% current_page %]" /> |
238 |
<input type="hidden" name="current_page" id="current_page" value="[% current_page %]" /> |
| 214 |
- |
|
|