Code

Added label in class name selector for more comfort.
[gosa.git] / gosa-plugins / fai / admin / fai / faiPartitionTableEntry.tpl
index 4b920ed0ac508ba18284795cb0ff64c5e2664239..2b17ae6d1fc6e2f81a97501bb3163284203d279f 100644 (file)
@@ -1,43 +1,50 @@
 <input type="hidden" name="TableEntryFrameSubmitted" value="1">
-<h2><img class="center" alt="" src="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 partition table entry{/t}">
        <tr>
-               <td style='width:50%;border-right:1px solid #909090;'><LABEL for="DISKcn">
+               <td style='width:50%;' class='right-border'>
+<LABEL for="DISKcn">
                        {t}Name{/t}
                        </LABEL>{$must}&nbsp;
 {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>
                <td><LABEL for="DISKdescription">
                        &nbsp;{t}Description{/t}
                        </LABEL>&nbsp;
 {render acl=$DISKdescriptionACL}
-                       <input value="{$DISKdescription}" size="45" maxlength="80" name="DISKdescription" id="DISKdescription">
+                       <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 $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 !$freeze}
+       {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>
+<hr>
 <br>
-<div style="align:right;" align="right">
-{render acl=$allowSave}
-<input type="submit" name="SaveDisk" value="{msgPool type=saveButton}">
-{/render}
-<input type="submit" name="CancelDisk" value="{msgPool type=cancelButton}" >
+<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">