Code

[COSMETIC] Most of the imgs are now centered vertically in most browsers.
[gosa.git] / plugins / personal / environment / logonManagement.tpl
index 209ef5c7eb4874e8427ff609fe8632aeb99c817a..b7cd0beee1556efa3385aed3eaca64371f1dc46b 100644 (file)
@@ -1,78 +1,84 @@
-<h2><img alt="" src="images/house.png" align="middle">&nbsp;{t}Logon management{/t}</h2>
+<h2><img class="center" alt="" src="images/fai_script.png" align="middle">&nbsp;{t}Logon script management{/t}</h2>
 
     <input type="hidden" name="dialogissubmitted" value="1">
 
-    <table summary="" width="100%">
+    <table summary="{t}Logon script management{/t}" width="100%">
        <tr>
-                       <td width="50%">
-                                       <table>
+                       <td width="50%" style="vertical-align:top;border-right:1px solid #B0B0B0">
+                                       <table summary="{t}Logon script settings{/t}">
                                                <tr>
-                                                       <td>{t}Name{/t}
+                                                       <td><LABEL for="LogonName">{t}Skript name{/t}</LABEL>
                                                        </td>
                                                        <td>
-                                                               <input type="text" value="{$LogonName}" name="LogonName" {$LogonNameACL}>
+                                                               <input type="text" size=20 value="{$LogonName}" name="LogonName" {$LogonNameACL} id="LogonName">
                                                        </td>
                                                </tr>
                                                <tr>
-                                                       <td>{t}Description{/t}
+                                                       <td><LABEL for="LogonDescription">{t}Description{/t}</LABEL>
                                                        </td>
                                                        <td>
-                                                               <input type="text" value="{$LogonDescription}" name="LogonDescription">
+                                                               <input type="text" size=40 value="{$LogonDescription}" name="LogonDescription" id="LogonDescription"> 
                                                        </td>
                                                </tr>
                                                <tr>
-                                                       <td>{t}Priority{/t}
-                                                       </td>
-                                                       <td>
-                                               <select name="LogonPriority">
+                                                       <td><LABEL for="LogonPriority">{t}Priority{/t}</LABEL>
+                                                       </td><td>
+                                               <select name="LogonPriority" id="LogonPriority">
                                                        {html_options values=$LogonPriorityKeys output=$LogonPrioritys}
                                                </select>
                                                        </td>
                                                </tr>
                                        </table>
                        </td>
-                       <td>
-                                       <table>
+                       <td style="vertical-align:top">
+                                       <table summary="{t}Logon script flags{/t}">
                                                <tr>
                                                        <td>
-                                                               <input type="checkbox" value="L" name="LogonLast" {$LogonLastCHK}>
-                                                       </td>
-                                                       <td>{t}Last proceeded script{/t}
+                                                               <input type="checkbox" value="L" name="LogonLast" {$LogonLastCHK} id="LogonLast">
+                                                       <LABEL for="LogonLast">{t}Last script{/t}</LABEL>
                                                        </td>
                                                </tr>
                                                <tr>
                                                        <td>
-                                                               <input type="checkbox" value="O" name="LogonOverload" {$LogonOverloadCHK}>
-                                                       </td>
-                                                       <td>{t}Overloadable{/t}
-                                                       </td>
-                                               </tr>
-                                               <tr>
-                                                       <td>
-                                                               {t}Import{/t}
-                                                       </td>
-                                                       <td>
-                                                               <input type="file" name="importFile" >
-                                                               <input type="submit" value="{t}Import{/t}" name="StartImport" >
+                                                               <input type="checkbox" value="O" name="LogonOverload" {$LogonOverloadCHK} id="LogonOverload">
+                                                               <LABEL for="LogonOverload">{t}Script can be replaced by user{/t}</LABEL>
                                                        </td>
                                                </tr>
                                        </table>
                        </td>
                </tr>
+       </table>
+       <p class="seperator">&nbsp;</p>
+       <table width=100%>
                <tr>
                        <td colspan="2">
-                                       <table width="80%">
+                       <h2><img class="center" alt="" src="images/fai_script.png" align="middle">&nbsp;{t}Script{/t}</h2>
+                                       <table width="100%" summary="{t}Logon script{/t}">
                                                <tr>
                                                        <td>
                                                                <textarea style="width:100%;height:400px;" name="LogonData">{$LogonData}</textarea>
                                                        </td>
                                                </tr>
+                                               <tr>
+                                                       <td>
+                                                               <input type="file" name="importFile" id="importFile">
+                                                               <input type="submit" value="{t}Import{/t}" name="StartImport" >
+                                                       </td>
+                                               </tr>
                                        </table>
                        </td>
                </tr>
        <table> 
 
+       <p class="seperator">&nbsp;</p>
     <p align="right">
-    <input type="submit" name="LogonSave"     value="{t}Use{/t}">
+    <input type="submit" name="LogonSave"     value="{t}Apply{/t}">
     <input type="submit" name="LogonCancel"   value="{t}Cancel{/t}">
     </p>
+
+<script language="JavaScript" type="text/javascript">
+  <!-- // First input field on page
+  document.mainform.LogonName.focus();
+  -->
+</script>
+