Code

Updated table summary
[gosa.git] / gosa-plugins / fai / admin / fai / faiDiskEntry.tpl
index 1481fd8e04476490cadf4d2f8e424a0523ab480c..093df3bb2281b944a04f8fca0d55a8a293090317 100644 (file)
@@ -1,17 +1,18 @@
 <input type="hidden" name="TableEntryFrameSubmitted" value="1">
-<h2><img class="center" alt="" src="plugins/fai/images/fai_partitionTable.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Device{/t}</h2>
-<table style='width:100%' summary="">
+<h3>{t}Device{/t}</h3>
+<table style='width:100%' summary="{t}FAI disk entry{/t}">
        <tr>
-               <td style='width:50%;border-right:1px solid #909090;'>
+               <td style='width:50%;' class='right-border'>
 
-      <table>
+
+      <table summary="{t}Disk options{/t}">
         <tr>
           <td>
             <LABEL for="DISKcn">{t}Name{/t}</LABEL>{$must}&nbsp;
           </td>
           <td>
 {render acl=$DISKcnACL}
-                             <input value="{$DISKcn}" size="45" maxlength="80" name="DISKcn" id="DISKcn">
+                             <input type='text' value="{$DISKcn}" size="45" maxlength="80" name="DISKcn" id="DISKcn">
 {/render}
                </td>
         </tr>
     </td>
                <td>
 
-      <table>
+      <table summary="{t}Generic settings{/t}">
         <tr>
           <td>
-            <LABEL for="DISKdescription">&nbsp;{t}Description{/t}</LABEL>&nbsp;
+            <LABEL for="DISKdescription">{t}Description{/t}</LABEL>&nbsp;
           </td>
           <td>
 {render acl=$DISKdescriptionACL}
 
 {if $FAIdiskType == "lvm"}
 
-<p class="seperator">&nbsp;</p>
-<table width="100%">
-  <tr>
-    <td>
-      <h2>{t}Combined physical partitions{/t}</h2>
+<hr>
+      <h3>{t}Combined physical partitions{/t}</h3>
 
       <select style='font-family: monospace; width: 100%;' 
         name='physicalPartition[]' size=5 multiple> 
         {html_options options=$plist}
       </select>
       <br>
-      <select name='lvmPartitionAdd'>
+      <select name='lvmPartitionAdd' style='width:240px;' size=1>
         {html_options options=$physicalPartitionList}
       </select>
-      <input type="submit" name='addLvmPartition' value="{msgPool type="addButton"}">&nbsp;
-      <input type="submit" name='delLvmPartition' value="{msgPool type="delButton"}">&nbsp;
-    </td>
-  </tr>
-</table>
+      <button type='submit' name='addLvmPartition'>{msgPool type="addButton"}</button>&nbsp;
+      <button type='submit' name='delLvmPartition'>{msgPool type="delButton"}</button>&nbsp;
 
 {/if}
-<p class="seperator">&nbsp;</p>
+<hr>
 <br>
-<h2><img class="center" alt="" src="images/lists/paste.png" align="middle" title="{t}Partition entries{/t}">&nbsp;{t}Partition entries{/t}</h2>
+<h3>{t}Partition entries{/t}</h3>
 {$setup}
 <br>
 {if !$freeze}
        {if $sub_object_is_createable}
-               <input type="submit" name="AddPartition" value="{t}Add partition{/t}">
+               <button type='submit' name='AddPartition'>{t}Add partition{/t}</button>
+
        {else}
-               <input type="submit" name="restricted" value="{t}Add partition{/t}" disabled>
+               <button type='submit' name='restricted'>{t}Add partition{/t}</button>
+
        {/if}
 {/if}
 <br>   
 <br>
-<p class="seperator">&nbsp;</p>
+<hr>
 <br>
 <div style="align:right;" align="right">
 {if !$freeze}
-       <input type="submit" name="SaveDisk" value="{msgPool type=saveButton}">
+       <button type='submit' name='SaveDisk'>{msgPool type=saveButton}</button>
+
 {/if}
-<input type="submit" name="CancelDisk" value="{msgPool type=cancelButton}" >
+<button type='submit' name='CancelDisk'>{msgPool type=cancelButton}</button>
+
 </div>
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">