77404af1b162996843aacd9a886a231125d4c873
1 <input type="hidden" name="TableEntryFrameSubmitted" value="1">
2 <h2><img class="center" alt="" src="plugins/fai/images/fai_partitionTable.png" align="middle" title="{t}Generic{/t}"> {t}Device{/t}</h2>
3 <table style='width:100%' summary="">
4 <tr>
5 <td style='width:50%;border-right:1px solid #909090;'>
7 <table>
8 <tr>
9 <td>
10 <LABEL for="DISKcn">{t}Name{/t}</LABEL>{$must}
11 </td>
12 <td>
13 {render acl=$DISKcnACL}
14 <input value="{$DISKcn}" size="45" maxlength="80" name="DISKcn" id="DISKcn">
15 {/render}
16 </td>
17 </tr>
18 <tr>
19 <td>
20 <LABEL for="fstabkey">{t}FSTAB key{/t}</LABEL>
21 </td>
22 <td>
23 {render acl=$DISKFAIdiskOptionACL}
24 <select name="fstabkey" size="1">
25 {html_options options=$fstabkeys selected=$fstabkey}
26 </select>
27 {/render}
28 </td>
29 </tr>
30 </table>
32 </td>
33 <td>
35 <table>
36 <tr>
37 <td>
38 <LABEL for="DISKdescription"> {t}Description{/t}</LABEL>
39 </td>
40 <td>
41 {render acl=$DISKdescriptionACL}
42 <input value="{$DISKdescription}" size="45" maxlength="80"
43 name="DISKdescription" id="DISKdescription">
44 {/render}
45 </td>
46 </tr>
47 <tr>
48 <td>
49 <LABEL for="disklabel">{t}Disk label{/t}</LABEL>
50 </td>
51 <td>
52 {render acl=$DISKFAIdiskOptionACL}
53 <select name="disklabel" size="1">
54 {html_options options=$disklabels selected=$disklabel}
55 </select>
56 {/render}
57 </td>
58 </tr>
59 </table>
61 </td>
62 </tr>
63 </table>
65 {if $FAIdiskType == "lvm"}
67 <p class="seperator"> </p>
68 <table width="100%">
69 <tr>
70 <td>
71 <h2>{t}Combined physical partitions{/t}</h2>
73 <select name='physicalPartition' size=5 style="width:100%;">
74 {html_options options=$plist}
75 </select>
76 <br>
77 <select name='lvmPartitionAdd'>
78 {html_options options=$physicalPartitionList}
79 </select>
80 <input type="submit" name='addLvmPartition' value="{msgPool type="addButton"}">
81 <input type="submit" name='delLvmPartition' value="{msgPool type="delButton"}">
82 </td>
83 </tr>
84 </table>
86 {/if}
87 <p class="seperator"> </p>
88 <br>
89 <h2><img class="center" alt="" src="images/lists/paste.png" align="middle" title="{t}Partition entries{/t}"> {t}Partition entries{/t}</h2>
90 {$setup}
91 <br>
92 {if !$freeze}
93 {if $sub_object_is_createable}
94 <input type="submit" name="AddPartition" value="{t}Add partition{/t}">
95 {else}
96 <input type="submit" name="restricted" value="{t}Add partition{/t}" disabled>
97 {/if}
98 {/if}
99 <br>
100 <br>
101 <p class="seperator"> </p>
102 <br>
103 <div style="align:right;" align="right">
104 {if !$freeze}
105 <input type="submit" name="SaveDisk" value="{msgPool type=saveButton}">
106 {/if}
107 <input type="submit" name="CancelDisk" value="{msgPool type=cancelButton}" >
108 </div>
109 <!-- Place cursor -->
110 <script language="JavaScript" type="text/javascript">
111 <!-- // First input field on page
112 focus_field('DISK_cn');
113 -->
114 </script>