Code

Updated table summary
[gosa.git] / gosa-plugins / goto / addons / goto / deploy-list.xml
index 84bbcb3be2951d2358777c2865eee9a2e5565d09..ce03106d16e45ed411b5976998653c526423d4a3 100644 (file)
@@ -7,8 +7,8 @@
     <baseMode>false</baseMode>
     <multiSelect>true</multiSelect>
     <template>deploy-list.tpl</template>
-    <label>List of events</label>
-    <defaultSortColumn>1</defaultSortColumn>
+    <label>List of queued jobs</label>
+    <defaultSortColumn>3</defaultSortColumn>
 
     <objectType>
       <label>Event</label>
@@ -21,7 +21,7 @@
   </definition>
 
   <table>
-    <layout>|||||||</layout>
+    <layout>||120px|80px|120px|100px|180px;r|</layout>
 
     <column>
       <label>Target</label>
@@ -49,8 +49,8 @@
 
     <column>
       <label>Schedule</label>
-      <sortAttribute>uid</sortAttribute>
-      <sortType>string</sortType>
+      <sortAttribute>Schedule</sortAttribute>
+      <sortType>date</sortType>
       <value>%{filter:filterSchedule(TIMESTAMP)}</value>
       <export>true</export>
     </column>
@@ -59,7 +59,7 @@
       <label>Status</label>
       <sortAttribute>uid</sortAttribute>
       <sortType>string</sortType>
-      <value>%{filter:filterStatus(TIMESTAMP)}</value>
+      <value>%{filter:filterStatus(STATUS,MACADDRESS,HEADERTAG,PROGRESS)}</value>
       <export>true</export>
     </column>
 
      <label>Create</label>
 
      <action>
-      <name>new</name>
+      <name>halt</name>
       <type>entry</type>
-      <image>plugins/users/images/list_new_user.png</image>
-      <label>User</label>
+      <image>images/lists/off.png</image>
+      <label>Switch off</label>
      </action>
 
      <action>
-      <name>new_template</name>
+      <name>reboot</name>
       <type>entry</type>
-      <image>plugins/users/images/select_template.png</image>
-      <label>Template</label>
+      <image>images/lists/reload.png</image>
+      <label>Reboot</label>
      </action>
-    </action>
 
-    <action>
-      <type>separator</type>
-    </action>
-
-    <action>
-      <name>edit</name>
-      <type>entry</type>
-      <image>images/lists/edit.png</image>
-      <label>Edit</label>
-    </action>
-
-    <action>
-      <name>remove</name>
+     <action>
+      <name>wakeup</name>
       <type>entry</type>
-      <image>images/lists/trash.png</image>
-      <label>Remove</label>
-    </action>
+      <image>images/lists/on.png</image>
+      <label>Wake up</label>
+     </action>
 
-    <action>
-      <name>password</name>
+     <action>
+      <name>update</name>
       <type>entry</type>
-      <image>plugins/users/images/list_password.png</image>
-      <label>Change password</label>
-    </action>
-
-    <action>
-      <type>separator</type>
-    </action>
+      <image>plugins/goto/images/update.png</image>
+      <label>Software update</label>
+     </action>
 
-    <action>
-      <name>lockUsers</name>
+     <action>
+      <name>lock</name>
       <type>entry</type>
       <image>images/lists/locked.png</image>
-      <acl>uniBonnAccount/password[w]</acl>
-      <label>Lock users</label>
-    </action>
+      <label>Lock</label>
+     </action>
 
-    <action>
-      <name>unlockUsers</name>
+     <action>
+      <name>activate</name>
       <type>entry</type>
       <image>images/lists/unlocked.png</image>
-      <acl>uniBonnAccount/password[w]</acl>
-      <label>Unlock users</label>
-    </action>
+      <label>Unlock</label>
+     </action>
 
-    <action>
-      <name>sendMessage</name>
+     <action>
+      <name>reinstall</name>
       <type>entry</type>
-      <depends>DaemonEvent_notify</depends>
-      <image>plugins/goto/images/notify.png</image>
-      <label>Send message</label>
+      <image>plugins/goto/images/reinstall.png</image>
+      <label>Reinstall</label>
+     </action>
     </action>
-
+  
     <action>
       <type>separator</type>
     </action>
 
     <action>
-      <name>templatize</name>
-      <type>entry</type>
-      <image>plugins/users/images/wizard.png</image>
-      <label>Apply template</label>
-    </action>
-
-    <action>
-      <type>separator</type>
+     <name>import</name>
+     <type>entry</type>
+     <image>images/lists/import.png</image>
+     <label>Import</label>
     </action>
 
     <action>
