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