diff --git a/gosa-plugins/fai/admin/fai/faiPartitionTable.tpl b/gosa-plugins/fai/admin/fai/faiPartitionTable.tpl
index 00515b60ed17144d21d2905a7501a36c8cda1119..5231393467075521b2243ee49851062735f86e9b 100644 (file)
<table width="100%" summary="">
<tr>
<td width="50%" valign="top">
- <h2><img class="center" alt="" src="plugins/fai/images/fai_small.png" align="middle" title="{t}Generic{/t}"> {t}Generic{/t}</h2>
+ <h3>{t}Generic{/t}</h3>
<table summary="" cellspacing="4">
<tr>
<td>
</td>
<td>
{render acl=$cnACL}
- <input value="{$cn}" size="45" maxlength="80" id='cn' disabled >
+ <input type='text' value="{$cn}" size="45" maxlength="80" id='cn' disabled >
{/render}
</td>
</tr>
</td>
<td>
{render acl=$descriptionACL}
- <input value="{$description}" size="45" maxlength="80" name="description" id="description">
+ <input type='text' value="{$description}" size="45" maxlength="80" name="description" id="description">
{/render}
</td>
</tr>
</table>
+ <hr>
+ <p>
+ <input type="checkbox" name="mode" value="1" {$mode} {$lockmode} onClick="changeState('AddRaid'); changeState('AddVolgroup');"> {t}Use 'setup-storage' to partition the disk{/t} </p>
</td>
- <td style="border-left: 1px solid rgb(160, 160, 160);">
+ <td class='left-border'>
+
</td>
<td>
- <h2><img class="center" alt="" src="plugins/fai/images/fai_partitionTable.png" align="middle" title="{t}Objects{/t}">
+ <h3>
<LABEL for="SubObject">
{t}Discs{/t}
</LABEL>
- </h2>
- <table width="100%" summary="">
- <tr>
- <td>
- <select name="disks[]" title="{t}Choose a disk to delete or edit{/t}" style="width:100%" size="20" id="SubObject" multiple>
- {html_options options=$disks}
- <option> </option>
- </select><br>
+ </h3>
+ {$Entry_divlist}
{if $sub_object_is_addable}
- <input type="submit" name="AddDisk" value="{msgPool type=addButton}" title="{msgPool type=addButton}">
-{else}
- <input type="button" name="dummy_c" value="{msgPool type=addButton}" title="{msgPool type=addButton}" disabled >
-{/if}
+ <button type='submit' name='AddDisk' title="{t}Add disk{/t}">{t}Add disk{/t}</button>
- <input type="submit" name="EditDisk" value="{t}Edit{/t}" title="{t}Edit{/t}">
+ <button type='submit' name='AddRaid' id="AddRaid" title="{t}Add RAID{/t}">{t}Add RAID{/t}</button>
+
+ <button type='submit' name='AddVolgroup' id="AddVolgroup" title="{t}Add volume group{/t}">{t}Add volume group{/t}</button>
-{if $sub_object_is_removeable}
- <input type="submit" name="DelDisk" value="{msgPool type=delButton}" title="{msgPool type=delButton}">
{else}
- <input type="button" name="dummy_r" disabled value="{msgPool type=delButton}" title="{msgPool type=delButton}">
+ <button type='submit' name='AddDisk' title="{t}Add disk{/t}">{t}Add disk{/t}</button>
+
+ <button type='submit' name='AddRaid' title="{t}Add RAID{/t}">{t}Add RAID{/t}</button>
+
+ <button type='submit' name='AddVolgroup' title="{t}Add volume group{/t}">{t}Add volume group{/t}</button>
+
{/if}
- </td>
- </tr>
- </table>
+
</td>
</tr>
</table>
+<input type='hidden' name='FAIpartitionTablePosted' value='1'>
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page