Lines 31-36
Link Here
|
31 |
<div id="permissions_toolbar" class="btn-toolbar"> |
31 |
<div id="permissions_toolbar" class="btn-toolbar"> |
32 |
<button type="submit" class="btn btn-sm btn-default"><i class="fa fa-save"></i> Save</button> |
32 |
<button type="submit" class="btn btn-sm btn-default"><i class="fa fa-save"></i> Save</button> |
33 |
<a class="btn btn-sm btn-default" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | html %]"><i class="fa fa-remove"></i> Cancel</a> |
33 |
<a class="btn btn-sm btn-default" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | html %]"><i class="fa fa-remove"></i> Cancel</a> |
|
|
34 |
<a class="toggleall toggleall_on btn btn-link" href="#"><i class="fa fa-plus-square-o"></i> Show all</a> |
35 |
<a class="toggleall toggleall_off btn btn-link" href="#"><i class="fa fa-minus-square-o"></i> Hide all</a> |
34 |
<div class="btn-group pull-right"> |
36 |
<div class="btn-group pull-right"> |
35 |
Filter: <input type="text" name="permissions_filter" id="permissions_filter" size="20" /> |
37 |
Filter: <input type="text" name="permissions_filter" id="permissions_filter" size="20" /> |
36 |
<a href="#" id="clear_filter" style="display:none"><i class="fa fa-remove"></i></a> |
38 |
<a href="#" id="clear_filter" style="display:none"><i class="fa fa-remove"></i></a> |
Lines 166-171
Link Here
|
166 |
} |
168 |
} |
167 |
}); |
169 |
}); |
168 |
|
170 |
|
|
|
171 |
|
172 |
$(".toggleall_off, .toggleall_on").on('click', function(e) { |
173 |
e.preventDefault(); |
174 |
if( $(this).hasClass("toggleall_on")){ |
175 |
$(".children,.togglechildren_off").show(); |
176 |
$(".togglechildren_on").hide(); |
177 |
} else { |
178 |
$(".children,.togglechildren_off").hide(); |
179 |
$(".togglechildren_on").show(); |
180 |
} |
181 |
}); |
182 |
|
169 |
$(".togglechildren_off, .togglechildren_on").on('click', function(e) { |
183 |
$(".togglechildren_off, .togglechildren_on").on('click', function(e) { |
170 |
e.preventDefault(); |
184 |
e.preventDefault(); |
171 |
var bit = $(this).data("bit"); |
185 |
var bit = $(this).data("bit"); |
172 |
- |
|
|