Code

Updated system listing
[gosa.git] / gosa-plugins / systems / admin / systems / system-list.xml
1 <?xml version="1.0" encoding="UTF-8"?>
3 <list>
4   <definition>
5     <departmentBrowser>true</departmentBrowser>
6     <departmentRootVisible>false</departmentRootVisible>
7     <baseMode>true</baseMode>
8     <multiSelect>true</multiSelect>
9     <template>system-list.tpl</template>
10     <label>List of systems</label>
11     <defaultSortColumn>1</defaultSortColumn>
13     <objectType>
14       <label>Device</label>
15       <objectClass>device</objectClass>
16       <category>Device</category>
17       <class>Device</class>
18       <image>images/lists/edit.png</image>
19     </objectType>
21     <objectType>
22       <label>Opsi host</label>
23       <objectClass>FAKE_OC_OpsiHost</objectClass>
24       <category>opsi</category>
25       <class>opsiGeneric</class>
26       <image>plugins/systems/images/select_winstation.png</image>
27     </objectType>
29     <objectType>
30       <label>New workstation</label>
31       <objectClass>FAKE_OC_NewWorkstation</objectClass>
32       <category>workstation</category>
33       <class>workgeneric</class>
34       <image>plugins/systems/images/select_workstation.png[new]</image>
35     </objectType>
37     <objectType>
38       <label>Locked server</label>
39       <objectClass>goServer__IS_LOCKED</objectClass>
40       <category>server</category>
41       <class>servgeneric</class>
42       <image>plugins/systems/images/select_server.png[locked]</image>
43     </objectType>
45     <objectType>
46       <label>Locked workstation</label>
47       <objectClass>gotoWorkstation__IS_LOCKED</objectClass>
48       <category>workstation</category>
49       <class>workgeneric</class>
50       <image>plugins/systems/images/select_workstation.png[locked]</image>
51     </objectType>
53     <objectType>
54       <label>Locked terminal</label>
55       <objectClass>gotoTerminal__IS_LOCKED</objectClass>
56       <category>terminal</category>
57       <class>termgeneric</class>
58       <image>plugins/systems/images/select_terminal.png[locked]</image>
59     </objectType>
62     <objectType>
63       <label>New terminal</label>
64       <objectClass>FAKE_OC_NewTerminal</objectClass>
65       <category>terminal</category>
66       <class>termgeneric</class>
67       <image>plugins/systems/images/select_terminal.png[new]</image>
68     </objectType>
70     <objectType>
71       <label>New unknown device</label>
72       <objectClass>FAKE_OC_ArpNewDevice</objectClass>
73       <category>incoming</category>
74       <class>ArpNewDevice</class>
75       <image>images/lists/element.png[new]</image>
76     </objectType>
78     <objectType>
79       <label>New device</label>
80       <objectClass>FAKE_OC_NewDevice</objectClass>
81       <category>incoming</category>
82       <class>systemManagement</class>
83       <image>images/lists/element.png[new]</image>
84     </objectType>
86     <objectType>
87       <label>Workstation template</label>
88       <objectClass>FAKE_OC_WorkstationTemplate</objectClass>
89       <category>workstation</category>
90       <class>workgeneric</class>
91       <image>plugins/systems/images/select_default.png</image>
92     </objectType>
94     <objectType>
95       <label>Terminal template</label>
96       <objectClass>FAKE_OC_TerminalTemplate</objectClass>
97       <category>terminal</category>
98       <class>termgeneric</class>
99       <image>plugins/systems/images/select_default.png</image>
100     </objectType>
102     <objectType>
103       <label>Windows workstation</label>
104       <objectClass>FAKE_OC_winstation</objectClass>
105       <category>winworkstation</category>
106       <class>wingeneric</class>
107       <image>plugins/systems/images/select_winstation.png</image>
108     </objectType>
110     <objectType>
111       <label>Server</label>
112       <objectClass>goServer</objectClass>
113       <category>server</category>
114       <class>servgeneric</class>
115       <image>plugins/systems/images/select_server.png</image>
116     </objectType>
118     <objectType>
119       <label>Workstation</label>
120       <objectClass>gotoWorkstation</objectClass>
121       <category>workstation</category>
122       <class>workgeneric</class>
123       <image>plugins/systems/images/select_workstation.png</image>
124     </objectType>
126     <objectType>
127       <label>Terminal</label>
128       <objectClass>gotoTerminal</objectClass>
129       <category>terminal</category>
130       <class>termgeneric</class>
131       <image>plugins/systems/images/select_terminal.png</image>
132     </objectType>
134     <objectType>
135       <label>Printer</label>
136       <objectClass>gotoPrinter</objectClass>
137       <category>printer</category>
138       <class>printgeneric</class>
139       <image>plugins/systems/images/select_printer.png</image>
140     </objectType>
142     <objectType>
143       <label>Phone</label>
144       <objectClass>goFonHardware</objectClass>
145       <category>phone</category>
146       <class>phoneGeneric</class>
147       <image>plugins/systems/images/select_phone.png</image>
148     </objectType>
150     <objectType>
151       <label>Component</label>
152       <objectClass>ieee802Device</objectClass>
153       <category>component</category>
154       <class>componentGeneric</class>
155       <image>plugins/systems/images/select_component.png</image>
156     </objectType>
158   </definition>
160   <table>
161     <layout>|20px;c|||80px|170px;r|</layout>
163     <department>
164       <value>%{filter:objectType(dn,objectClass)}</value>
165     </department>
167     <department>
168       <value>%{filter:departmentLink(row,dn,description)}</value>
169       <span>2</span>
170     </department>
172     <column>
173       <value>%{filter:objectType(dn,objectClass)}</value>
174     </column>
176     <column>
177       <label>Name</label>
178       <sortAttribute>cn</sortAttribute>
179       <sortType>string</sortType>
180       <value>%{filter:filterLink(row,dn,"%s",cn,pid)}</value>
181       <export>true</export>
182     </column>
184     <column>
185       <label>Description</label>
186       <sortAttribute>description</sortAttribute>
187       <sortType>string</sortType>
188       <value>%{filter:filterSystemDescription(row,dn,pid,state,description)}</value>
189       <export>true</export>
190     </column>
192     <column>
193       <label>Release</label>
194       <sortAttribute>description</sortAttribute>
195       <sortType>string</sortType>
196       <value>%{filter:systemRelease(row,dn,"%s",objectClass,FAIclass)}</value>
197       <export>true</export>
198     </column>
200     <column>
201       <label>Actions</label>
202       <value>%{filter:actions(dn,row,objectClass)}</value>
203     </column>
205   </table>
207   <actionmenu>
209     <action>
210      <type>sub</type>
211      <image>images/lists/element.png[new]</image>
212      <label>Create</label>
214      <action>
215       <name>new_Device</name>
216       <type>entry</type>
217       <image>images/lists/edit.png</image>
218       <label>Device</label>
219       <depends>Device</depends>
220      </action>
222      <action>
223       <name>new_goServer</name>
224       <type>entry</type>
225       <image>plugins/systems/images/select_server.png[new]</image>
226       <label>Server</label>
227       <depends>servgeneric</depends>
228      </action>
230      <action>
231       <name>new_gotoWorkstation</name>
232       <type>entry</type>
233       <image>plugins/systems/images/select_workstation.png[new]</image>
234       <label>Workstation</label>
235       <depends>workgeneric</depends>
236      </action>
238      <action>
239       <name>new_gotoTerminal</name>
240       <type>entry</type>
241       <image>plugins/systems/images/select_terminal.png[new]</image>
242       <label>Terminal</label>
243       <depends>termgeneric</depends>
244      </action>
246      <action>
247       <name>new_gotoPrinter</name>
248       <type>entry</type>
249       <image>plugins/systems/images/select_printer.png[new]</image>
250       <label>Network printer</label>
251       <depends>printgeneric</depends>
252      </action>
254      <action>
255       <name>new_goFonHardware</name>
256       <type>entry</type>
257       <image>plugins/systems/images/select_phone.png[new]</image>
258       <label>Phone</label>
259       <depends>phoneGeneric</depends>
260      </action>
262      <action>
263       <name>new_ieee802Device</name>
264       <type>entry</type>
265       <image>plugins/systems/images/select_component.png[new]</image>
266       <label>Network device</label>
267       <depends>componentGeneric</depends>
268      </action>
270      <action>
271       <name>new_FAKE_OC_OpsiHost</name>
272       <type>entry</type>
273       <image>plugins/systems/images/select_winstation.png[new]</image>
274       <label>Opsi client</label>
275       <depends>opsi</depends>
276      </action>
277     </action>
279     <action>
280       <type>separator</type>
281     </action>
283     <action>
284      <type>sub</type>
285      <image>images/rocket.png</image>
286      <label>Trigger action</label>
288       <action>
289         <name>T_DaemonEvent_halt</name>
290         <depends>DaemonEvent_halt</depends>
291         <type>entry</type>
292         <image>images/lists/reload.png</image>
293         <label>Halt </label>
294       </action>
296       <action>
297         <name>T_DaemonEvent_reboot</name>
298         <depends>DaemonEvent_reboot</depends>
299         <type>entry</type>
300         <image>images/lists/reload.png</image>
301         <label>Reboot</label>
302       </action>
304       <action>
305         <name>T_DaemonEvent_wakeup</name>
306         <depends>DaemonEvent_wakeup</depends>
307         <type>entry</type>
308         <image>images/lists/on.png</image>
309         <label>Wakeup</label>
310       </action>
312       <action>
313         <name>T_DaemonEvent_update</name>
314         <depends>DaemonEvent_update</depends>
315         <type>entry</type>
316         <image>plugins/goto/images/update.png</image>
317         <label>Update</label>
318       </action>
320       <action>
321         <name>T_DaemonEvent_lock</name>
322         <depends>DaemonEvent_lock</depends>
323         <type>entry</type>
324         <image>images/lists/locked.png</image>
325         <label>Lock</label>
326       </action>
328       <action>
329         <name>T_DaemonEvent_activate</name>
330         <depends>DaemonEvent_activate</depends>
331         <type>entry</type>
332         <image>images/lists/unlocked.png</image>
333         <label>Activate</label>
334       </action>
336       <action>
337         <name>T_DaemonEvent_reinstall</name>
338         <depends>DaemonEvent_reinstall</depends>
339         <type>entry</type>
340         <image>plugins/goto/images/reinstall.png</image>
341         <label>Reinstall</label>
342       </action>
345     </action>
349     <action>
350      <type>sub</type>
351      <image>plugins/systems/images/clock.png</image>
352      <label>Schedule action</label>
354       <action>
355         <name>S_DaemonEvent_halt</name>
356         <depends>DaemonEvent_halt</depends>
357         <type>entry</type>
358         <image>images/lists/off.png</image>
359         <label>Halt</label>
360       </action>
362       <action>
363         <name>S_DaemonEvent_reboot</name>
364         <depends>DaemonEvent_reboot</depends>
365         <type>entry</type>
366         <image>images/lists/reload.png</image>
367         <label>Reboot</label>
368       </action>
370       <action>
371         <name>S_DaemonEvent_wakeup</name>
372         <depends>DaemonEvent_wakeup</depends>
373         <type>entry</type>
374         <image>images/lists/on.png</image>
375         <label>Wakeup</label>
376       </action>
378       <action>
379         <name>S_DaemonEvent_update</name>
380         <depends>DaemonEvent_update</depends>
381         <type>entry</type>
382         <image>plugins/goto/images/update.png</image>
383         <label>Update</label>
384       </action>
386       <action>
387         <name>S_DaemonEvent_lock</name>
388         <depends>DaemonEvent_lock</depends>
389         <type>entry</type>
390         <image>images/lists/locked.png</image>
391         <label>Lock</label>
392       </action>
394       <action>
395         <name>S_DaemonEvent_activate</name>
396         <depends>DaemonEvent_activate</depends>
397         <type>entry</type>
398         <image>images/lists/unlocked.png</image>
399         <label>Activate</label>
400       </action>
402       <action>
403         <name>S_DaemonEvent_reinstall</name>
404         <depends>DaemonEvent_reinstall</depends>
405         <type>entry</type>
406         <image>plugins/goto/images/reinstall.png</image>
407         <label>Reinstall</label>
408       </action>
410     </action>
412     <action>
413       <type>separator</type>
414     </action>
416     <action>
417       <name>activateMultiple</name>
418       <depends>DaemonEvent_activate</depends>
419       <type>entry</type>
420       <image>images/lists/unlocked.png</image>
421       <label>Activate systems</label>
422     </action>
424     <action>
425       <name>remove</name>
426       <type>entry</type>
427       <image>images/lists/trash.png</image>
428       <label>Remove</label>
429     </action>
431     <action>
432       <type>exporter</type>
433     </action>
435     <action>
436       <type>separator</type>
437     </action>
439     <action>
440       <type>copypaste</type>
441     </action>
443     <action>
444       <type>snapshot</type>
445     </action>
447   </actionmenu>
449   <actiontriggers snapshot="true" copypaste="true">
451     <action>
452       <name>setPassword</name>
453       <type>entry</type>
454       <objectclass>FAKE_OC_PWD_changeAble</objectclass>
455       <image>images/lists/key.png</image>
456       <label>Change password</label>
457     </action>
460     <action>
461       <name>createISO</name>
462       <type>entry</type>
463       <objectclass>gotoWorkstation</objectclass>
464       <objectclass>FAIobject</objectclass>
465       <image>plugins/systems/images/cdrom.png</image>
466       <acl>workstation/workgeneric[createFAICD:w]</acl>
467       <label>Create ISO</label>
468     </action>
470     <action>
471       <name>cp</name>
472       <type>copypaste</type>
473     </action>
475     <action>
476       <name>edit</name>
477       <type>entry</type>
478       <image>images/lists/edit.png</image>
479       <label>Edit role</label>
480     </action>
482     <action>
483       <name>snapshot</name>
484       <type>snapshot</type>
485     </action>
487     <action>
488       <name>remove</name>
489       <type>entry</type>
490       <image>images/lists/trash.png</image>
491       <acl>%acl[d]</acl>
492       <label>Remove system</label>
493     </action>
495   </actiontriggers>
497 </list>