From 6b8d7b7ea056421581504e8e6cf9751e7f7a3aed Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 19 Nov 2009 09:17:47 +0000 Subject: [PATCH] Updated device handling- Not finished yet git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14821 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/devices/device-filter.tpl | 31 ++++ .../goto/admin/devices/device-filter.xml | 48 +++++++ .../goto/admin/devices/device-list.tpl | 31 ++++ .../goto/admin/devices/device-list.xml | 136 ++++++++++++++++++ 4 files changed, 246 insertions(+) create mode 100644 gosa-plugins/goto/admin/devices/device-filter.tpl create mode 100644 gosa-plugins/goto/admin/devices/device-filter.xml create mode 100644 gosa-plugins/goto/admin/devices/device-list.tpl create mode 100644 gosa-plugins/goto/admin/devices/device-list.xml diff --git a/gosa-plugins/goto/admin/devices/device-filter.tpl b/gosa-plugins/goto/admin/devices/device-filter.tpl new file mode 100644 index 000000000..8f83a74b4 --- /dev/null +++ b/gosa-plugins/goto/admin/devices/device-filter.tpl @@ -0,0 +1,31 @@ +
+

+ [F]{t}Filter{/t} +

+
+ +
+ +
+ + + + + + +
+ + + {$NAME} +
+ + + + + +
+ {$APPLY} +
+
diff --git a/gosa-plugins/goto/admin/devices/device-filter.xml b/gosa-plugins/goto/admin/devices/device-filter.xml new file mode 100644 index 000000000..3e6338bd0 --- /dev/null +++ b/gosa-plugins/goto/admin/devices/device-filter.xml @@ -0,0 +1,48 @@ + + + + + devices + + true + + + + + LDAP + (&(objectClass=gotoDevice)$NAME) + dn + objectClass + cn + description + + one + + + + RELEASE + combobox + Loading. + Loading.. + Loading... + + + + textfield + NAME + 20 + 60 + + + (|(cn=*$*)(description=*$*)) + true + + LDAP + (&(objectClass=gotoDevice)(|(cn=*$NAME*)(description=*$NAME*))) + cn + 0.5 + 3 + + + + diff --git a/gosa-plugins/goto/admin/devices/device-list.tpl b/gosa-plugins/goto/admin/devices/device-list.tpl new file mode 100644 index 000000000..b233c5874 --- /dev/null +++ b/gosa-plugins/goto/admin/devices/device-list.tpl @@ -0,0 +1,31 @@ + + + + + + + +
+
+

 {$HEADLINE} {$SIZELIMIT}

+
+ +
+
+ + +
{$ROOT} {$BACK} {$HOME} {$RELOAD} {$SEPARATOR} {t}Base{/t} {$BASE}  {$SEPARATOR}  {$ACTIONS}
+
+
+ +
+
+ + + + {$LIST} +
+ {$FILTER} +
+ + diff --git a/gosa-plugins/goto/admin/devices/device-list.xml b/gosa-plugins/goto/admin/devices/device-list.xml new file mode 100644 index 000000000..33a6c8d86 --- /dev/null +++ b/gosa-plugins/goto/admin/devices/device-list.xml @@ -0,0 +1,136 @@ + + + + + true + false + true + true + + devices + + 1 + + + + gotoDevice + devices + device + plugins/goto/images/select_device.png + + + + + + |16px|||150px;r| + + + %{filter:objectType(dn,objectClass)} + + + + %{filter:departmentLink(row,dn,description)} + 2 + + + + %{filter:objectType(dn,objectClass)} + + + + + cn + string + %{filter:link(row,dn,"%s",cn)} + true + + + + + description + string + %{filter:link(row,dn,"%s",description)} + true + + + + + %{filter:actions(dn,row,objectClass)} + + +
+ + + + + sub + images/lists/new.png + + + + new + entry + images/lists/new.png + + + + + + separator + + + + remove + entry + images/lists/trash.png + + + + + exporter + + + + separator + + + + copypaste + + + + snapshot + + + + + + + + cp + copypaste + + + + edit + entry + images/lists/edit.png + + + + + snapshot + snapshot + + + + remove + entry + images/lists/trash.png + device/device[d] + + + + + +
-- 2.30.2