View | Details | Raw Unified | Return to bug 9430
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt (-12 / +14 lines)
Lines 1-15 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Administration &rsaquo; Library checkin and transfer policy</title>
2
<title>Koha &rsaquo; Administration &rsaquo; Library checkin and transfer policy</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
4
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
5
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.pager.js"></script>
5
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
6
[% INCLUDE 'datatables-strings.inc' %]
7
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
6
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
8
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
7
<script type="text/javascript">
9
<script type="text/javascript">
8
//<![CDATA[
10
//<![CDATA[
9
	$(document).ready(function(){
11
	$(document).ready(function(){
10
		$("#CheckAll").click(function(){ $("#transferlimit_tabs").checkCheckboxes();});
12
        $("#CheckAll").click(function(){ $("#transferlimit_tabs").checkCheckboxes(); return false; });
11
		$("#UncheckAll").click(function(){ $("#transferlimit_tabs").unCheckCheckboxes();});
13
        $("#UncheckAll").click(function(){ $("#transferlimit_tabs").unCheckCheckboxes(); return false; });
12
		$("#SwapAll").click(function(){ $("#transferlimit_tabs").toggleCheckboxes();});
13
        $('#transferlimit_tabs').tabs();
14
        $('#transferlimit_tabs').tabs();
14
15
15
		 $('#branchselect').change(function() {
16
		 $('#branchselect').change(function() {
Lines 32-45 Link Here
32
			$("#"+tid).unCheckCheckboxes();
33
			$("#"+tid).unCheckCheckboxes();
33
			return false;
34
			return false;
34
		});
35
		});
35
		$(".sorted").tablesorter({
36
        $(".sorted").dataTable($.extend(true, {}, dataTablesDefaults, {
36
			sortList: [[0,0]],
37
            "aoColumnDefs": [
37
			headers: { 1: { sorter: false}}
38
                { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
38
		}).tablesorterPager({container: $(".pager"),positionFixed: false,size: 10});
39
            ],
40
            "iDisplayLength": 20,
41
            "sPaginationType": "four_button"
42
        }));
39
	});
43
	});
40
//]]>
44
//]]>
41
</script>
45
</script>
42
<style type="text/css">td { text-align: center; }</style>
46
<style type="text/css">td { text-align: center; } .sorted { min-width: 50%; }</style>
43
</head>
47
</head>
44
<body id="admin_branch_transfer_limits" class="admin">
48
<body id="admin_branch_transfer_limits" class="admin">
45
[% INCLUDE 'header.inc' %]
49
[% INCLUDE 'header.inc' %]
Lines 85-91 Link Here
85
    <p><a id="CheckAll[% codes_loo.code %]table" class="checkall" href="#">Check all</a> | <a id="UncheckAll[% codes_loo.code %]table" class="uncheckall" href="#">Uncheck all</a></p>
89
    <p><a id="CheckAll[% codes_loo.code %]table" class="checkall" href="#">Check all</a> | <a id="UncheckAll[% codes_loo.code %]table" class="uncheckall" href="#">Uncheck all</a></p>
86
	
90
	
87
	<div id="pager[% codes_loo.code %]table">
91
	<div id="pager[% codes_loo.code %]table">
88
	[% INCLUDE 'table-pager.inc' perpage='20' %]
89
	</div>
92
	</div>
90
		<table id="[% codes_loo.code %]table" class="sorted">
93
		<table id="[% codes_loo.code %]table" class="sorted">
91
			<thead>
94
			<thead>
92
- 

Return to bug 9430