Lines 1-15
Link Here
|
1 |
[% INCLUDE 'doc-head-open.inc' %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Administration › Library groups</title> |
2 |
<title>Koha › Administration › Library groups</title> |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
<script type="text/javascript" src="[% interface %]/lib/jquery-treegrid/js/jquery.treegrid.min.js"></script> |
4 |
<link href="[% interface %]/lib/jquery/plugins/treetable/stylesheets/jquery.treetable.css" rel="stylesheet" type="text/css" /> |
5 |
<script type="text/javascript" src="[% interface %]/lib/jquery-treegrid/js/jquery.treegrid.bootstrap2.js"></script> |
5 |
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/treetable/jquery.treetable.js"></script> |
6 |
<link rel="stylesheet" href="[% interface %]/lib/jquery-treegrid/css/jquery.treegrid.css"> |
|
|
7 |
<script type="text/javascript"> |
6 |
<script type="text/javascript"> |
8 |
//<![CDATA[ |
7 |
//<![CDATA[ |
9 |
$(document).ready(function() { |
8 |
$(document).ready(function() { |
10 |
$('#library-groups').treegrid( |
9 |
$(".library-groups").treetable( |
11 |
{ |
10 |
{ |
12 |
'saveState': true |
11 |
expandable: true, |
|
|
12 |
initialState: "expanded", |
13 |
clickableNodeNames: true, |
13 |
} |
14 |
} |
14 |
); |
15 |
); |
15 |
}); |
16 |
}); |
Lines 94-100
Link Here
|
94 |
</div> |
95 |
</div> |
95 |
|
96 |
|
96 |
[% FOREACH root_group IN root_groups %] |
97 |
[% FOREACH root_group IN root_groups %] |
97 |
<table id="library-groups" class="tree"> |
98 |
<table class="library-groups" class="tree"> |
98 |
<tr> |
99 |
<tr> |
99 |
<th> </th> |
100 |
<th> </th> |
100 |
<th>Description</th> |
101 |
<th>Description</th> |
Lines 202-208
Link Here
|
202 |
[% INCLUDE 'intranet-bottom.inc' %] |
203 |
[% INCLUDE 'intranet-bottom.inc' %] |
203 |
|
204 |
|
204 |
[% BLOCK tree %] |
205 |
[% BLOCK tree %] |
205 |
<tr class="treegrid-[% group.id %] treegrid-parent-[% group.parent_id %]"> |
206 |
<tr data-tt-id="[% group.id %]" data-tt-parent-id="[% group.parent_id %]"> |
206 |
<td> |
207 |
<td> |
207 |
[% IF group.branchcode %] |
208 |
[% IF group.branchcode %] |
208 |
<i class="fa fa-home"></i> [% group.branchcode %] |
209 |
<i class="fa fa-home"></i> [% group.branchcode %] |
209 |
- |
|
|