Code

Updated terminal template
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Mar 2010 08:56:41 +0000 (08:56 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Mar 2010 08:56:41 +0000 (08:56 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17008 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/terminalStartup.tpl

index 81ba2808da63c80e29ec7d18d187372940bab45f..670748a746a903e55e736242bacc866e3e0d7326 100644 (file)
@@ -1,65 +1,55 @@
 <h3>{t}Boot parameters{/t}</h3>
 <table summary="" style="width:100%;">
  <tr>
-  <td style='width:50%; '>
+  <td style='width:50%;' class='right-border'>
 
-       <table>
-    <tr>
-     <td style='padding-top:3px;width:100%' colspan="2">
-<LABEL for="gotoLdapServer">{t}LDAP server{/t}</LABEL>
-{render acl=$gotoLdapServerACL}
-{if $member_of_ogroup}
-(<input type='checkbox' name='gotoLdap_inherit' {if $gotoLdap_inherit} checked {/if} value="1"
-      onClick="document.mainform.submit();" class='center'>
-&nbsp;{t}inherit from group{/t})
-{if !$JS}
-      {image path="images/lists/reload.png"}
-
-{/if}
-{/if}
-{/render}
-{render acl=$gotoLdapServerACL_inherit}
-        {$gotoLdapServers}
-{/render}
-{render acl=$gotoLdapServerACL_inherit}
-      <select name='ldap_server_to_add' id='ldap_server_to_add' size=1>
-        {html_options options=$gotoLdapServerList}
+   <LABEL for="gotoLdapServer">{t}LDAP server{/t}</LABEL>
+
+   {render acl=$gotoLdapServerACL}
+    {if $member_of_ogroup}
+      (<input type='checkbox' name='gotoLdap_inherit' {if $gotoLdap_inherit} checked {/if} value="1"
+        onClick="document.mainform.submit();" class='center'>&nbsp;{t}inherit from group{/t})
+    {/if}
+   {/render}
+
+   {render acl=$gotoLdapServerACL_inherit}
+    {$gotoLdapServers}
+   {/render}
+
+   {render acl=$gotoLdapServerACL_inherit}
+    <select name='ldap_server_to_add' id='ldap_server_to_add' size=1>
+     {html_options options=$gotoLdapServerList}
     </select>
-{/render}
-{render acl=$gotoLdapServerACL_inherit}
-      <button type='submit' name='add_ldap_server' id="add_ldap_server">{msgPool type=addButton}</button>
+   {/render}
 
-{/render}
-     </td>
-    </tr>
-       </table>        
-  </td>
-  <td class='left-border'>
+   {render acl=$gotoLdapServerACL_inherit}
+    <button type='submit' name='add_ldap_server' id="add_ldap_server">{msgPool type=addButton}</button>
+   {/render}
 
-     &nbsp;
   </td>
   <td>
 
-
    <table summary="" style="width:100%">
     <tr>
      <td style="width:30%"><LABEL for="gotoBootKernel">{t}Boot kernel{/t}</LABEL></td>
      <td>
-{render acl=$gotoBootKernelACL}
-       <select id="gotoBootKernel" name="gotoBootKernel" size=1>
-       {html_options options=$gotoBootKernels  selected=$gotoBootKernel}
-       <option disabled>&nbsp;</option>
-       </select>
-{/render}
+      {render acl=$gotoBootKernelACL}
+        <select id="gotoBootKernel" name="gotoBootKernel" size=1>
+         {html_options options=$gotoBootKernels  selected=$gotoBootKernel}
+         <option disabled>&nbsp;</option>
+        </select>
+      {/render}
      </td>
     </tr>
     <tr>
      <td><LABEL for="gotoKernelParameters">{t}Custom options{/t}</LABEL></td>
      <td>
-{render acl=$gotoKernelParametersACL}
-      <input name="gotoKernelParameters" id="gotoKernelParameters"  size=25 maxlength=500
-                value="{$gotoKernelParameters}" title="{t}Enter any parameters that should be passed to the kernel as append line during bootup{/t}"></td>
-{/render}
+      {render acl=$gotoKernelParametersACL}
+       <input name="gotoKernelParameters" id="gotoKernelParameters"  size=25 maxlength=500
+            value="{$gotoKernelParameters}" type='text' 
+            title="{t}Enter any parameters that should be passed to the kernel as append line during bootup{/t}">
+      {/render}
+     </td>
     </tr>
    </table>
 
  </tr>
 </table>
 
-<table summary="" style="width:100%;">
- <tr><td colspan=2>
-  <hr>
-  </td></tr>
+<hr>
 
+<table summary="" style="width:100%;">
  <tr>
-  <td style='width:50%; '>
+  <td style='width:50%; ' class='right-border'>
 
-   <h3>
-    {image path="plugins/goto/images/hardware.png"} {t}Kernel modules (format: name parameters){/t}
 
-   </h3>
-{render acl=$gotoModulesACL}
-    <select style="width:100%;" name="modules_list[]" size=15 multiple title="{t}Add additional modules to load on startup{/t}">
+   <!--
+    - Kernel modules
+    -->
+   <h3>{t}Kernel modules (format: name parameters){/t}</h3>
+   {render acl=$gotoModulesACL}
+    <select style="width:100%; height:100px;" name="modules_list[]" size=15 multiple 
+      title="{t}Add additional modules to load on startup{/t}">
      {html_options values=$gotoModules output=$gotoModules}
-        <option disabled>&nbsp;</option>
+     <option disabled>&nbsp;</option>
     </select>
-{/render}
-    <br>
-{render acl=$gotoModulesACL}
+   {/render}
+
+   <br>
+   {render acl=$gotoModulesACL}
     <input type='text' name="module" size=30 align=middle maxlength=30>
-{/render}
-{render acl=$gotoModulesACL}
-    <button type='submit' name='add_module'>{msgPool type=addButton}</button>&nbsp;
+   {/render}
+
+   {render acl=$gotoModulesACL}
+    <button type='submit' name='add_module'>
+   {msgPool type=addButton}</button>
+    &nbsp;
+   {/render}
+
+   {render acl=$gotoModulesACL}
+    <button type='submit' name='delete_module'>
+    {msgPool type=delButton}</button>
+   {/render}
+  </td>
+  
+  
+  <td>
+  
+   <!--
+    - Shares
+    -->
+   <h3><label for="gotoShare">{t}Shares{/t}</label></h3>
+    
+   {render acl=$gotoShareACL}
+    <select style="width:100%;height:100px;" name="gotoShare" multiple size=4 id="gotoShare">
+     {html_options values=$gotoShareKeys output=$gotoShares}
+     <option disabled>&nbsp;</option>
+    </select>
+   {/render}
+
+   <br>
+   
+   {render acl=$gotoShareACL}
+    <select name="gotoShareSelection" size=1>
+     {html_options values=$gotoShareSelectionKeys output=$gotoShareSelections}
+     <option disabled>&nbsp;</option>
+    </select>
+   {/render}
 
-{/render}
-{render acl=$gotoModulesACL}
-    <button type='submit' name='delete_module'>{msgPool type=delButton}</button>
+   {render acl=$gotoShareACL}
+    <input type="text" size=15 name="gotoShareMountPoint" value="{t}Mountpoint{/t}">
+   {/render}
 
-{/render}
-  </td>
+   {render acl=$gotoShareACL} 
+    <button type='submit' name='gotoShareAdd'>
+    {msgPool type=addButton}</button>
+   {/render}
+
+   {render acl=$gotoShareACL}
+    <button type='submit' name='gotoShareDel' {if $gotoSharesCount == 0} disabled {/if}>{t}Remove{/t}</button>
+   {/render}
 
-  <td style='padding-left:10px;' class='left-border'>
-
-        <h3><LABEL for="gotoShare">{t}Shares{/t}</LABEL></h3>
-        <table summary="" style="width:100%">
-                <tr>
-                        <td>
-{render acl=$gotoShareACL}
-                        <select style="width:100%;" name="gotoShare" multiple size=15 id="gotoShare">
-                               {html_options values=$gotoShareKeys output=$gotoShares}
-                               <option disabled>&nbsp;</option>
-                        </select>
-{/render}
-                                <br>
-{render acl=$gotoShareACL}
-                               <select name="gotoShareSelection" size=1>
-                                       {html_options values=$gotoShareSelectionKeys output=$gotoShareSelections}
-                                       <option disabled>&nbsp;</option>
-                                </select>
-{/render}
-{render acl=$gotoShareACL}
-                                <input type="text" size=15 name="gotoShareMountPoint" value="{t}Mountpoint{/t}">
-{/render}
-{render acl=$gotoShareACL}
-                                <button type='submit' name='gotoShareAdd'>{msgPool type=addButton}</button>
-
-{/render}
-{render acl=$gotoShareACL}
-                                <button type='submit' name='gotoShareDel'>{t}Remove{/t}</button>
-
-{/render}
-                        </td>
-                </tr>
-        </table>
   </td>
  </tr>
 </table>