]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/conify/global/booking/resource_attr_map.tt2
Patch from Lebbeous Fogle-Weekley which implements the configuration interfaces required
[working/Evergreen.git] / Open-ILS / web / templates / default / conify / global / booking / resource_attr_map.tt2
1 [% WRAPPER default/base.tt2 %]
2 [% ctx.page_title = 'Resource Attribute Maps' %]
3
4 <script type ="text/javascript">
5     dojo.require('dijit.form.FilteringSelect');
6     dojo.require('openils.widget.AutoGrid');
7
8     openils.Util.addOnLoad(
9         function() {
10             ustGrid.loadAll({order_by:{bram : 'name'}});
11         }
12     );
13 </script>
14
15
16
17 <div dojoType="dijit.layout.ContentPane" layoutAlign="client" class='oils-header-panel'>
18     <div>Resource Attribute Maps</div>
19     <div>
20         <button dojoType='dijit.form.Button' onClick='ustGrid.showCreateDialog()'>New Resource Attribute Map</button>
21         <button dojoType='dijit.form.Button' onClick='ustGrid.deleteSelected()'>Delete Selected</button>
22     </div>
23 </div>
24
25 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
26     <table  jsId="ustGrid"
27             autoHeight='true'
28             dojoType="openils.widget.AutoGrid"
29             fieldOrder="['name', 'fine_interval', 'fine_amount',
30                 'owner', 'catalog_item', 'transferable', 'record']"
31             query="{name: '*'}"
32             defaultCellWidth='"auto"'
33             fmClass='bram'
34             showPaginator='true'
35             editOnEnter='true'>
36     </table>
37  </div>
38
39 [% END %]