c01afa24c8a1ee53292e52c2d068c04331a213b7
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>Winstation</label>
16 <objectClass>FAKE_OC_winstation</objectClass>
17 <category>winworkstation</category>
18 <class>wingeneric</class>
19 <image>plugins/systems/images/select_winstation.png</image>
20 </objectType>
22 <objectType>
23 <label>Server</label>
24 <objectClass>goServer</objectClass>
25 <category>server</category>
26 <class>servgeneric</class>
27 <image>plugins/systems/images/select_server.png</image>
28 </objectType>
30 <objectType>
31 <label>Workstation</label>
32 <objectClass>gotoWorkstation</objectClass>
33 <category>workstation</category>
34 <class>workgeneric</class>
35 <image>plugins/systems/images/select_workstation.png</image>
36 </objectType>
38 <objectType>
39 <label>Terminal</label>
40 <objectClass>gotoTerminal</objectClass>
41 <category>terminal</category>
42 <class>termgeneric</class>
43 <image>plugins/systems/images/select_terminal.png</image>
44 </objectType>
46 <objectType>
47 <label>Printer</label>
48 <objectClass>gotoPrinter</objectClass>
49 <category>printer</category>
50 <class>printGeneric</class>
51 <image>plugins/systems/images/select_printer.png</image>
52 </objectType>
54 <objectType>
55 <label>Phone</label>
56 <objectClass>goPhoneHardware</objectClass>
57 <category>phone</category>
58 <class>phoneGeneric</class>
59 <image>plugins/systems/images/select_phone.png</image>
60 </objectType>
62 <objectType>
63 <label>Component</label>
64 <objectClass>ieee802Device</objectClass>
65 <category>component</category>
66 <class>componentGeneric</class>
67 <image>plugins/systems/images/select_component.png</image>
68 </objectType>
70 </definition>
72 <table>
73 <layout>|20px;c||250px|170px;r|</layout>
75 <department>
76 <value>%{filter:objectType(dn,objectClass)}</value>
77 </department>
79 <department>
80 <value>%{filter:departmentLink(row,dn,description)}</value>
81 <span>2</span>
82 </department>
84 <column>
85 <value>%{filter:objectType(dn,objectClass)}</value>
86 </column>
88 <column>
89 <label>Name</label>
90 <sortAttribute>cn</sortAttribute>
91 <sortType>string</sortType>
92 <value>%{filter:link(row,dn,"%s",cn)}</value>
93 <export>true</export>
94 </column>
96 <column>
97 <label>Description</label>
98 <sortAttribute>description</sortAttribute>
99 <sortType>string</sortType>
100 <value>%{filter:link(row,dn,"%s",description)}</value>
101 <export>true</export>
102 </column>
104 <column>
105 <label>Actions</label>
106 <value>%{filter:actions(dn,row,objectClass)}</value>
107 </column>
109 </table>
111 <actionmenu>
113 <action>
114 <type>sub</type>
115 <image>images/lists/new.png</image>
116 <label>Create</label>
118 <action>
119 <name>new_server</name>
120 <type>entry</type>
121 <image>plugins/systems/images/select_server.png</image>
122 <label>Server</label>
123 <depends>servgeneric</depends>
124 </action>
126 <action>
127 <name>new_workstation</name>
128 <type>entry</type>
129 <image>plugins/systems/images/select_workstation.png</image>
130 <label>Workstation</label>
131 <depends>workgeneric</depends>
132 </action>
134 <action>
135 <name>new_terminal</name>
136 <type>entry</type>
137 <image>plugins/systems/images/select_terminal.png</image>
138 <label>Terminal</label>
139 <depends>termgeneric</depends>
140 </action>
142 <action>
143 <name>new_printer</name>
144 <type>entry</type>
145 <image>plugins/systems/images/select_printer.png</image>
146 <label>Network printer</label>
147 <depends>printgeneric</depends>
148 </action>
150 <action>
151 <name>new_phone</name>
152 <type>entry</type>
153 <image>plugins/systems/images/select_phone.png</image>
154 <label>Phone</label>
155 <depends>phoneGeneric</depends>
156 </action>
158 <action>
159 <name>new_component</name>
160 <type>entry</type>
161 <image>plugins/systems/images/select_component.png</image>
162 <label>Network device</label>
163 <depends>componentGeneric</depends>
164 </action>
166 <action>
167 <name>new_opsi_client</name>
168 <type>entry</type>
169 <image>plugins/systems/images/select_winstation.png</image>
170 <label>Opsi client</label>
171 <depends>opsi</depends>
172 </action>
173 </action>
175 <action>
176 <type>separator</type>
177 </action>
179 <action>
180 <name>edit</name>
181 <type>entry</type>
182 <image>images/lists/edit.png</image>
183 <label>Edit</label>
184 </action>
186 <action>
187 <name>remove</name>
188 <type>entry</type>
189 <image>images/lists/trash.png</image>
190 <label>Remove</label>
191 </action>
193 <action>
194 <type>exporter</type>
195 </action>
197 <action>
198 <type>separator</type>
199 </action>
201 <action>
202 <type>copypaste</type>
203 </action>
205 <action>
206 <type>snapshot</type>
207 </action>
209 </actionmenu>
211 <actiontriggers snapshot="true" copypaste="true">
213 <action>
214 <name>cp</name>
215 <type>copypaste</type>
216 </action>
218 <action>
219 <name>edit</name>
220 <type>entry</type>
221 <image>images/lists/edit.png</image>
222 <label>Edit role</label>
223 </action>
225 <action>
226 <name>snapshot</name>
227 <type>snapshot</type>
228 </action>
230 <action>
231 <name>remove</name>
232 <type>entry</type>
233 <image>images/lists/trash.png</image>
234 <acl>roles/role[d]</acl>
235 <label>Remove role</label>
236 </action>
238 </actiontriggers>
240 </list>