Code

Updated sieve filter styles.
[gosa.git] / include / sieve / templates / edit_frame_base.tpl
index a5552beb4b02360ac654129d37bf34fa60e93486..83d62a0261120a3b1b9ad2532220e3850aca50df 100644 (file)
@@ -1,35 +1,35 @@
 
-<table style='width:100%;' cellspacing=0 cellpadding=0>
+<table class='editing_surface'>
        <tr>
-               <td style='background-color: #CCCCCC; padding:5px;'>
+               <td class='editing_surface_menu'>
                        
-                       <input type='submit' name='Save_Copy' value="{t}Save copy{/t}">
-                       <input type='submit' name='Import_Copy' value="{t}Import copy{/t}">
+                       <input type='submit' name='Save_Copy' value="{t}Export{/t}">
+                       <input type='submit' name='Import_Script' value="{t}Import{/t}">
 
                        {if $Mode != "Source-Only"}                     
-                               <input type='submit' name='View_Source' value="{t}View source{/t}">
+                               
+                               {if $Mode == "Source"}
                                <input type='submit' name='View_Structured' value="{t}View structured{/t}">
+                               {else}
+                               <input type='submit' name='View_Source' value="{t}View source{/t}">
+                               {/if}
                        {/if}
                </td>
        </tr>
        <tr>
-               <td style='background-color: #FFFFFF; border: solid 2px #CCCCCC; '>
+               <td class='editing_surface_content'>
 
                        {if $Script_Error != ""}
-                       <table style='width:100%;' cellspacing=0 cellpadding=0> 
-                               <tr>    
-                                       <td style='background-color: orange;padding:5px;'>
-                                               <b>{$Script_Error}</b>
-                                       </td>
-                               </tr>
-                       </table>
+                                               <div  class='sieve_error_msgs'>
+                                                       {$Script_Error}
+                                               </div>
                        {/if}
 
 
                        {if $Mode == "Structured"}
                                {$Contents}
                        {else}
-                               <textarea name='script_contents' style='width:100%;height:350px;'>{$Contents}</textarea>
+                               <textarea class='editing_source' name='script_contents'>{$Contents}</textarea>
                        {/if}
 
                </td>