system-list.xml 3.85 KB
Newer Older
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>

<list>
  <definition>
    <departmentBrowser>true</departmentBrowser>
    <departmentRootVisible>false</departmentRootVisible>
    <baseMode>true</baseMode>
    <multiSelect>true</multiSelect>
9
    <template>simple-list.tpl</template>
10 11 12 13 14
    <label>List of systems</label>
    <defaultSortColumn>1</defaultSortColumn>
  </definition>

  <table>
15
    <layout>|20px;c||90px-d|110px|100px;o|||120px-d;r|</layout>
16 17

    <department>
18
      <value>%{filter:departmentType(row,dn)}</value>
19 20 21 22 23 24 25 26
    </department>

    <department>
      <value>%{filter:departmentLink(row,dn,description)}</value>
      <span>2</span>
    </department>

    <column>
27
      <value>%{filter:objectType(row,dn)}</value>
28 29 30 31 32 33 34 35 36 37
    </column>

    <column>
      <label>Name</label>
      <sortAttribute>cn</sortAttribute>
      <sortType>string</sortType>
      <value>%{filter:link(row,dn,"%s",cn)}</value>
      <export>true</export>
    </column>

38 39 40
    <column>
      <label>IP</label>
      <sortAttribute>ip</sortAttribute>
41
      <sortType>ip</sortType>
42
      <value>%{ipHostNumber}</value>
43 44 45
      <export>true</export>
    </column>

46 47 48 49
    <column>
      <label>MAC</label>
      <sortAttribute>mac</sortAttribute>
      <sortType>string</sortType>
50
      <value>%{macAddress}</value>
51 52 53
      <export>true</export>
    </column>

54 55 56 57 58 59 60 61
    <column>
      <label>Description</label>
      <sortAttribute>description</sortAttribute>
      <sortType>string</sortType>
      <value>%{filter:link(row,dn,"%s",description)}</value>
      <export>true</export>
    </column>

62 63 64 65
    <column>
      <label>Services</label>
      <sortAttribute>services</sortAttribute>
      <sortType>string</sortType>
66
      <value>%{filter:listServices(row,dn)}</value>
67 68 69
      <export>true</export>
    </column>

70 71 72 73 74
    <column>
      <label>Release</label>
      <sortAttribute>description</sortAttribute>
      <sortType>string</sortType>
      <value>%{filter:systemRelease(row,dn,"%s",objectClass,FAIclass)}</value>
75 76 77
      <export>true</export>
    </column>

78 79 80 81 82 83 84 85 86 87 88
    <column>
      <label>Actions</label>
      <value>%{filter:actions(dn,row,objectClass)}</value>
    </column>

  </table>

  <actionmenu>

    <action>
     <type>sub</type>
89
     <image>geticon.php?context=actions&amp;icon=document-new&amp;size=16</image>
90 91 92 93 94 95 96 97
     <label>Create</label>
    </action>

    <action>
      <type>separator</type>
    </action>

    <action>
98
      <type>sub</type>
99
      <image>geticon.php?context=types&amp;icon=action&amp;size=16</image>
100
      <label>Trigger action</label>
101
      <depends>argonautAction</depends>
102 103 104 105
    </action>

    <action>
     <type>sub</type>
106
     <image>geticon.php?context=actions&amp;icon=task-schedule&amp;size=16</image>
107
     <label>Schedule action</label>
108
      <depends>argonautAction</depends>
109 110 111 112 113 114 115 116 117
    </action>

    <action>
      <type>separator</type>
    </action>

    <action>
      <name>remove</name>
      <type>entry</type>
118
      <image>geticon.php?context=actions&amp;icon=edit-delete&amp;size=16</image>
119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
      <label>Remove</label>
    </action>

    <action>
      <type>exporter</type>
    </action>

    <action>
      <type>separator</type>
    </action>

    <action>
      <type>copypaste</type>
    </action>

    <action>
      <type>snapshot</type>
    </action>

  </actionmenu>

  <actiontriggers snapshot="true" copypaste="true">
    <action>
      <name>cp</name>
      <type>copypaste</type>
    </action>

    <action>
      <name>edit</name>
      <type>entry</type>
149
      <image>geticon.php?context=actions&amp;icon=document-edit&amp;size=16</image>
150
      <label>Edit system</label>
151 152 153 154 155 156 157 158 159 160
    </action>

    <action>
      <name>snapshot</name>
      <type>snapshot</type>
    </action>

    <action>
      <name>remove</name>
      <type>entry</type>
161
      <image>geticon.php?context=actions&amp;icon=edit-delete&amp;size=16</image>
162 163 164 165 166 167 168
      <acl>%acl[d]</acl>
      <label>Remove system</label>
    </action>

  </actiontriggers>

</list>