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