Lines 3-9
Link Here
|
3 |
[% INCLUDE 'greybox.inc' %] |
3 |
[% INCLUDE 'greybox.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
5 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
6 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> |
6 |
<link rel="stylesheet" type="text/css" href="/intranet-tmpl/prog/en/css/datatables.css" /> |
|
|
7 |
<script type="text/javascript" src="/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.min.js"></script> |
8 |
[% INCLUDE 'datatables-strings.inc' %] |
9 |
<script type="text/javascript" src="/intranet-tmpl/prog/en/js/datatables.js"></script> |
7 |
<script type="text/javascript"> |
10 |
<script type="text/javascript"> |
8 |
//<![CDATA[ |
11 |
//<![CDATA[ |
9 |
function Import(GetThisOne,biblionumber) { |
12 |
function Import(GetThisOne,biblionumber) { |
Lines 11-22
function Import(GetThisOne,biblionumber) {
Link Here
|
11 |
window.close(); |
14 |
window.close(); |
12 |
return false; |
15 |
return false; |
13 |
} |
16 |
} |
14 |
$.tablesorter.addParser({ |
|
|
15 |
id: 'articles', |
16 |
is: function(s) {return false; }, |
17 |
format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); }, |
18 |
type: 'text' |
19 |
}); |
20 |
|
17 |
|
21 |
function closemenu(){ |
18 |
function closemenu(){ |
22 |
$(".linktools").hide(); |
19 |
$(".linktools").hide(); |
Lines 32-42
$(document).ready(function(){
Link Here
|
32 |
$(".checkboxed").unCheckCheckboxes(); |
29 |
$(".checkboxed").unCheckCheckboxes(); |
33 |
return false; |
30 |
return false; |
34 |
}); |
31 |
}); |
35 |
$("#resultst").tablesorter({ |
32 |
$("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, { |
36 |
sortList: [[1,0]], |
33 |
"sDom": 't', |
37 |
headers: { 1: { sorter: 'articles' },7: { sorter: false },8: { sorter: false } }, |
34 |
"aoColumnDefs": [ |
38 |
widgets: ['zebra'] |
35 |
{ "aTargets": [ -1,-2,-3 ], "bSortable": false, "bSearchable": false }, |
39 |
}); |
36 |
], |
|
|
37 |
"aaSorting": [[ 1, "asc" ]], |
38 |
"bPaginate": false |
39 |
})); |
40 |
/* Inline edit/delete links */ |
40 |
/* Inline edit/delete links */ |
41 |
$("td").click(function(event){ |
41 |
$("td").click(function(event){ |
42 |
var $tgt = $(event.target); |
42 |
var $tgt = $(event.target); |
Lines 157-163
tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :
Link Here
|
157 |
<th>Edition</th> |
157 |
<th>Edition</th> |
158 |
<th>ISBN</th> |
158 |
<th>ISBN</th> |
159 |
<th>LCCN</th> |
159 |
<th>LCCN</th> |
160 |
<th colspan="2">Preview</th> |
160 |
<th>MARC</th> |
|
|
161 |
<th>Card</th> |
161 |
<th> </th> |
162 |
<th> </th> |
162 |
</tr></thead> |
163 |
</tr></thead> |
163 |
<tbody>[% FOREACH breeding_loo IN breeding_loop %] |
164 |
<tbody>[% FOREACH breeding_loo IN breeding_loop %] |
164 |
- |
|
|