Code

Completed lvm partition changes
[gosa.git] / gosa-plugins / fai / admin / fai / faiPartitionTableEntry.tpl
index f6c107550cee61b8f7a13f6f6e2a0d3a14c64ace..6194137fbe6119034f38c9fb770498ada2465993 100644 (file)
@@ -1,50 +1,52 @@
+
 <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="">
-       <tr>
-               <td style='width:50%;border-right:1px solid #909090;'><LABEL for="DISKcn">
-                       {t}Name{/t}
-                       </LABEL>{$must}&nbsp;
-{render acl=$DISKcnACL}
-                       <input value="{$DISKcn}" size="45" maxlength="80" name="DISKcn" id="DISKcn">
-{/render}
-               </td>
-               <td><LABEL for="DISKdescription">
-                       &nbsp;{t}Description{/t}
-                       </LABEL>&nbsp;
-{render acl=$DISKdescriptionACL}
-                       <input value="{$DISKdescription}" size="45" maxlength="80" name="DISKdescription" id="DISKdescription">
-{/render}
-               </td>
-       </tr>
+<h3>{t}Device{/t}
+</h3>
+<table style='width:100%' summary="{t}FAI partition table entry{/t}">
+ <tr>
+  <td style='width:50%;' class='right-border'><LABEL for="DISKcn">{t}Name{/t}</LABEL>
+   {$must}&nbsp;
+   {render acl=$DISKcnACL}
+    <input type='text' value="{$DISKcn}" size="45" maxlength="80" name="DISKcn" id="DISKcn">
+   {/render}
+  </td>
+  <td><LABEL for="DISKdescription">&nbsp;{t}Description{/t}</LABEL>&nbsp;
+   {render acl=$DISKdescriptionACL}
+    <input type='text' value="{$DISKdescription}" size="45" maxlength="80" name="DISKdescription" id="DISKdescription">
+   {/render}
+  </td>
+ </tr>
 </table>
 <br>
-<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}">
-       {else}
-               <input type="submit" name="restricted" value="{t}Add partition{/t}" disabled>
-       {/if}
+ {if $sub_object_is_createable}
+  <button type='submit' name='AddPartition'>{t}Add partition{/t}</button>
+  {else}
+  <button type='submit' name='restricted'>{t}Add partition{/t}</button>
+  
+ {/if}
 {/if}
-<br>   
 <br>
-<p class="seperator">&nbsp;</p>
 <br>
-<div style="align:right;" align="right">
-{if !$freeze}
-       <input type="submit" name="SaveDisk" value="{msgPool type=saveButton}">
-{/if}
-<input type="submit" name="CancelDisk" value="{msgPool type=cancelButton}" >
-</div>
-<!-- Place cursor -->
-<script language="JavaScript" type="text/javascript">
-  <!-- // First input field on page
-       focus_field('DISK_cn');
 -->
-</script>
-
+<hr>
+<br>
+<div class="plugin-actions">
+ {if !$freeze}
+  <button type='submit' name='SaveDisk'>
+  {msgPool type=saveButton}</button>
+  
+ {/if}
+ <button type='submit' name='CancelDisk'>
{msgPool type=cancelButton}</button>
+</div><!-- Place cursor -->
+<script language="JavaScript" type="text/javascript"><!-- // First input field on page focus_field('DISK_cn');  --></script>