1 <table width="100%" summary="{t}FAI partition table{/t}">
2 <tr>
3 <td width="50%" valign="top">
5 <h3>{t}Generic{/t}</h3>
6 <table summary="{t}Generic settings{/t}" cellspacing="4">
7 <tr>
8 <td>
9 <LABEL for="cn">
10 {t}Name{/t}{$must}
11 </LABEL>
12 </td>
13 <td>
14 {render acl=$cnACL}
15 <input type='text' value="{$cn}" size="45" maxlength="80" id='cn' disabled >
16 {/render}
17 </td>
18 </tr>
19 <tr>
20 <td>
21 <LABEL for="description">
22 {t}Description{/t}
23 </LABEL>
24 </td>
25 <td>
26 {render acl=$descriptionACL}
27 <input type='text' value="{$description}" size="45" maxlength="80" name="description" id="description">
28 {/render}
29 </td>
30 </tr>
31 </table>
32 <hr>
33 <p>
34 <input type="checkbox" name="mode" value="1" {$mode} {$lockmode} onClick="changeState('AddRaid'); changeState('AddVolgroup');"> {t}Use 'setup-storage' to partition the disk{/t} </p>
35 </td>
36 <td class='left-border'>
38
39 </td>
40 <td>
41 <h3>
42 <LABEL for="SubObject">
43 {t}Discs{/t}
44 </LABEL>
45 </h3>
46 {$Entry_divlist}
47 {if $sub_object_is_addable}
48 <button type='submit' name='AddDisk' title="{t}Add disk{/t}">{t}Add disk{/t}</button>
50 <button type='submit' name='AddRaid' id="AddRaid" title="{t}Add RAID{/t}">{t}Add RAID{/t}</button>
52 <button type='submit' name='AddVolgroup' id="AddVolgroup" title="{t}Add volume group{/t}">{t}Add volume group{/t}</button>
54 {else}
55 <button type='submit' name='AddDisk' title="{t}Add disk{/t}">{t}Add disk{/t}</button>
57 <button type='submit' name='AddRaid' title="{t}Add RAID{/t}">{t}Add RAID{/t}</button>
59 <button type='submit' name='AddVolgroup' title="{t}Add volume group{/t}">{t}Add volume group{/t}</button>
61 {/if}
63 </td>
64 </tr>
65 </table>
66 <input type='hidden' name='FAIpartitionTablePosted' value='1'>
67 <!-- Place cursor -->
68 <script language="JavaScript" type="text/javascript">
69 <!-- // First input field on page
70 focus_field('cn','description');
71 -->
72 </script>