Lines 79-98
Link Here
|
79 |
|
79 |
|
80 |
<div id="BudgetsAndFunds"> |
80 |
<div id="BudgetsAndFunds"> |
81 |
<table id="accounts"> |
81 |
<table id="accounts"> |
82 |
<caption> |
|
|
83 |
<span class="actions"><a href="#" id="expand_all">Expand all</a> |
84 |
| <a href="#" id="collapse_all">Collapse all</a> |
85 |
| <a href="#" id="hide_inactive">Hide inactive budgets</a> |
86 |
| <a href="#" id="show_inactive">Show inactive budgets</a> |
87 |
| <select id="library-filter"> |
88 |
<option value="">Filter by library</option> |
89 |
[% FOREACH b IN Branches.all %] |
90 |
<option value="[% b.branchname | html %]">[% b.branchname | html %]</option> |
91 |
[% END %] |
92 |
</select> |
93 |
</span> |
94 |
|
95 |
</caption> |
96 |
|
82 |
|
97 |
<thead> |
83 |
<thead> |
98 |
<tr> |
84 |
<tr> |
Lines 241-248
Link Here
|
241 |
'bSort': true, |
227 |
'bSort': true, |
242 |
'aaSortingFixed': [[ 1, 'asc' ]], |
228 |
'aaSortingFixed': [[ 1, 'asc' ]], |
243 |
'bPaginate': false, |
229 |
'bPaginate': false, |
244 |
"bAutoWidth": false |
230 |
"bAutoWidth": false, |
|
|
231 |
"dom": 'ifB<"budget_toolbar">' |
245 |
}); |
232 |
}); |
|
|
233 |
$(".budget_toolbar").html('<div class="toolbar"><span class="actions"><a href="#" id="expand_all">Expand all</a> | <a href="#" id="collapse_all">Collapse all</a> | <a href="#" id="hide_inactive">Hide inactive budgets</a> | <a href="#" id="show_inactive">Show inactive budgets</a> | <select id="library-filter"><option value="">Filter by library</option>[% FOREACH b IN Branches.all %]<option value="[% b.branchname | html %]">[% b.branchname | html %]</option>[% END %]</select></span></div>'); |
246 |
|
234 |
|
247 |
$(oTable).treetable({ |
235 |
$(oTable).treetable({ |
248 |
expandable: true |
236 |
expandable: true |