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 / +15 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="/intranet-tmpl/prog/en/css/datatables.css" />
5
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.pager.js"></script>
5
<script type="text/javascript" src="/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.min.js"></script>
6
[% INCLUDE 'datatables-strings.inc' %]
7
<script type="text/javascript" src="/intranet-tmpl/prog/en/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
            "aLengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]],
41
            "iDisplayLength": 20,
42
            "sPaginationType": "four_button"
43
        }));
39
	});
44
	});
40
//]]>
45
//]]>
41
</script>
46
</script>
42
<style type="text/css">td { text-align: center; }</style>
47
<style type="text/css">td { text-align: center; } .sorted { min-width: 50%; }</style>
43
</head>
48
</head>
44
<body id="admin_branch_transfer_limits" class="admin">
49
<body id="admin_branch_transfer_limits" class="admin">
45
[% INCLUDE 'header.inc' %]
50
[% 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>
90
    <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
	
91
	
87
	<div id="pager[% codes_loo.code %]table">
92
	<div id="pager[% codes_loo.code %]table">
88
	[% INCLUDE 'table-pager.inc' perpage='20' %]
89
	</div>
93
	</div>
90
		<table id="[% codes_loo.code %]table" class="sorted">
94
		<table id="[% codes_loo.code %]table" class="sorted">
91
			<thead>
95
			<thead>
92
- 

Return to bug 9430