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