Code

Added creation Posts
[gosa.git] / gosa-plugins / fai / admin / fai / fai-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>fai-list.tpl</template>
10     <module>fai</module>
11     <label>List of deployment classes and products</label>
12     <defaultSortColumn>1</defaultSortColumn>
14     <objectType>
15       <label>FAI</label>
16       <objectClass>FAIclass</objectClass>
17       <category>fai</category>
18       <class>fai</class>
19       <image>plugins/fai/images/script.png</image>
20     </objectType>
22   </definition>
24   <table>
25     <layout>||250px|170px;r|</layout>
27     <column>
28       <label>Name</label>
29       <sortAttribute>cn</sortAttribute>
30       <sortType>string</sortType>
31       <value>%{filter:link(row,dn,"%s",cn)}</value>
32       <export>true</export>
33     </column>
35     <column>
36       <label>Properties</label>
37       <value>%{filter:filterProperties(row,TYPES)}</value>
38     </column>
40     <column>
41       <label>Actions</label>
42       <value>%{filter:actions(dn,row,objectClass)}</value>
43     </column>
45   </table>
47   <actionmenu>
49     <action>
50      <type>sub</type>
51      <image>images/lists/new.png</image>
52      <label>Create</label>
54      <action>
55       <name>new_profile</name>
56       <type>entry</type>
57       <image>plugins/fai/images/fai_profile.png</image>
58       <label>Profile</label>
59      </action>
60      <action>
61       <name>new_template</name>
62       <type>entry</type>
63       <image>plugins/fai/images/fai_template.png</image>
64       <label>Template</label>
65      </action>
66      <action>
67       <name>new_script</name>
68       <type>entry</type>
69       <image>plugins/fai/images/fai_script.png</image>
70       <label>Script</label>
71      </action>
72      <action>
73       <name>new_hook</name>
74       <type>entry</type>
75       <image>plugins/fai/images/fai_hook.png</image>
76       <label>Hook</label>
77      </action>
78      <action>
79       <name>new_variable</name>
80       <type>entry</type>
81       <image>plugins/fai/images/fai_variable.png</image>
82       <label>Variable</label>
83      </action>
84      <action>
85       <name>new_package</name>
86       <type>entry</type>
87       <image>plugins/fai/images/fai_packages.png</image>
88       <label>Package list</label>
89      </action>
90      <action>
91       <name>new_partition</name>
92       <type>entry</type>
93       <image>plugins/fai/images/fai_partitionTable.png</image>
94       <label>Partition table</label>
95      </action>
97     </action>
99     <action>
100       <type>exporter</type>
101     </action>
103     <action>
104       <type>separator</type>
105     </action>
107     <action>
108       <type>copypaste</type>
109     </action>
111     <action>
112       <type>snapshot</type>
113     </action>
115   </actionmenu>
117   <actiontriggers snapshot="true" copypaste="true">
119     <action>
120       <name>cp</name>
121       <type>copypaste</type>
122     </action>
124     <action>
125       <name>edit</name>
126       <type>entry</type>
127       <image>images/lists/edit.png</image>
128       <label>Edit</label>
129     </action>
131     <action>
132       <name>snapshot</name>
133       <type>snapshot</type>
134     </action>
136     <action>
137       <name>remove</name>
138       <type>entry</type>
139       <objectclass>FAKE_OC_IsBranch</objectclass>
140       <image>images/lists/trash.png</image>
141       <label>Remove role</label>
142     </action>
144   </actiontriggers>
146 </list>