f3c66cef5f78eed72d66214f919413c630558ce9
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 <module>server</module>
11 <label>List of systems</label>
12 <defaultSortColumn>1</defaultSortColumn>
14 <objectType>
15 <label>Workstation template</label>
16 <objectClass>FAKE_OC_WorkstationTemplate</objectClass>
17 <category>workstation</category>
18 <class>workgeneric</class>
19 <image>plugins/systems/images/select_default.png</image>
20 </objectType>
23 <objectType>
24 <label>Terminal template</label>
25 <objectClass>FAKE_OC_TerminalTemplate</objectClass>
26 <category>terminal</category>
27 <class>termgeneric</class>
28 <image>plugins/systems/images/select_default.png</image>
29 </objectType>
31 <objectType>
32 <label>Winstation</label>
33 <objectClass>FAKE_OC_winstation</objectClass>
34 <category>winworkstation</category>
35 <class>wingeneric</class>
36 <image>plugins/systems/images/select_winstation.png</image>
37 </objectType>
39 <objectType>
40 <label>Server</label>
41 <objectClass>goServer</objectClass>
42 <category>server</category>
43 <class>servgeneric</class>
44 <image>plugins/systems/images/select_server.png</image>
45 </objectType>
47 <objectType>
48 <label>Workstation</label>
49 <objectClass>gotoWorkstation</objectClass>
50 <category>workstation</category>
51 <class>workgeneric</class>
52 <image>plugins/systems/images/select_workstation.png</image>
53 </objectType>
55 <objectType>
56 <label>Terminal</label>
57 <objectClass>gotoTerminal</objectClass>
58 <category>terminal</category>
59 <class>termgeneric</class>
60 <image>plugins/systems/images/select_terminal.png</image>
61 </objectType>
63 <objectType>
64 <label>Printer</label>
65 <objectClass>gotoPrinter</objectClass>
66 <category>printer</category>
67 <class>printGeneric</class>
68 <image>plugins/systems/images/select_printer.png</image>
69 </objectType>
71 <objectType>
72 <label>Phone</label>
73 <objectClass>goPhoneHardware</objectClass>
74 <category>phone</category>
75 <class>phoneGeneric</class>
76 <image>plugins/systems/images/select_phone.png</image>
77 </objectType>
79 <objectType>
80 <label>Component</label>
81 <objectClass>ieee802Device</objectClass>
82 <category>component</category>
83 <class>componentGeneric</class>
84 <image>plugins/systems/images/select_component.png</image>
85 </objectType>
87 </definition>
89 <table>
90 <layout>|20px;c||250px|170px;r|</layout>
92 <department>
93 <value>%{filter:objectType(dn,objectClass)}</value>
94 </department>
96 <department>
97 <value>%{filter:departmentLink(row,dn,description)}</value>
98 <span>2</span>
99 </department>
101 <column>
102 <value>%{filter:objectType(dn,objectClass)}</value>
103 </column>
105 <column>
106 <label>Name</label>
107 <sortAttribute>cn</sortAttribute>
108 <sortType>string</sortType>
109 <value>%{filter:link(row,dn,"%s",cn)}</value>
110 <export>true</export>
111 </column>
113 <column>
114 <label>Description</label>
115 <sortAttribute>description</sortAttribute>
116 <sortType>string</sortType>
117 <value>%{filter:link(row,dn,"%s",description)}</value>
118 <export>true</export>
119 </column>
121 <column>
122 <label>Actions</label>
123 <value>%{filter:actions(dn,row,objectClass)}</value>
124 </column>
126 </table>
128 <actionmenu>
130 <action>
131 <type>sub</type>
132 <image>images/lists/new.png</image>
133 <label>Create</label>
135 <action>
136 <name>new_server</name>
137 <type>entry</type>
138 <image>plugins/systems/images/select_server.png</image>
139 <label>Server</label>
140 <depends>servgeneric</depends>
141 </action>
143 <action>
144 <name>new_workstation</name>
145 <type>entry</type>
146 <image>plugins/systems/images/select_workstation.png</image>
147 <label>Workstation</label>
148 <depends>workgeneric</depends>
149 </action>
151 <action>
152 <name>new_terminal</name>
153 <type>entry</type>
154 <image>plugins/systems/images/select_terminal.png</image>
155 <label>Terminal</label>
156 <depends>termgeneric</depends>
157 </action>
159 <action>
160 <name>new_printer</name>
161 <type>entry</type>
162 <image>plugins/systems/images/select_printer.png</image>
163 <label>Network printer</label>
164 <depends>printgeneric</depends>
165 </action>
167 <action>
168 <name>new_phone</name>
169 <type>entry</type>
170 <image>plugins/systems/images/select_phone.png</image>
171 <label>Phone</label>
172 <depends>phoneGeneric</depends>
173 </action>
175 <action>
176 <name>new_component</name>
177 <type>entry</type>
178 <image>plugins/systems/images/select_component.png</image>
179 <label>Network device</label>
180 <depends>componentGeneric</depends>
181 </action>
183 <action>
184 <name>new_opsi_client</name>
185 <type>entry</type>
186 <image>plugins/systems/images/select_winstation.png</image>
187 <label>Opsi client</label>
188 <depends>opsi</depends>
189 </action>
190 </action>
192 <action>
193 <type>separator</type>
194 </action>
196 <action>
197 <name>edit</name>
198 <type>entry</type>
199 <image>images/lists/edit.png</image>
200 <label>Edit</label>
201 </action>
203 <action>
204 <name>remove</name>
205 <type>entry</type>
206 <image>images/lists/trash.png</image>
207 <label>Remove</label>
208 </action>
210 <action>
211 <type>exporter</type>
212 </action>
214 <action>
215 <type>separator</type>
216 </action>
218 <action>
219 <type>copypaste</type>
220 </action>
222 <action>
223 <type>snapshot</type>
224 </action>
226 </actionmenu>
228 <actiontriggers snapshot="true" copypaste="true">
230 <action>
231 <name>cp</name>
232 <type>copypaste</type>
233 </action>
235 <action>
236 <name>edit</name>
237 <type>entry</type>
238 <image>images/lists/edit.png</image>
239 <label>Edit role</label>
240 </action>
242 <action>
243 <name>snapshot</name>
244 <type>snapshot</type>
245 </action>
247 <action>
248 <name>remove</name>
249 <type>entry</type>
250 <image>images/lists/trash.png</image>
251 <acl>roles/role[d]</acl>
252 <label>Remove role</label>
253 </action>
255 </actiontriggers>
257 </list>