|
Lines 7-14
Link Here
|
| 7 |
› Batch list |
7 |
› Batch list |
| 8 |
[% END %] |
8 |
[% END %] |
| 9 |
</title> |
9 |
</title> |
| 10 |
[% INCLUDE 'greybox.inc' %] |
|
|
| 11 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
10 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
|
|
11 |
<style type="text/css">#dataPreview { width : 80%; margin-left : -40%; } @media (max-width: 767px) { #dataPreview { margin: 0; width : auto; } }</style> |
| 12 |
[% INCLUDE 'doc-head-close.inc' %] |
12 |
[% INCLUDE 'doc-head-close.inc' %] |
| 13 |
[% INCLUDE 'datatables.inc' %] |
13 |
[% INCLUDE 'datatables.inc' %] |
| 14 |
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
14 |
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
|
Lines 139-144
Link Here
|
| 139 |
return disableUnchecked($(this)); |
139 |
return disableUnchecked($(this)); |
| 140 |
}); |
140 |
}); |
| 141 |
$('#tabs').tabs(); |
141 |
$('#tabs').tabs(); |
|
|
142 |
$(".previewData").on("click", function(e){ |
| 143 |
e.preventDefault(); |
| 144 |
var ltitle = $(this).text(); |
| 145 |
var page = $(this).attr("href"); |
| 146 |
$("#dataPreviewLabel").text(ltitle); |
| 147 |
$("#dataPreview .modal-body").load(page + " div"); |
| 148 |
$('#dataPreview').modal({show:true}); |
| 149 |
}); |
| 150 |
$("#dataPreview").on("hidden", function(){ |
| 151 |
$("#dataPreviewLabel").html(""); |
| 152 |
$("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>"); |
| 153 |
}); |
| 142 |
}); |
154 |
}); |
| 143 |
|
155 |
|
| 144 |
function disableUnchecked(form){ |
156 |
function disableUnchecked(form){ |
|
Lines 199-205
Link Here
|
| 199 |
<span class="citation">[% biblio.citation %]</span> |
211 |
<span class="citation">[% biblio.citation %]</span> |
| 200 |
</label> |
212 |
</label> |
| 201 |
<span class="links" style="font-weight: normal;"> |
213 |
<span class="links" style="font-weight: normal;"> |
| 202 |
( <a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% biblio.import_record_id %]" title="MARC" rel="gb_page_center[600,500]">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=[% biblio.import_record_id %]" title="Card" rel="gb_page_center[600,500]">Card</a> | <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&breedingid=[% biblio.import_record_id %]&import_batch_id=[% biblio.import_batch_id %]&biblionumber=[% biblio.match_biblionumber %]">Add order</a> ) |
214 |
( <a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% biblio.import_record_id %]" class="previewData">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=[% biblio.import_record_id %]" class="previewData">Card</a> | <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&breedingid=[% biblio.import_record_id %]&import_batch_id=[% biblio.import_batch_id %]&biblionumber=[% biblio.match_biblionumber %]">Add order</a> ) |
| 203 |
</span> |
215 |
</span> |
| 204 |
</legend> |
216 |
</legend> |
| 205 |
<ol> |
217 |
<ol> |
|
Lines 265-270
Link Here
|
| 265 |
</li> |
277 |
</li> |
| 266 |
</ol> |
278 |
</ol> |
| 267 |
</fieldset> |
279 |
</fieldset> |
|
|
280 |
<div id="dataPreview" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="dataPreviewLabel" aria-hidden="true"> |
| 281 |
<div class="modal-header"> |
| 282 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
| 283 |
<h3 id="dataPreviewLabel">MARC preview</h3> |
| 284 |
</div> |
| 285 |
<div class="modal-body"> |
| 286 |
<div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div> |
| 287 |
</div> |
| 288 |
<div class="modal-footer"> |
| 289 |
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button> |
| 290 |
</div> |
| 291 |
</div> |
| 268 |
[% END %] |
292 |
[% END %] |
| 269 |
</div> |
293 |
</div> |
| 270 |
<div id="items_info"> |
294 |
<div id="items_info"> |
| 271 |
- |
|
|