2
<table width="100%" summary="{t}FAI partition table{/t}">
4
<td width="50%" valign="top">
7
<table summary="{t}Generic settings{/t}" cellspacing="4">
9
<td><LABEL for="cn">{t}Name{/t}
14
<input type='text' value="{$cn}" size="45" maxlength="80" id='cn' disabled >
19
<td><LABEL for="description">{t}Description{/t}</LABEL>
22
{render acl=$descriptionACL}
23
<input type='text' value="{$description}" size="45" maxlength="80" name="description" id="description">
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>
35
<td class='left-border'>
38
<h3><LABEL for="SubObject">{t}Discs{/t}</LABEL>
42
{if $sub_object_is_addable}
43
<button type='submit' name='AddDisk' title="{t}Add disk{/t}">{t}Add disk{/t}</button>
44
<button {$storage_mode} {$addraid} type='submit' name='AddRaid' id="AddRaid" title="{t}Add RAID{/t}">{t}Add RAID{/t}</button>
45
<button {$storage_mode} type='submit' name='AddVolgroup' id="AddVolgroup" title="{t}Add volume group{/t}">{t}Add volume group{/t}</button>
47
<button type='button' disabled name='AddDisk' title="{t}Add disk{/t}">{t}Add disk{/t}</button>
48
<button type='button' disabled name='AddRaid' title="{t}Add RAID{/t}">{t}Add RAID{/t}</button>
49
<button type='button' disabled name='AddVolgroup' title="{t}Add volume group{/t}">{t}Add volume group{/t}</button>
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>