Code

updated templates
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Mar 2010 15:18:21 +0000 (15:18 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 Mar 2010 15:18:21 +0000 (15:18 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16934 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/dhcp/admin/systems/services/dhcp/dhcp_network.tpl

index cd719b7074e4994af63fd06b473d1e32990204ca..fc2d4ceb3535e003ab2cedb47345e95fad6b5836 100644 (file)
@@ -1,56 +1,58 @@
 {* GOsa dhcp sharedNetwork - smarty template *}
-<table width="100%">
+
+<table width="100%" summary="{t}Network configuration{/t}">
  <tr>
-  <td>
+  <td style='width:50%' class='right-border'>
+   <h3>{t}Network configuration{/t}</h3>
 
-   <p><b>{t}Network configuration{/t}</b></p>
-   <table>
+   <table summary="{t}Network configuration{/t}">
     <tr>
      <td>{t}Router{/t}</td>
      <td>
-{render acl=$acl}
-      <input id='routers' type='text' name='routers' size='25' maxlength='80' value='{$routers}'
-              title='{t}Enter name or IP address of router to be used in this section{/t}'>
-{/render}
+      {render acl=$acl}
+       <input id='routers' type='text' name='routers'   value='{$routers}'
+               title='{t}Enter name or IP address of router to be used in this section{/t}'>
+      {/render}
      </td>
     </tr>
     <tr>
      <td>{t}Netmask{/t}</td>
      <td>
-{render acl=$acl}
-      <input type='text' name='subnet_mask' size='18' maxlength='15' value='{$subnet_mask}'>
-{/render}
+      {render acl=$acl}
+       <input type='text' name='subnet_mask'   value='{$subnet_mask}'>
+      {/render}
      </td>
     </tr>
     <tr>
      <td>{t}Broadcast{/t}</td>
      <td>
-{render acl=$acl}
-      <input type='text' name='broadcast_address' size='18' maxlength='15' value='{$broadcast_address}'>
-{/render}
+      {render acl=$acl}
+       <input type='text' name='broadcast_address'   value='{$broadcast_address}'>
+      {/render}
      </td>
     </tr>
    </table>
-   <br>
-   <br>
-   <p><b>{t}Bootup{/t}</b></p>
-   <table>
+
+   <hr>
+
+   <h3>{t}Bootup{/t}</h3>
+   <table summary="{t}Network configuration{/t}">
     <tr>
      <td>{t}Filename{/t}</td>
      <td>
-{render acl=$acl}
-      <input type='text' name='filename' size='25' maxlength='80' value='{$filename}'
+      {render acl=$acl}
+       <input type='text' name='filename'   value='{$filename}'
               title='{t}Enter name of file that will be loaded via tftp after client has started{/t}'>
-{/render}
+      {/render}
      </td>
     </tr>
     <tr>
      <td>{t}Next server{/t}</td>
      <td>
-{render acl=$acl}
-      <input type='text' name='nextserver' size='25' maxlength='80' value='{$nextserver}'
+      {render acl=$acl}
+       <input type='text' name='nextserver'   value='{$nextserver}'
               title='{t}Enter name of server to retrieve bootimages from{/t}'>
-{/render}
+      {/render}
      </td>
     </tr>
    </table>
   </td>
   <td>
 
-   <p><b>{t}Domain Name Service{/t}</b></p>
-   <table>
+   <h3>{t}Domain Name Service{/t}</h3>
+   <table summary="{t}Network configuration{/t}">
     <tr>
      <td>{t}Domain{/t}</td>
      <td>
-{render acl=$acl}
-      <input type='text' name='domain' size='25' maxlength='80' value='{$domain}'
+      {render acl=$acl}
+       <input type='text' name='domain'   value='{$domain}'
               title='{t}Name of domain{/t}'>
-{/render}
+       {/render}
      </td>
     </tr>
     <tr>
      <td colspan=2>
       <br>
       {t}DNS server{/t}<br>
-{render acl=$acl}
-      <select name='dnsserver'  title='{t}List of DNS servers to be propagated{/t}' style="width:350px;" size="4">
-       {html_options options=$dnsservers}
-      </select>
-{/render}
+      {render acl=$acl}
+       <select name='dnsserver'  title='{t}List of DNS servers to be propagated{/t}' style="width:350px;" size="4">
+        {html_options options=$dnsservers}
+       </select>
+      {/render}
       <br>
-{render acl=$acl}
-      <input type='text' name='addserver' size='25' maxlength='80' title='{t}DNS server do be added{/t}'>&nbsp;
-{/render}
-{render acl=$acl}
-      <button type='submit' name='add_dns' title="{t}Click here add the selected server to the list{/t}">{msgPool type=addButton}</button>
+      {render acl=$acl}
+       <input type='text' name='addserver'   title='{t}DNS server do be added{/t}'>&nbsp;
+      {/render}
+      {render acl=$acl}
+       <button type='submit' name='add_dns' title="{t}Click here add the selected server to the list{/t}">{msgPool type=addButton}</button>
+      {/render}
+      {render acl=$acl}
+       <button type='submit' name='delete_dns' title="{t}Click here remove the selected servers from the list{/t}">{msgPool type=delButton}</button>
+      {/render}
 
-{/render}
-{render acl=$acl}
-      <button type='submit' name='delete_dns' title="{t}Click here remove the selected servers from the list{/t}">{msgPool type=delButton}</button>
+      <hr>      
 
-{/render}
-     </td>
-    </tr>
-    <tr>
-     <td colspan=2>
-      <p><b>{t}Domain Name Service options{/t}</b></p>
-{render acl=$acl}
-      <input type=checkbox name="autohost" value="1" {$autohost}>{t}Assign hostnames found via reverse mapping{/t}
-{/render}
-      <br>
-{render acl=$acl}
-      <input type=checkbox name="autohostdecl" value="1" {$autohostdecl}>{t}Assign hostnames from host declarations{/t}
-{/render}
+      <h3>{t}Domain Name Service options{/t}</h3>
+       {render acl=$acl}
+        <input type=checkbox name="autohost" value="1" {$autohost}>{t}Assign hostnames found via reverse mapping{/t}
+       {/render}
+       <br>
+       {render acl=$acl}
+        <input type=checkbox name="autohostdecl" value="1" {$autohostdecl}>{t}Assign hostnames from host declarations{/t}
+       {/render}
      </td>
     </tr>
    </table>
   </td>
  </tr>
 </table>
+
 <!-- Place cursor in correct field -->
 <script language="JavaScript" type="text/javascript">
   <!-- // First input field on page