Code

5231393467075521b2243ee49851062735f86e9b
[gosa.git] / gosa-plugins / fai / admin / fai / faiPartitionTable.tpl
1 <table width="100%" summary="">
2         <tr>
3                 <td width="50%" valign="top">
4                                 <h3>{t}Generic{/t}</h3>
5                                 <table summary="" cellspacing="4">
6                                         <tr>
7                                                 <td>
8                                                         <LABEL for="cn">
9                                                         {t}Name{/t}{$must}
10                                                         </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>
20                                                         <LABEL for="description">
21                                                         {t}Description{/t}
22                                                         </LABEL>
23                                                 </td>
24                                                 <td>
25 {render acl=$descriptionACL}
26                                                         <input type='text' value="{$description}" size="45" maxlength="80" name="description" id="description">
27 {/render}
28                                                 </td>
29                                         </tr>
30                                 </table>
31                                 <hr>
32                                 <p>
33                                 <input type="checkbox" name="mode" value="1" {$mode} {$lockmode} onClick="changeState('AddRaid'); changeState('AddVolgroup');"> {t}Use 'setup-storage' to partition the disk{/t}                                      </p>
34                 </td>
35                 <td class='left-border'>
37                    &nbsp;
38                 </td>
39                 <td>
40                                 <h3>
41                                         <LABEL for="SubObject">
42                                                 {t}Discs{/t}
43                                         </LABEL>
44                                 </h3>
45                                 {$Entry_divlist}
46 {if $sub_object_is_addable}
47                                 <button type='submit' name='AddDisk' title="{t}Add disk{/t}">{t}Add disk{/t}</button>
49                                 <button type='submit' name='AddRaid' id="AddRaid" title="{t}Add RAID{/t}">{t}Add RAID{/t}</button>
51                                 <button type='submit' name='AddVolgroup' id="AddVolgroup" title="{t}Add volume group{/t}">{t}Add volume group{/t}</button>
53 {else}
54                                 <button type='submit' name='AddDisk' title="{t}Add disk{/t}">{t}Add disk{/t}</button>
56                                 <button type='submit' name='AddRaid' title="{t}Add RAID{/t}">{t}Add RAID{/t}</button>
58                                 <button type='submit' name='AddVolgroup' title="{t}Add volume group{/t}">{t}Add volume group{/t}</button>
60 {/if}
62                 </td>
63         </tr>
64 </table>
65 <input type='hidden' name='FAIpartitionTablePosted' value='1'>
66 <!-- Place cursor -->
67 <script language="JavaScript" type="text/javascript">
68   <!-- // First input field on page
69         focus_field('cn','description');
70   -->
71 </script>