From cd5a55e59bea3e51ea3f6c82b62b6e6f1d024c4b Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 18 Feb 2008 09:33:30 +0000 Subject: [PATCH] Updated Group/Application -Background is white now. -Rows have alternating colors -Rows have a hover color -Folders are displayed with fold path in drop down boxes. -Releasnames are now all in black git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8942 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/groups/apps/app_list.tpl | 51 +++++++++++-------- .../groups/apps/class_groupApplication.inc | 14 ++++- 2 files changed, 44 insertions(+), 21 deletions(-) diff --git a/gosa-plugins/goto/admin/groups/apps/app_list.tpl b/gosa-plugins/goto/admin/groups/apps/app_list.tpl index 044c21df9..8e50aebf4 100644 --- a/gosa-plugins/goto/admin/groups/apps/app_list.tpl +++ b/gosa-plugins/goto/admin/groups/apps/app_list.tpl @@ -5,11 +5,7 @@ {t}Release{/t} @@ -20,7 +16,8 @@
+ padding:5px; + "> {foreach from=$entries item=item key=key} @@ -40,21 +37,29 @@ {elseif $item.TYPE == "RELEASE"} - - + {else} + + {/if} + - - {elseif $item.TYPE == "FOLDER"} - - + {else} + + {/if} + - - {elseif $item.TYPE == "ENTRY"} - - + {else} + + {/if} + - -
+ { if $i++ % 2 == 0} +
{t}Release{/t} + {$item.NAME} +
+ { if $i++ % 2 == 0} +
{if $item.ICON != ""} -
+
{t}Folder{/t}
{else} @@ -63,10 +68,10 @@
{/if}
- {$item.NAME} + + {$item.NAME}  +
+ + { if $i++ % 2 == 0} +
{t}Entry{/t}
+ {$item.NAME} {$item.INFO} + + {t}add to{/t} - {$app_list} + {$app_list}