-      <type>exporter</type>
+     <name>remove</name>
+     <type>entry</type>
+     <image>images/lists/trash.png</image>
+     <label>Remove</label>
     </action>
 
     <action>
       <type>separator</type>
     </action>
 
-    <action>
-      <type>copypaste</type>
-    </action>
+     <action>
+      <name>prioResume</name>
+      <type>entry</type>
+      <image>images/status_start.png</image>
+      <label>Resume</label>
+     </action>
+
+     <action>
+      <name>prioPause</name>
+      <type>entry</type>
+      <image>images/status_pause.png</image>
+      <label>Pause</label>
+     </action>
+
+     <action>
+      <name>abort</name>
+      <type>entry</type>
+      <image>images/small_error.png</image>
+      <label>Abort</label>
+     </action>
 
     <action>
-      <type>snapshot</type>
+      <type>separator</type>
     </action>
 
+     <action>
+      <name>processNow</name>
+      <type>entry</type>
+      <image>images/rocket.png</image>
+      <label>Execute</label>
+     </action>
+
   </actionmenu>
 
   <actiontriggers snapshot="true" copypaste="true">
 
     <action>
-      <name>newfromtpl</name>
+      <name>prioUp</name>
       <type>entry</type>
-      <image>images/lists/new.png</image>
-      <objectclass>gosaUserTemplate</objectclass>
-      <label>New user from template</label>
+      <objectclass>FAKE_OC__prioUp</objectclass>
+      <image>plugins/goto/images/prio_increase.png</image>
+      <label>Up</label>
     </action>
 
     <action>
-      <name>cp</name>
-      <objectclass>!gosaUserTemplate</objectclass>
-      <type>copypaste</type>
+      <name>prioDown</name>
+      <type>entry</type>
+      <objectclass>FAKE_OC__prioDown</objectclass>
+      <image>plugins/goto/images/prio_decrease.png</image>
+      <label>Down</label>
     </action>
 
     <action>
-      <name>edit</name>
+      <name>prioPause</name>
       <type>entry</type>
-      <objectclass>gosaAccount</objectclass>
-      <image>images/lists/edit.png</image>
-      <label>Edit user</label>
+      <objectclass>FAKE_OC__prioPause</objectclass>
+      <image>images/status_pause.png</image>
+      <label>Pause</label>
     </action>
 
     <action>
-      <name>lock</name>
+      <name>prioResume</name>
+      <type>entry</type>
+      <objectclass>FAKE_OC__prioResume</objectclass>
+      <image>images/status_start.png</image>
+      <label>Resume</label>
+    </action>
+
+    <action>
+      <name>processNow</name>
       <type>entry</type>
-      <objectclass>!gosaUserTemplate</objectclass>
-      <image>%{filter:lockImage(userPassword)}</image>
-      <acl>uniBonnAccount/password[w]</acl>
-      <label>%{filter:lockLabel(userPassword)}</label>
+      <objectclass>FAKE_OC__processNow</objectclass>
+      <image>images/rocket.png</image>
+      <label>Process now</label>
     </action>
 
     <action>
-      <name>password</name>
+      <name>viewLogs</name>
       <type>entry</type>
-      <objectclass>!gosaUserTemplate</objectclass>
-      <image>plugins/users/images/list_password.png</image>
-      <label>Change password</label>
+      <objectclass>FAKE_OC__viewLogs</objectclass>
+      <image>plugins/goto/images/view_logs.png</image>
+      <label>View logs</label>
     </action>
 
     <action>
-      <name>snapshot</name>
-      <type>snapshot</type>
-      <objectclass>!gosaUserTemplate</objectclass>
+      <name>edit</name>
+      <type>entry</type>
+      <objectclass>FAKE_OC__edit</objectclass>
+      <image>images/lists/edit.png</image>
+      <label>Edit</label>
     </action>
 
     <action>
       <name>remove</name>
       <type>entry</type>
+      <objectclass>FAKE_OC__remove</objectclass>
       <image>images/lists/trash.png</image>
-      <objectclass>gosaAccount</objectclass>
-      <acl>users/user[d]</acl>
-      <label>Remove user</label>
+      <label>Remove</label>
+    </action>
+
+    <action>
+      <name>abort</name>
+      <type>entry</type>
+      <objectclass>FAKE_OC__abort</objectclass>
+      <image>images/small_error.png</image>
+      <label>Abort</label>
     </action>
 
   </actiontriggers>
 
 </list>
+