Code

Added new FAI partition class.
[gosa.git] / gosa-plugins / fai / admin / fai / faiPartition.tpl
2 <h2>{t}Partition{/t}</h2>
4 <table style='width: 100%;' width="100%"> 
5   <tr>
6     <td>{t}Type{/t}</td>
7     <td>
8       <select name="FAIpartitionType" onChange='document.mainform.submit();'>
9         {html_options options=$partitionTypes selected=$FAIpartitionType}
10       </select>
11     </td>
12     <td>{t}Description{/t}</td>
13     <td>
14       <input type="text" value="{$description}" name="description">
15     </td>
16   </tr>
17   <tr>
18     <td>{t}Size{/t}</td>
19     <td colspan=3>
20       <select name="FAIpartitionSizeType" onChange='document.mainform.submit();'>
21         {html_options options=$partitionSizeTypes selected=$FAIpartitionSizeType}
22       </select>
23       {if $FAIpartitionSizeType != "remaining"}
24         <input name='sizeStart' value='{$sizeStart}' size='5'>
25         <select name='sizeStart_Type'>
26           {html_options options=$sizeTypes selected=$sizeStart_Type}
27         </select>
28       {else}
29         <input name='dummy3' value='' size='5' disabled>
30         <select name='dummy4' disabled>
31           {html_options options=$sizeTypes}
32         </select>
33       {/if}
34       &nbsp;-&nbsp;
35       {if $FAIpartitionSizeType != "fixed" && $FAIpartitionSizeType != "remaining"}
36         <input name='sizeStop' value='{$sizeStop}' size='5'>
37         <select name='sizeStop_Type'>
38           {html_options options=$sizeTypes selected=$sizeStop_Type}
39         </select>
40       {else}
41         <input name='dummy1' value='' size='5' disabled>
42         <select name='dummy2' disabled>
43           {html_options options=$sizeTypes}
44         </select>
45       {/if}
46     </td>
47   </tr>
48   <tr>
49     <td colspan="4">
50       <p class="seperator">&nbsp;</p>
51     </td>
52   </tr>
53   <tr>
54     <td>
55       <input type='checkbox' value='1' name='resize' {if $resize} checked {/if}>
56       &nbsp;{t}Resize{/t}
57     </td>
58     <td>
59       <input type='checkbox' value='1' name='bootable' {if $bootable} checked {/if}>
60       &nbsp;{t}Bootable{/t}
61     </td>
62     <td>
63       <input type='checkbox' value='1' name='preserve' {if $preserve} checked {/if}>
64       &nbsp;{t}Preserve{/t}
65     </td>
66     <td>
67       <select name='preserveType'>
68         {html_options options=preserveType selected=$preserveType}
69       </select>
70     </td>
71   </tr>
72   <tr>
73     <td colspan="4">
74       <p class="seperator">&nbsp;</p>
75     </td>
76   </tr>
77   <tr>
78     <td>
79       {t}Filesystem{/t}
80     </td>
81     <td>
82       <select name='FAIfsType'>
83         {html_options options=$FAIfsTypes selected=$FAIfsType}
84       </select>
85       &nbsp; 
86       <input type='checkbox' name='encrypted' value='1' {if $encrypted} checked {/if}> 
87       &nbsp; {t}Encrypted{/t}
88     </td>
89     <td>
90       {t}Create options{/t}
91     </td>
92     <td>
93       <input name="FAIfsCreateOptions" value="{$FAIfsCreateOptions}">
94     </td>
95   </tr>
96   <tr>
97     <td colspan=2>
98     </td>
99     <td>
100       {t}Tune options{/t}
101     </td>
102     <td>
103       <input name="FAIfsTuneOptions" value="{$FAIfsTuneOptions}">
104     </td>
105   </tr>
106   <tr>
107     <td colspan="4">
108       <p class="seperator">&nbsp;</p>
109     </td>
110   </tr>
111   <tr>
112     <td>
113       {t}Mount point{/t}
114     </td>
115     <td>
116       <input name="FAImountPoint" value="{$FAImountPoint}">
117     </td>
118     <td>
119       {t}Mount options{/t}
120     </td>
121     <td>
122       <input name="FAImountOptions" value="{$FAImountOptions}">
123     </td>
124   </tr>
125   
126   <!-- Table cell sizing  --> 
127   <tr>
128     <td colspan=2 style='width:50%;'></td>
129     <td colspan=2 style='width:50%;'></td>
130   </tr>
131 </table>
133 <input type='hidden' name='faiPartition' value='1'>
134 <p class='seperator'>&nbsp;</p>
135 <div style='text-align:right; width:100%; padding:5px'>
136   <input type='submit' name='PartitionSave' value='{msgPool type=okButton}'>
137   &nbsp;
138   <input type='submit' name='PartitionCancel' value='{msgPool type=cancelButton}'>
139 </div>