Code

Updated some styles
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Mar 2007 12:58:48 +0000 (12:58 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Mar 2007 12:58:48 +0000 (12:58 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5837 594d385d-05f5-0310-b6e9-bd551577e9d8

html/themes/default/style.css
include/sieve/templates/element_discard.tpl
include/sieve/templates/element_keep.tpl
include/sieve/templates/element_redirect.tpl
include/sieve/templates/element_reject.tpl
include/sieve/templates/element_stop.tpl
include/sieve/templates/element_vacation.tpl

index a9bcbc647e94b02b8155d4ffc5e17db70e0a6c39..1a630d0a16c43e0aac71e31aa62432410fb2d906 100644 (file)
@@ -1228,7 +1228,132 @@ select.sieve_fileinto_input {
 }
 
 
+/*************
+ * Sieve keep 
+ *************/
+
+/* Container */
+table.sieve_keep_container {
+       margin:0px;
+       padding:0px;
+       border-spacing: 0px ;
+       width:100%;
+       background-color: #EEEEEE;
+}
+
+/* Editing area */
+td.sieve_keep_input {
+       padding-left:20px;
+}
+
+
+/*************
+ * Sieve discard 
+ *************/
+
+/* Container */
+table.sieve_discard_container {
+       margin:0px;
+       padding:0px;
+       border-spacing: 0px ;
+       width:100%;
+       background-color: #EEEEEE;
+}
 
+/* Editing area */
+td.sieve_discard_input {
+       padding-left:20px;
+}
+
+
+/*************
+ * Sieve redirect 
+ *************/
+
+/* Container */
+table.sieve_redirect_container {
+       margin:0px;
+       padding:0px;
+       border-spacing: 0px ;
+       width:100%;
+       background-color: #EEEEEE;
+}
+
+/* Editing area */
+td.sieve_redirect_input {
+       padding-left:20px;
+}
+textarea.sieve_redirect_input {
+       width:100%; 
+       height:30px;
+}
+
+
+/*************
+ * Sieve reject
+ *************/
+
+/* Container */
+table.sieve_reject_container {
+       margin:0px;
+       padding:0px;
+       border-spacing: 0px ;
+       width:100%;
+       background-color: #EEEEEE;
+}
+
+/* Editing area */
+td.sieve_reject_input {
+       padding-left:20px;
+}
+textarea.sieve_reject_input {
+       width:100%; 
+       height:30px;
+}
+
+
+/*************
+ * Sieve end 
+ *************/
+
+/* Container */
+table.sieve_stop_container {
+       margin:0px;
+       padding:0px;
+       border-spacing: 0px ;
+       width:100%;
+       background-color: #EEEEEE;
+}
+
+/* Editing area */
+td.sieve_stop_input {
+       padding-left:20px;
+}
+
+
+/*************
+ * Sieve vacation 
+ *************/
+
+/* Container */
+table.sieve_vacation_container {
+       margin:0px;
+       padding:0px;
+       border-spacing: 0px ;
+       width:100%;
+       background-color: #EEEEEE;
+}
+
+/* Editing area */
+td.sieve_vacation_input {
+       padding-left:20px;
+}
+
+/* Editing area */
+textarea.sieve_vacation_input {
+       width:100%;
+       height : 45px;
+}
 
 
 
index ff69ed240f08bf72d67fa520da779334a9839a2c..55cfb82fc98f21c6c133119639fc13dcdedd858e 100644 (file)
@@ -1,7 +1,12 @@
-<table cellspacing=0 width='100%'>
+<table class='sieve_discard_container'>
        <tr>
-               <td style='background-color:#ffeccc;'>
-                       <b>{t}Discard message{/t}</b>
+               <td>
+                       <b>{t}Discard{/t}</b>
+               </td>
+       </tr>
+       <tr>
+               <td class='sieve_discard_input'>
+                       {t}Discard the message{/t}
                </td>
        </tr>
 </table>
index 3ad993cc2ae7f58fba20f29490272169767afb5b..067bcc6fee141aa1b446ef8eef454d97ad526b6b 100644 (file)
@@ -1,7 +1,12 @@
-<table cellspacing=0 width='100%'>
+<table class='sieve_keep_container'>
        <tr>
-               <td style='width:100%;background-color:#faffcd;'>
-                       <b>{t}Keep message{/t}</b>
+               <td>
+                       <b>{t}Keep{/t}</b>
+               </td>
+       </tr>
+       <tr>
+               <td class='sieve_keep_input'>
+                       {t}Keep the message{/t}
                </td>
        </tr>
 </table>
index b2864f77d3b613f4fc0c489fc47cdc111ecb67be..778ff1a5076185cc64ee00665e4755bd64d87b24 100644 (file)
@@ -1,39 +1,22 @@
-{if $LastErrorCnt != 0}
-       <table style='width:100%;'> 
-               <tr>
-                       <td style='width:40px; background-color: #FF0000; text-align:center; border: dotted 3px #ff7c1c'>
-                               <img src='images/warning.png' alt='{t}Error{/t}'>
-                       </td>
-                       <td>
-{/if}
-
-<table cellspacing=0 width='100%' style='background-color: #d1ffcc'>
-       <tr>
-               <td>
-                       <b>{t}Redirect{/t}</b>
-                       {t}Redirect mail to following recipients{/t}
-               </td>
-       </tr>
-
+<table class='sieve_redirect_container'>
        {foreach from=$LastError item=val key=key}
         <tr>
             <td colspan=4>
-                <font color='red'><b>{$LastError[$key]}</b></font>
+                <div class='sieve_error_msgs'>{$LastError[$key]}</div>
+
             </td>
         </tr>
 
     {/foreach}
-
        <tr>
-               <td style='padding-left:20px;'>
-                       <textarea name='redirect_to_{$ID}' style='width:100%; height:30px;'>{$Destinations}</textarea>
+               <td>
+                       <b>{t}Redirect{/t}</b>
+               </td>
+       </tr>
+       <tr>
+               <td class='sieve_redirect_input'>
+                       {t}Redirect mail to following recipients{/t}<br>
+                       <textarea name='redirect_to_{$ID}' class='sieve_redirect_input'>{$Destinations}</textarea>
                </td>
        </tr>
 </table>
-
-{if $LastErrorCnt != 0}
-
-                       </td>
-               </tr>
-       </table>
-{/if}
index f8ebcb78981557c1a6f002ebec23d8da5a870876..60163c2f9b68c7423b5b86d511238c2664a07ede 100644 (file)
@@ -1,6 +1,6 @@
-<table cellspacing=0 width='100%' style='background-color: #ffba4d'>
+<table class='sieve_reject_container'>
        <tr>
-               <td style='width:100%;'>
+               <td>
                        <b>{t}Reject mail{/t}</b>
                        &nbsp;
                        {if $Multiline}
@@ -11,8 +11,8 @@
                </td>
        </tr>
        <tr>
-               <td style='padding-left:20px;'>
-                       <textarea name='reject_message_{$ID}' style='width:100%;height:40px;' >{$Message}</textarea>
+               <td class='sieve_reject_input'>
+                       <textarea name='reject_message_{$ID}' class='sieve_reject_input'>{$Message}</textarea>
                </td>
        </tr>
 </table>
index 8c61ad2f336539d8046e4df15017de20603745ad..60794b72d0d6b24435e8612dffe394f563d71d1c 100644 (file)
@@ -1,7 +1,11 @@
-<table cellspacing=0 width='100%'>
+<table class='sieve_stop_container'>
        <tr>
-               <td style='width:100%;background-color:#ffc9c9;'>
+               <td>
                        <b>{t}Stop{/t}</b><br>
+               </td>
+       </tr>
+       <tr>
+               <td class='sieve_stop_input'>
                        {t}Stop execution here!{/t}
                </td>
        </tr>
index 6c7ff47d5f94224067aa99e8d1ed02e0f1d5927c..a361569b09c1ad8a3a3058dc10efc0e8750ae0f1 100644 (file)
@@ -1,21 +1,11 @@
-
-{if $LastErrorCnt != 0}
-    <table style='width:100%;'>
-        <tr>
-            <td style='width:40px; background-color: #FF0000; text-align:center; border: dotted 3px #ff7c1c'>
-                <img src='images/warning.png' alt='{t}Error{/t}'>
-            </td>
-            <td>
-{/if}
-<table cellspacing=0 cellpadding=2 style='background-color:#EEEEDD;width:100%; border: solid 1px #CCCCCC'>
+<table class='sieve_vacation_container'>
 
        {foreach from=$LastError item=val key=key}
                <tr>
                        <td colspan=4>
-                               <font color='red'><b>{$LastError[$key]}</b></font>
+                               <div class='sieve_error_msgs'>{$LastError[$key]}</div>
                        </td>
                </tr>
-
        {/foreach}
        {if $Expert}
        <tr>
@@ -44,8 +34,8 @@
                </td>
        </tr>
        <tr>
-               <td colspan="2">
-                   <textarea name='vacation_reason_{$ID}' style='width:100%;height:60px;'>{$Reason}</textarea>
+               <td class='sieve_vacation_input' colspan=2>
+                   <textarea name='vacation_reason_{$ID}' class='sieve_vacation_input'>{$Reason}</textarea>
                </td>
        </tr>
        {else}
                </td>
        </tr>
        <tr>
-               <td colspan=2>
-                   <textarea name='vacation_reason_{$ID}' style='width:100%;height:60px;'>{$Reason}</textarea>
+               <td class='sieve_vacation_input' colspan=2>
+                   <textarea name='vacation_reason_{$ID}' class='sieve_vacation_input'>{$Reason}</textarea>
                </td>
        </tr>
        {/if}
 </table>
-
-{if $LastErrorCnt != 0}
-
-            </td>
-        </tr>
-    </table>
-{/if}
-
-