Lines 5-10
Link Here
|
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.tablesorter.pager.js"></script> |
6 |
<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.checkboxes.min.js"></script> |
7 |
<script type="text/javascript"> |
7 |
<script type="text/javascript"> |
|
|
8 |
//<![CDATA[ |
8 |
$(document).ready(function(){ |
9 |
$(document).ready(function(){ |
9 |
$("#CheckAll").click(function(){ $("#transferlimit_tabs").checkCheckboxes();}); |
10 |
$("#CheckAll").click(function(){ $("#transferlimit_tabs").checkCheckboxes();}); |
10 |
$("#UncheckAll").click(function(){ $("#transferlimit_tabs").unCheckCheckboxes();}); |
11 |
$("#UncheckAll").click(function(){ $("#transferlimit_tabs").unCheckCheckboxes();}); |
Lines 49-56
Link Here
|
49 |
$("#"+tid).unCheckCheckboxes(); |
50 |
$("#"+tid).unCheckCheckboxes(); |
50 |
return false; |
51 |
return false; |
51 |
}); |
52 |
}); |
52 |
|
53 |
$(".sorted").tablesorter({ |
|
|
54 |
sortList: [[0,0]], |
55 |
headers: { 1: { sorter: false}} |
56 |
}).tablesorterPager({container: $(".pager"),positionFixed: false,size: 10}); |
53 |
}); |
57 |
}); |
|
|
58 |
//]]> |
54 |
</script> |
59 |
</script> |
55 |
<style type="text/css">td { text-align: center; }</style> |
60 |
<style type="text/css">td { text-align: center; }</style> |
56 |
</head> |
61 |
</head> |
Lines 92-123
Link Here
|
92 |
<div id="[% codes_loo.code %]set"> |
97 |
<div id="[% codes_loo.code %]set"> |
93 |
<h4>Policy for [% codes_loo.limit_phrase %]: [% codes_loo.code %]</h4> |
98 |
<h4>Policy for [% codes_loo.limit_phrase %]: [% codes_loo.code %]</h4> |
94 |
<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> |
99 |
<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> |
95 |
<script type="text/javascript" id="js">$(document).ready(function() { |
|
|
96 |
$("#[% codes_loo.code %]table").tablesorter({ |
97 |
sortList: [[0,0]], |
98 |
headers: { 1: { sorter: false}} |
99 |
}).tablesorterPager({container: $("#pager[% codes_loo.code %]table"),positionFixed: false,size: 10}); |
100 |
}); </script> |
101 |
|
100 |
|
102 |
<span id="pager[% codes_loo.code %]table" class="pager"> |
101 |
<div id="pager[% codes_loo.code %]table"> |
103 |
<form class="formpager"> <strong>page(s)</strong> : |
102 |
[% INCLUDE 'table-pager.inc' perpage='20' %] |
104 |
<img src="[% interface %]/[% theme %]/img/first.png" class="first"/> |
103 |
</div> |
105 |
<img src="[% interface %]/[% theme %]/img/prev.png" class="prev"/> |
104 |
<table id="[% codes_loo.code %]table" class="sorted"> |
106 |
<input type="text" size="5" class="pagedisplay"/> |
|
|
107 |
<img src="[% interface %]/[% theme %]/img/next.png" class="next"/> |
108 |
<img src="[% interface %]/[% theme %]/img/last.png" class="last"/> |
109 |
, entries/page : |
110 |
<select class="pagesize"> |
111 |
<option selected="selected" value="10">10</option> |
112 |
<option value="20">20</option> |
113 |
<option value="30">30</option> |
114 |
<option value="40">40</option> |
115 |
<option value="50">50</option> |
116 |
<option value="100">100</option> |
117 |
</select> |
118 |
</form> |
119 |
</span> |
120 |
<table id="[% codes_loo.code %]table"> |
121 |
<thead> |
105 |
<thead> |
122 |
<tr> |
106 |
<tr> |
123 |
<th>Library</th> |
107 |
<th>Library</th> |
Lines 127-134
Link Here
|
127 |
|
111 |
|
128 |
<tbody> |
112 |
<tbody> |
129 |
[% FOREACH to_branch_loo IN codes_loo.to_branch_loop %] |
113 |
[% FOREACH to_branch_loo IN codes_loo.to_branch_loop %] |
130 |
[% UNLESS ( loop.odd ) %]<tr class="highlight"><!-- TMPL_ELSE |
114 |
[% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %] |
131 |
--><tr>[% END %] |
|
|
132 |
<td><label style="min-width:400px;" for="[% to_branch_loo.code %][% to_branch_loo.toBranch %]row">[% to_branch_loo.toBranch %] - [% to_branch_loo.toBranchname %]</label></td> |
115 |
<td><label style="min-width:400px;" for="[% to_branch_loo.code %][% to_branch_loo.toBranch %]row">[% to_branch_loo.toBranch %] - [% to_branch_loo.toBranchname %]</label></td> |
133 |
<td><input type="checkbox" id="[% to_branch_loo.code %][% to_branch_loo.toBranch %]row" name="[% to_branch_loo.code %]_[% to_branch_loo.toBranch %]" [% IF ( to_branch_loo.isChecked ) %]checked="checked" [% END %] /></td> |
116 |
<td><input type="checkbox" id="[% to_branch_loo.code %][% to_branch_loo.toBranch %]row" name="[% to_branch_loo.code %]_[% to_branch_loo.toBranch %]" [% IF ( to_branch_loo.isChecked ) %]checked="checked" [% END %] /></td> |
134 |
</tr> |
117 |
</tr> |