Code

Added extra css style for info/ok dialogs, no big red border arround the window,...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Jun 2009 13:54:42 +0000 (13:54 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Jun 2009 13:54:42 +0000 (13:54 +0000)
-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
gosa-core/ihtml/themes/default/msg_dialog.tpl

index f544eb7f725a1bc8715f0d950f2b6ee473989342..e2b0e78d28d6724c6d47c5503ba4b02ebab4186c 100644 (file)
@@ -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;
+}
index 96765217db3e4a7726e3aa35d290e0fca596cc20..ae4e919240595d4bde738fae2902ed2bb54c9714 100644 (file)
 
        {if !$JS}
 
+               {if $i_Type == INFO_DIALOG || $i_Type == CONFIRM_DIALOG || $i_Type == OK_CANCEL_DIALOG}
+               <div id='e_layer{$i_ID}' class="infoMsgDialog" style='top:200px;left:200px;'>
+    {else}
                <div id='e_layer{$i_ID}' class="errorMsgDialog" style='top:200px;left:200px;'>
+    {/if}
+
                        <div id="e_layerTitle{$i_ID}" class="errorMsgTitle">
                        <table><tr><td>
                {if $i_Type == ERROR_DIALOG}
                
                {/if}
 
-               <div id='e_layer{$i_ID}' class="errorMsgDialog" style="top:200px;left:200px; display:none;">
+    {if $i_Type == INFO_DIALOG || $i_Type == CONFIRM_DIALOG || $i_Type == OK_CANCEL_DIALOG}
+    <div id='e_layer{$i_ID}' class="infoMsgDialog" style='top:200px;left:200px;'>
+    {else}
+    <div id='e_layer{$i_ID}' class="errorMsgDialog" style='top:200px;left:200px;'>
+    {/if}
 
                <div id="e_layerTitle{$i_ID}" class="errorMsgTitle">
                        <table><tr><td>