misnamed dojo tab
[working/Evergreen.git] / Open-ILS / web / templates / default / conify / global / action_trigger / event_definition.tt2
1 [% WRAPPER default/base.tt2 %]
2 <script src='[% ctx.media_prefix %]/js/ui/default/conify/global/action_trigger/event_definition.js'> </script>
3 <script>openils.Util.addOnLoad(loadEventDef)</script>
4
5 <div dojoType="dijit.layout.TabContainer" style='height:100%;' jsId='eventDefTabs'>
6
7     <div dojoType="dijit.layout.ContentPane" title='Event Definitions' id='tab-atevdef'>
8         <div dojoType="dijit.layout.ContentPane" layoutAlign="client" class='oils-header-panel'>
9             <div>Trigger Event Definitions</div>
10             <div>
11                 <button dojoType='dijit.form.Button' onClick='edGrid.showCreatePane()'>New</button>
12                 <button dojoType='dijit.form.Button' onClick='edGrid.showClonePane()'>Clone Selected</button>
13                 <button dojoType='dijit.form.Button' onClick='edGrid.deleteSelected()'>Delete Selected</button>
14             </div>
15         </div>
16         <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:600px'>
17             <table  jsId="edGrid" 
18                     dojoType="openils.widget.AutoGrid" 
19                     fieldOrder="['owner', 'name', 'hook', 'active', 'delay', 'delay_field', 'group_field', 'validator', 'reactor']"
20                     suppressFields="['template', 'cleanup_failure', 'cleanup_success']"
21                     query="{id: '*'}" 
22                     fmClass='atevdef'
23                     defaultCellWidth='"auto"'
24                     editStyle='pane'
25                     editOnEnter='true'>
26                 <thead>
27                     <tr><th field='name' get='getEventDefNameLink' formatter='formatEventDefNameLink'/></tr>
28                 </thead>
29             </table>
30         </div>
31     </div>
32
33     <div dojoType="dijit.layout.ContentPane" title='Hooks' id='tab-ath' style='height:100%;'>
34         <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
35             <div>Trigger Hooks</div>
36             <div>
37                 <button dojoType='dijit.form.Button' onClick='thGrid.showCreateDialog()'>New</button>
38                 <button dojoType='dijit.form.Button' onClick='thGrid.deleteSelected()'>Delete Selected</button>
39             </div>
40         </div>
41         <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:600px'>
42             <table  jsId="thGrid" 
43                     autoHeight='true'
44                     dojoType="openils.widget.AutoGrid" 
45                     fieldOrder="['key', 'core_type', 'description', 'passive']"
46                     query="{key: '*'}" 
47                     fmClass='ath'
48                     defaultCellWidth='20'
49                     editOnEnter='true'>
50             </table>
51         </div>
52     </div>
53
54     <div dojoType="dijit.layout.ContentPane" title='Reactors' id='tab-atreact'>
55         <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
56             <div>Trigger Reactors</div>
57             <div>
58                 <button dojoType='dijit.form.Button' onClick='trGrid.showCreateDialog()'>New</button>
59                 <button dojoType='dijit.form.Button' onClick='trGrid.deleteSelected()'>Delete Selected</button>
60             </div>
61         </div>
62         <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:600px'>
63             <table  jsId="trGrid" 
64                     dojoType="openils.widget.AutoGrid" 
65                     query="{module: '*'}" 
66                     fmClass='atreact'
67                     editOnEnter='true'>
68                 <thead>
69                     <tr>
70                         <th field='module' width='200px;'/>
71                         <th field='description' width='auto'/>
72                     </tr>
73                 </thead>
74             </table>
75         </div>
76     </div>
77
78     <div dojoType="dijit.layout.ContentPane" title='Validators' id='tab-atval'>
79         <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
80             <div>Trigger Validators</div>
81             <div>
82                 <button dojoType='dijit.form.Button' onClick='tvGrid.showCreateDialog()'>New</button>
83                 <button dojoType='dijit.form.Button' onClick='tvGrid.deleteSelected()'>Delete Selected</button>
84             </div>
85         </div>
86         <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:600px'>
87             <table  jsId="tvGrid" 
88                     dojoType="openils.widget.AutoGrid" 
89                     query="{module: '*'}" 
90                     fmClass='atval'
91                     editOnEnter='true'>
92                 <thead>
93                     <tr>
94                         <th field='module' width='200px'/>
95                         <th field='description' width='auto'/>
96                     </tr>
97                 </thead>
98             </table>
99         </div>
100     </div>
101
102
103 [% END %]
104