Code

updated templates
[gosa.git] / gosa-plugins / systems / admin / systems / server.tpl
1 <table summary="" width="100%">
2  <tr>
3   <td style='width:50%;'>
5         <table summary="">
6          <tr>
7           <td><LABEL for="cn">{t}Server name{/t}</LABEL>{$must}</td>
8           <td>
9 {render acl=$cnACL}
10            <input type='text' name="cn" id="cn" size=20 maxlength=60 value="{$cn}">
11 {/render}
12           </td>
13          </tr>
14          <tr>
15           <td><LABEL for="description">{t}Description{/t}</LABEL></td>
16           <td>
17 {render acl=$descriptionACL}
18            <input type='text' name="description" id="description" size=25 maxlength=80 value="{$description}">
19 {/render}
20           </td>
21          </tr>
22          <tr>
23           <td><br><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
24           <td>
25            <br>
26 {render acl=$baseACL}
27            {$base}
28 {/render}
29            </td>
30           </tr>
31         </table>
32         {$host_key}
33   </td>
34   <td class='left-border'>
36         <table summary="">
37         <tr>
38      <td>{t}Mode{/t}</td>
39      <td>
40 {render acl=$gotoModeACL}
41       <select name="gotoMode" title="{t}Select terminal mode{/t}" size=1>
42        {html_options options=$modes selected=$gotoMode}
43       </select>
44 {/render}
45      </td>
46     </tr>
47         </table>
48   </td>
49  </tr>
50 </table>
52 <hr>
54 {$netconfig}
56 {if $fai_activated}
57 <hr>
59 <h3>{t}Action{/t}</h3>
60 <table summary="">
61  <tr>
62   <td>
64 {if $currently_installing}
65         <i>{t}System installation in progress, the FAI state cannot be changed right now.{/t}</i>
66 {else}
67 {render acl=$FAIstateACL}
68    <select size="1" name="saction" title="{t}Select action to execute for this server{/t}">
69     <option>&nbsp;</option>
70     {html_options options=$actions}
71    </select>
72 {/render}
73   </td>
74   <td>
75 {render acl=$FAIstateACL}
76    <button type='submit' name='action'>{t}Execute{/t}</button>
78 {/render}
79   </td>
80  </tr>
81 {/if}
82 </table>
83 {/if}
85 <!-- Place cursor -->
86 <script language="JavaScript" type="text/javascript">
87   <!-- // First input field on page
88         focus_field('cn');
89   -->
90 </script>