From cc4f953d771f0cb3d526180e75d757068e04009e Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 18 Jun 2009 13:54:42 +0000 Subject: [PATCH] Added extra css style for info/ok dialogs, no big red border arround the window, just an small black one. -It doesn't look so alerting. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13731 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/themes/default/style.css | 10 ++++++++++ gosa-core/ihtml/themes/default/msg_dialog.tpl | 11 ++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/gosa-core/html/themes/default/style.css b/gosa-core/html/themes/default/style.css index f544eb7f7..e2b0e78d2 100644 --- a/gosa-core/html/themes/default/style.css +++ b/gosa-core/html/themes/default/style.css @@ -1556,3 +1556,13 @@ div.errorMsgDialog { z-index:150; position:absolute; } + +div.infoMsgDialog { + width:60%; + left:200px; + top:200px; + background-color:white; + border: 2px solid black; + z-index:150; + position:absolute; +} diff --git a/gosa-core/ihtml/themes/default/msg_dialog.tpl b/gosa-core/ihtml/themes/default/msg_dialog.tpl index 96765217d..ae4e91924 100644 --- a/gosa-core/ihtml/themes/default/msg_dialog.tpl +++ b/gosa-core/ihtml/themes/default/msg_dialog.tpl @@ -45,7 +45,12 @@ {if !$JS} + {if $i_Type == INFO_DIALOG || $i_Type == CONFIRM_DIALOG || $i_Type == OK_CANCEL_DIALOG} +
+ {else}
+ {/if} +
{if $i_Type == ERROR_DIALOG} @@ -87,7 +92,11 @@ {/if} -