]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/conify/global/config/floating_groups.tt2
Floating Groups
[working/Evergreen.git] / Open-ILS / src / templates / conify / global / config / floating_groups.tt2
1 [% ctx.page_title = 'Floating Groups Configuration' %]
2 [% WRAPPER base.tt2 %]
3 <script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/conify/global/config/floating_groups.js'> </script>
4 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
5     <div>Floating Groups Configuration</div>
6     <div><button dojoType='dijit.form.Button' onClick='cfgGrid.showCreatePane()'>New</button></div>
7 </div>
8 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
9     <table  jsId="cfgGrid"
10             style="height: 600px;"
11             dojoType="openils.widget.AutoGrid"
12             fieldOrder="['id', 'name', 'manual']"
13             defaultCellWidth='"auto"'
14             query="{id: '*'}"
15             fmClass='cfg'
16             editStyle='pane'
17             editOnEnter='true'
18             showColumnPicker='false'
19             columnPersistKey='"conify.config.floating_groups"'>
20     </table>
21 </div>
22
23 <div class='hidden'>
24     <div id='group-member-editor' style='border:1px solid #aaa'>
25         <h3>Linked Group Members</h3>
26         <table class='oils-generic-table'>
27             <thead>
28                 <tr>
29                     <th>Org Unit</th>
30                     <th>Stop Depth</th>
31                     <th>Max Depth</th>
32                     <th>Exclude</th>
33                     <th>Remove</th>
34                 </tr>
35             </thead>
36             <tbody name='group-member-entry-tbody'>
37                 <tr name='group-member-entry-row'>
38                     <td name='org-unit'></td>
39                     <td><input type="text" name="group-member-stop-depth" value="0" /></td>
40                     <td><input type="text" name="group-member-max-depth" /></td>
41                     <td><input type="checkbox" name="group-member-exclude"/></td>
42                     <td><a name='remove-group-member' href='javascript:void(0);'>Remove</a></td>
43                 </tr>
44             </tbody>
45             <tfoot name='group-member-entry-new'>
46                 <tr>
47                     <td><div name='org-unit-selector'></div></td>
48                     <td colspan="4"><a href='javascript:void(0);' name='add-group-member'>Add</a></td>
49                 </tr>
50             </tfoot>
51         </table>
52     </div>
53 </div>
54
55
56 <div class='hidden'><div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'></div></div>
57
58 [% END %]
59