Code

Updated FAI templates
[gosa.git] / gosa-plugins / fai / admin / fai / faiPartitionTableEntry.tpl
1 <input type="hidden" name="TableEntryFrameSubmitted" value="1">
2 <h3>{t}Device{/t}</h3>
3 <table style='width:100%' summary="">
4         <tr>
5                 <td style='width:50%;' class='right-border'>
6 <LABEL for="DISKcn">
7                         {t}Name{/t}
8                         </LABEL>{$must}&nbsp;
9 {render acl=$DISKcnACL}
10                         <input type='text' value="{$DISKcn}" size="45" maxlength="80" name="DISKcn" id="DISKcn">
11 {/render}
12                 </td>
13                 <td><LABEL for="DISKdescription">
14                         &nbsp;{t}Description{/t}
15                         </LABEL>&nbsp;
16 {render acl=$DISKdescriptionACL}
17                         <input type='text' value="{$DISKdescription}" size="45" maxlength="80" name="DISKdescription" id="DISKdescription">
18 {/render}
19                 </td>
20         </tr>
21 </table>
22 <br>
23 <hr>
24 <br>
25 <h3>{t}Partition entries{/t}</h3>
26 {$setup}
27 <br>
28 {if !$freeze}
29         {if $sub_object_is_createable}
30                 <button type='submit' name='AddPartition'>{t}Add partition{/t}</button>
32         {else}
33                 <button type='submit' name='restricted'>{t}Add partition{/t}</button>
35         {/if}
36 {/if}
37 <br>    
38 <br>
39 <hr>
40 <br>
41 <div style="align:right;" align="right">
42 {if !$freeze}
43         <button type='submit' name='SaveDisk'>{msgPool type=saveButton}</button>
45 {/if}
46 <button type='submit' name='CancelDisk'>{msgPool type=cancelButton}</button>
48 </div>
49 <!-- Place cursor -->
50 <script language="JavaScript" type="text/javascript">
51   <!-- // First input field on page
52         focus_field('DISK_cn');
53   -->
54 </script>