9c7de3af5f7842699aeea2d3b66a3dec3e0b574c
[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
4 <div dojoType="dijit.layout.TabContainer" style='height:100%;' jsId='eventDefTabs'>
5
6     <div dojoType="dijit.layout.ContentPane" title='Event Definitions' selected='true' id='tab-atevdef'>
7         <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
8             <div>Trigger Event Definitions</div>
9             <div><button dojoType='dijit.form.Button' onClick='edGrid.showCreatePane()'>New</button></div>
10         </div>
11         <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:90%'>
12             <table  jsId="edGrid" 
13                     dojoType="openils.widget.AutoGrid" 
14                     fieldOrder="['id', 'owner', 'hook', 'active', 'delay', 'validator', 'reactor']"
15                     suppressFields="['template']"
16                     query="{id: '*'}" 
17                     fmClass='atevdef'
18                     defaultCellWidth='8'
19                     editStyle='pane'
20                     editOnEnter='true'>
21             </table>
22         </div>
23     </div>
24
25     <div dojoType="dijit.layout.ContentPane" title='Event Parameters' id='tab-atevparam'>
26         <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
27             <div>Trigger Event Parameters</div>
28             <div><button dojoType='dijit.form.Button' onClick='tepGrid.showCreateDialog()'>New</button></div>
29         </div>
30         <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:90%'>
31             <table  jsId="tepGrid" 
32                     dojoType="openils.widget.AutoGrid" 
33                     fieldOrder="['id', 'event_def', 'param', 'value']"
34                     query="{id: '*'}" 
35                     fmClass='atevparam'
36                     defaultCellWidth='20'
37                     editOnEnter='true'>
38             </table>
39         </div>
40     </div>
41
42     <div dojoType="dijit.layout.ContentPane" title='Event Environment' id='tab-atenv'>
43         <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
44             <div>Trigger Event Environment</div>
45             <div><button dojoType='dijit.form.Button' onClick='teeGrid.showCreateDialog()'>New</button></div>
46         </div>
47         <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:90%'>
48             <table  jsId="teeGrid" 
49                     dojoType="openils.widget.AutoGrid" 
50                     fieldOrder="['id', 'event_def', 'path', 'collector', 'label']"
51                     query="{id: '*'}" 
52                     fmClass='atenv'
53                     defaultCellWidth='20'
54                     editOnEnter='true'>
55             </table>
56         </div>
57     </div>
58
59
60     <div dojoType="dijit.layout.ContentPane" title='Hooks' id='tab-ath'>
61         <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
62             <div>Trigger Hooks</div>
63             <div><button dojoType='dijit.form.Button' onClick='thGrid.showCreateDialog()'>New</button></div>
64         </div>
65         <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:90%'>
66             <table  jsId="thGrid" 
67                     dojoType="openils.widget.AutoGrid" 
68                     fieldOrder="['key', 'core_type', 'description', 'passive']"
69                     query="{key: '*'}" 
70                     fmClass='ath'
71                     defaultCellWidth='12'
72                     editOnEnter='true'>
73             </table>
74         </div>
75     </div>
76
77     <div dojoType="dijit.layout.ContentPane" title='Reactors' id='tab-atreact'>
78         <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
79             <div>Trigger Reactors</div>
80             <div><button dojoType='dijit.form.Button' onClick='trGrid.showCreateDialog()'>New</button></div>
81         </div>
82         <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:90%'>
83             <table  jsId="trGrid" 
84                     dojoType="openils.widget.AutoGrid" 
85                     query="{module: '*'}" 
86                     fmClass='atreact'
87                     editOnEnter='true'>
88                 <thead>
89                     <tr>
90                         <th field='module' width='200px;'/>
91                         <th field='description' width='auto'/>
92                     </tr>
93                 </thead>
94             </table>
95         </div>
96     </div>
97
98     <div dojoType="dijit.layout.ContentPane" title='Validators' id='tab-atval'>
99         <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
100             <div>Trigger Validators</div>
101             <div><button dojoType='dijit.form.Button' onClick='tvGrid.showCreateDialog()'>New</button></div>
102         </div>
103         <div dojoType="dijit.layout.ContentPane" layoutAlign="client" style='height:90%'>
104             <table  jsId="tvGrid" 
105                     dojoType="openils.widget.AutoGrid" 
106                     query="{module: '*'}" 
107                     fmClass='atval'
108                     editOnEnter='true'>
109                 <thead>
110                     <tr>
111                         <th field='module' width='200px'/>
112                         <th field='description' width='auto'/>
113                     </tr>
114                 </thead>
115             </table>
116         </div>
117     </div>
118
119 </div>
120
121 [% END %]
122
123