<?xml version="1.0" encoding="UTF-8"?>

<list>
  <definition>
    <template>simple-list.tpl</template>
    <module>simple</module>
    <label>NO LABEL</label>
    <defaultSortColumn>1</defaultSortColumn>
  </definition>

  <table>
    <layout>|20px;c||150px-d||185px-d;r|</layout>

    <department>
      <value>%{filter:departmentType(row,dn)}</value>
    </department>

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

    <column>
      <value>%{filter:objectType(row,dn)}</value>
    </column>

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

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

    <column>
      <label>Operating Systems</label>
      <value>%{filter:filterOS(pid,row,dn)}</value>
      <export>true</export>
    </column>

    <column>
      <label>Actions</label>
      <value>%{filter:actions(dn,row,objectClass)}</value>
    </column>

  </table>

  <actionmenu>
    <action>
      <name>edit</name>
      <type>entry</type>
      <image>geticon.php?context=actions&amp;icon=document-edit&amp;size=16</image>
      <label>Edit</label>
    </action>

    <action>
      <name>remove</name>
      <type>entry</type>
      <image>geticon.php?context=actions&amp;icon=edit-delete&amp;size=16</image>
      <label>Remove</label>
    </action>

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

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

  <actiontriggers snapshot="false" copypaste="false">
    <action>
      <name>edit</name>
      <type>entry</type>
      <image>geticon.php?context=actions&amp;icon=document-edit&amp;size=16</image>
      <label>Edit</label>
    </action>

    <action>
      <name>remove</name>
      <type>entry</type>
      <image>geticon.php?context=actions&amp;icon=edit-delete&amp;size=16</image>
      <label>Remove</label>
    </action>
  </actiontriggers>

</list>
