From: hickert Date: Thu, 19 Nov 2009 09:17:47 +0000 (+0000) Subject: Updated device handling- Not finished yet X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6b8d7b7ea056421581504e8e6cf9751e7f7a3aed;p=gosa.git Updated device handling- Not finished yet git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14821 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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] + + + + + +