]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/conify/global/config/circ_limit_set.tt2
213870610abfab258328ab9de3c5368d1906b9e8
[working/Evergreen.git] / Open-ILS / src / templates / conify / global / config / circ_limit_set.tt2
1 [% ctx.page_title = 'Circulation Limit Set' %]
2 [% WRAPPER base.tt2 %]
3 <script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/conify/global/config/circ_limit_set.js'> </script>
4 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
5     <div>Circulation Limit Set</div>
6     <div>
7         <button dojoType='dijit.form.Button' onClick='clsGrid.showCreatePane()'>New</button>
8         <button dojoType='dijit.form.Button' onClick='clsGrid.deleteSelected()'>Delete Selected</button>
9     </div>
10 </div>
11 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
12     <table  jsId="clsGrid"
13             style="height: 600px;"
14             dojoType="openils.widget.AutoGrid"
15             fieldOrder="['id', 'owning_lib', 'name', 'items_out', 'depth', 'global', 'description']"
16             defaultCellWidth='"auto"'
17             query="{id: '*'}"
18             fmClass='ccls'
19             editStyle='pane'
20             editOnEnter='true'
21             showColumnPicker='true'
22             columnPickerPrefix='"conify.config.circ_limit_set"'>
23     </table>
24 </div>
25
26 <div class='hidden'>
27     <div id='linked-editor' style='border:1px solid #aaa'>
28         <h3>Linked Circ Modifiers</h3>
29         <table class='oils-generic-table'>
30             <tbody>
31                 <tr>
32                     <th>Name</th>
33                     <th>Remove</th>
34                 </tr>
35             </tbody>
36             <tbody name='circ-mod-entry-tbody'>
37                 <tr name='circ-mod-entry-row'>
38                     <td name='circ-mod'></td>
39                     <td><a name='remove-circ-mod' href='javascript:void(0);'>Remove</a></td>
40                 </tr>
41             </tbody>
42             <tbody name='circ-mod-entry-new'>
43                 <tr>
44                     <td><div name='circ-mod-selector'></div></td>
45                     <td><a href='javascript:void(0);' name='add-circ-mod'>Add</a></td>
46                 </tr>
47             </tbody>
48         </table>
49         <h3>Linked Limit Groups</h3>
50         <table class='oils-generic-table'>
51             <tbody>
52                 <tr>
53                     <th>Name</th>
54                     <th>Check Only?</th>
55                     <th>Remove</th>
56                 </tr>
57             </tbody>
58             <tbody name='limit-group-entry-tbody'>
59                 <tr name='limit-group-entry-row'>
60                     <td name='limit-group'></td>
61                     <td><input type="checkbox" name="limit-group-check-only"/></td>
62                     <td><a name='remove-limit-group' href='javascript:void(0);'>Remove</a></td>
63                 </tr>
64             </tbody>
65             <tbody name='limit-group-entry-new'>
66                 <tr>
67                     <td><div name='limit-group-selector'></div></td>
68                     <td><a href='javascript:void(0);' name='add-limit-group'>Add</a></td>
69                     <td></td>
70                 </tr>
71             </tbody>
72         </table>
73     </div>
74 </div>
75
76 <div class='hidden'><div dojoType='openils.widget.ProgressDialog' jsId='progressDialog'></div></div>
77 [% END %]
78