Code

Added status flags
[gosa.git] / gosa-plugins / systems / admin / systems / serverService-list.xml
1 <?xml version="1.0" encoding="UTF-8"?>
3 <list>
4   <definition>
5     <departmentBrowser>false</departmentBrowser>
6     <departmentRootVisible>false</departmentRootVisible>
7     <baseMode>false</baseMode>
8     <multiSelect>true</multiSelect>
9     <template>serverService-list.tpl</template>
10     <label>List of services</label>
11     <defaultSortColumn>1</defaultSortColumn>
13     <objectType>
14       <label>Service</label>
15       <objectClass>FAKE_OC_ServerService</objectClass>
16       <category>server</category>
17       <class>ServerService</class>
18       <image>images/lits/new.png</image>
19     </objectType>
21   </definition>
23   <table>
24     <layout>|18px;c||250px|170px;r|</layout>
26     <column>
27       <label>!</label>
28       <sortAttribute>Status</sortAttribute>
29       <sortType>string</sortType>
30       <value>%{filter:filterServiceStatus(row,dn,"%s",Status)}</value>
31       <export>true</export>
32     </column>
34     <column>
35       <label>Description</label>
36       <sortAttribute>Message</sortAttribute>
37       <sortType>string</sortType>
38       <value>%{filter:link(row,dn,"%s",Message)}</value>
39       <export>true</export>
40     </column>
42     <column>
43       <label>Actions</label>
44       <value>%{filter:actions(dn,row,objectClass)}</value>
45     </column>
47   </table>
49   <actionmenu>
51     <action>
52      <type>sub</type>
53      <image>images/lists/new.png</image>
54      <label>Create</label>
56      <action>
57       <name>new_goServer</name>
58       <type>entry</type>
59       <image>plugins/systems/images/select_server.png</image>
60       <label>Server</label>
61       <depends>servgeneric</depends>
62      </action>
64      <action>
65       <name>new_gotoWorkstation</name>
66       <type>entry</type>
67       <image>plugins/systems/images/select_workstation.png</image>
68       <label>Workstation</label>
69       <depends>workgeneric</depends>
70      </action>
72      <action>
73       <name>new_gotoTerminal</name>
74       <type>entry</type>
75       <image>plugins/systems/images/select_terminal.png</image>
76       <label>Terminal</label>
77       <depends>termgeneric</depends>
78      </action>
80      <action>
81       <name>new_gotoPrinter</name>
82       <type>entry</type>
83       <image>plugins/systems/images/select_printer.png</image>
84       <label>Network printer</label>
85       <depends>printgeneric</depends>
86      </action>
88      <action>
89       <name>new_goFonHardware</name>
90       <type>entry</type>
91       <image>plugins/systems/images/select_phone.png</image>
92       <label>Phone</label>
93       <depends>phoneGeneric</depends>
94      </action>
96      <action>
97       <name>new_ieee802Device</name>
98       <type>entry</type>
99       <image>plugins/systems/images/select_component.png</image>
100       <label>Network device</label>
101       <depends>componentGeneric</depends>
102      </action>
104      <action>
105       <name>new_FAKE_OC_OpsiHost</name>
106       <type>entry</type>
107       <image>plugins/systems/images/select_winstation.png</image>
108       <label>Opsi client</label>
109       <depends>opsi</depends>
110      </action>
111     </action>
113     <action>
114       <type>separator</type>
115     </action>
117     <action>
118      <type>sub</type>
119      <image>images/rocket.png</image>
120      <label>Trigger action</label>
122       <action>
123         <name>T_DaemonEvent_halt</name>
124         <depends>DaemonEvent_halt</depends>
125         <type>entry</type>
126         <image>images/lists/reload.png</image>
127         <label>Halt </label>
128       </action>
130       <action>
131         <name>T_DaemonEvent_reboot</name>
132         <depends>DaemonEvent_reboot</depends>
133         <type>entry</type>
134         <image>images/lists/reload.png</image>
135         <label>Reboot</label>
136       </action>
138       <action>
139         <name>T_DaemonEvent_wakeup</name>
140         <depends>DaemonEvent_wakeup</depends>
141         <type>entry</type>
142         <image>images/lists/on.png</image>
143         <label>Wakeup</label>
144       </action>
146       <action>
147         <name>T_DaemonEvent_update</name>
148         <depends>DaemonEvent_update</depends>
149         <type>entry</type>
150         <image>plugins/goto/images/update.png</image>
151         <label>Update</label>
152       </action>
154       <action>
155         <name>T_DaemonEvent_lock</name>
156         <depends>DaemonEvent_lock</depends>
157         <type>entry</type>
158         <image>images/lists/locked.png</image>
159         <label>Lock</label>
160       </action>
162       <action>
163         <name>T_DaemonEvent_activate</name>
164         <depends>DaemonEvent_activate</depends>
165         <type>entry</type>
166         <image>images/lists/unlocked.png</image>
167         <label>Activate</label>
168       </action>
170       <action>
171         <name>T_DaemonEvent_reinstall</name>
172         <depends>DaemonEvent_reinstall</depends>
173         <type>entry</type>
174         <image>plugins/goto/images/reinstall.png</image>
175         <label>Reinstall</label>
176       </action>
179     </action>
183     <action>
184      <type>sub</type>
185      <image>plugins/systems/images/clock.png</image>
186      <label>Schedule action</label>
188       <action>
189         <name>S_DaemonEvent_halt</name>
190         <depends>DaemonEvent_halt</depends>
191         <type>entry</type>
192         <image>images/lists/off.png</image>
193         <label>Halt</label>
194       </action>
196       <action>
197         <name>S_DaemonEvent_reboot</name>
198         <depends>DaemonEvent_reboot</depends>
199         <type>entry</type>
200         <image>images/lists/reload.png</image>
201         <label>Reboot</label>
202       </action>
204       <action>
205         <name>S_DaemonEvent_wakeup</name>
206         <depends>DaemonEvent_wakeup</depends>
207         <type>entry</type>
208         <image>images/lists/on.png</image>
209         <label>Wakeup</label>
210       </action>
212       <action>
213         <name>S_DaemonEvent_update</name>
214         <depends>DaemonEvent_update</depends>
215         <type>entry</type>
216         <image>plugins/goto/images/update.png</image>
217         <label>Update</label>
218       </action>
220       <action>
221         <name>S_DaemonEvent_lock</name>
222         <depends>DaemonEvent_lock</depends>
223         <type>entry</type>
224         <image>images/lists/locked.png</image>
225         <label>Lock</label>
226       </action>
228       <action>
229         <name>S_DaemonEvent_activate</name>
230         <depends>DaemonEvent_activate</depends>
231         <type>entry</type>
232         <image>images/lists/unlocked.png</image>
233         <label>Activate</label>
234       </action>
236       <action>
237         <name>S_DaemonEvent_reinstall</name>
238         <depends>DaemonEvent_reinstall</depends>
239         <type>entry</type>
240         <image>plugins/goto/images/reinstall.png</image>
241         <label>Reinstall</label>
242       </action>
244     </action>
246     <action>
247       <type>separator</type>
248     </action>
250     <action>
251       <name>activateMultiple</name>
252       <depends>DaemonEvent_activate</depends>
253       <type>entry</type>
254       <image>images/lists/unlocked.png</image>
255       <label>Activate systems</label>
256     </action>
258     <action>
259       <name>remove</name>
260       <type>entry</type>
261       <image>images/lists/trash.png</image>
262       <label>Remove</label>
263     </action>
265     <action>
266       <type>exporter</type>
267     </action>
269     <action>
270       <type>separator</type>
271     </action>
273     <action>
274       <type>copypaste</type>
275     </action>
277     <action>
278       <type>snapshot</type>
279     </action>
281   </actionmenu>
283   <actiontriggers snapshot="true" copypaste="true">
285     <action>
286       <name>setPassword</name>
287       <type>entry</type>
288       <objectclass>FAKE_OC_PWD_changeAble</objectclass>
289       <image>images/lists/key.png</image>
290       <label>Change password</label>
291     </action>
294     <action>
295       <name>createISO</name>
296       <type>entry</type>
297       <objectclass>gotoWorkstation</objectclass>
298       <objectclass>FAIobject</objectclass>
299       <image>plugins/systems/images/cdrom.png</image>
300       <acl>workstation/workgeneric[createFAICD:w]</acl>
301       <label>Create ISO</label>
302     </action>
304     <action>
305       <name>cp</name>
306       <type>copypaste</type>
307     </action>
309     <action>
310       <name>edit</name>
311       <type>entry</type>
312       <image>images/lists/edit.png</image>
313       <label>Edit role</label>
314     </action>
316     <action>
317       <name>snapshot</name>
318       <type>snapshot</type>
319     </action>
321     <action>
322       <name>remove</name>
323       <type>entry</type>
324       <image>images/lists/trash.png</image>
325       <acl>%acl[d]</acl>
326       <label>Remove system</label>
327     </action>
329   </actiontriggers>
331 </list>