|
Lines 1-30
Link Here
|
| 1 |
[% USE Branches %] |
1 |
[% USE Branches %] |
|
|
2 |
[% SET footerjs = 1 %] |
| 2 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
[% INCLUDE 'doc-head-open.inc' %] |
| 3 |
<title>Koha › Tools › Rotating collections</title> |
4 |
<title>Koha › Tools › Rotating collections</title> |
| 4 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
[% INCLUDE 'doc-head-close.inc' %] |
| 5 |
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" /> |
6 |
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" /> |
| 6 |
[% INCLUDE 'datatables.inc' %] |
|
|
| 7 |
<script type="text/javascript"> |
| 8 |
$(document).ready(function(){ |
| 9 |
$(".confirmdelete").click(function(){ |
| 10 |
$(this).parents('tr').addClass("warn"); |
| 11 |
if(confirm(_("Are you sure you want to delete this collection?"))){ |
| 12 |
return true; |
| 13 |
} else { |
| 14 |
$(this).parents('tr').removeClass("warn"); |
| 15 |
return false; |
| 16 |
} |
| 17 |
}); |
| 18 |
$('#rotating-collections-table').dataTable($.extend(true, {}, dataTablesDefaults, { |
| 19 |
"autoWidth": false, |
| 20 |
"aoColumnDefs": [ |
| 21 |
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, |
| 22 |
], |
| 23 |
"sPaginationType": "four_button" |
| 24 |
} )); |
| 25 |
}); |
| 26 |
</script> |
| 27 |
</head> |
7 |
</head> |
|
|
8 |
|
| 28 |
<body id="rcoll_rotatingCollections" class="tools rcoll"> |
9 |
<body id="rcoll_rotatingCollections" class="tools rcoll"> |
| 29 |
[% INCLUDE 'header.inc' %] |
10 |
[% INCLUDE 'header.inc' %] |
| 30 |
[% INCLUDE 'cat-search.inc' %] |
11 |
[% INCLUDE 'cat-search.inc' %] |
|
Lines 83-86
Link Here
|
| 83 |
[% INCLUDE 'tools-menu.inc' %] |
64 |
[% INCLUDE 'tools-menu.inc' %] |
| 84 |
</div> |
65 |
</div> |
| 85 |
</div> <!-- /#bd --> |
66 |
</div> <!-- /#bd --> |
|
|
67 |
|
| 68 |
[% MACRO jsinclude BLOCK %] |
| 69 |
[% INCLUDE 'datatables.inc' %] |
| 70 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/tools-menu.js"></script> |
| 71 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/rotating-collections.js"></script> |
| 72 |
[% END %] |
| 73 |
|
| 86 |
[% INCLUDE 'intranet-bottom.inc' %] |
74 |
[% INCLUDE 'intranet-bottom.inc' %] |