1 <table width="100%" summary="">
2 <tr>
3 <td width="50%" valign="top">
4 <h2><img class="center" alt="" src="plugins/fai/images/fai_small.png" align="middle" title="{t}Generic{/t}"> {t}Generic{/t}</h2>
5 <table summary="" cellspacing="4">
6 <tr>
7 <td>
8 <LABEL for="cn">
9 {t}Name{/t}{$must}
10 </LABEL>
11 </td>
12 <td>
13 {render acl=$cnACL}
14 <input value="{$cn}" size="45" maxlength="80" id='cn' disabled >
15 {/render}
16 </td>
17 </tr>
18 <tr>
19 <td>
20 <LABEL for="description">
21 {t}Description{/t}
22 </LABEL>
23 </td>
24 <td>
25 {render acl=$descriptionACL}
26 <input value="{$description}" size="45" maxlength="80" name="description" id="description">
27 {/render}
28 </td>
29 </tr>
30 </table>
31 </td>
32 <td style="border-left: 1px solid rgb(160, 160, 160);">
33
34 </td>
35 <td>
36 <h2><img class="center" alt="" src="plugins/fai/images/fai_partitionTable.png" align="middle" title="{t}Objects{/t}">
37 <LABEL for="SubObject">
38 {t}Discs{/t}
39 </LABEL>
40 </h2>
41 <table width="100%" summary="">
42 <tr>
43 <td>
44 <select name="disks[]" title="{t}Choose a disk to delete or edit{/t}" style="width:100%" size="20" id="SubObject" multiple>
45 {html_options options=$disks}
46 <option> </option>
47 </select><br>
48 {if $sub_object_is_addable}
49 <input type="submit" name="AddDisk" value="{msgPool type=addButton}" title="{msgPool type=addButton}">
50 {else}
51 <input type="button" name="dummy_c" value="{msgPool type=addButton}" title="{msgPool type=addButton}" disabled >
52 {/if}
54 <input type="submit" name="EditDisk" value="{t}Edit{/t}" title="{t}Edit{/t}">
56 {if $sub_object_is_removeable}
57 <input type="submit" name="DelDisk" value="{msgPool type=delButton}" title="{msgPool type=delButton}">
58 {else}
59 <input type="button" name="dummy_r" disabled value="{msgPool type=delButton}" title="{msgPool type=delButton}">
60 {/if}
61 </td>
62 </tr>
63 </table>
64 </td>
65 </tr>
66 </table>
67 <!-- Place cursor -->
68 <script language="JavaScript" type="text/javascript">
69 <!-- // First input field on page
70 focus_field('cn','description');
71 -->
72 </script>