Code

Updated listing table summary
[gosa.git] / gosa-plugins / opsi / admin / opsi / generic.tpl
2 <h3>{t}OPSI host{/t}</h3>
4 {if $init_failed}<font style='color: #FF0000;'>
6  {msgPool type=siError p=$message}</font>
7  <button type='submit' name='reinit'>{t}Retry{/t}</button>
9 {else}
11  <table style="width: 100%;" summary="{t}OPSI host{/t}">
12   <tr>
13    <td style="width:50%;" class="right-border">
14     <table summary="{t}Generic{/t}">
15      
16      {if $standalone}
17       <tr>
18        <td>{t}Name{/t}{$must}</td>
19        <td>
20         {render acl=$hostIdACL}
21          <input style='width:300px;' type='text' name='hostId' value='{$hostId}'>
22         {/render}
23        </td>
24       </tr>
26       {else}
28       <tr>
29        <td>{t}Name{/t}</td>
30        <td>
31         {render acl=$hostIdACL}
32          <input style='width:300px;' type='text' disabled value="{$hostId}">
33         {/render}
34        </td>
35       </tr>
36       
37      {/if}
38      <tr>
39       <td>{t}Netboot product{/t}</td>
40       <td>
42        {render acl=$netbootProductACL}
43         <select name="opsi_netboot_product" onChange="document.mainform.submit();" size=1>
44          {foreach from=$ANP item=item key=key}
45           <option {if $key == $SNP} selected {/if} value="{$key}">{$key}</option>
46          {/foreach}
47         </select>
48        {/render}
49        
50        {if $netboot_configurable}
51         {image path="images/lists/edit.png" action="configure_netboot" title="{t}Configure product{/t}"}
52        {/if}
53       </td>
54      </tr>
55     </table>
57    </td>
58    <td>
60     <table summary="{t}Generic{/t}">
61      <tr>
62       <td>{t}Description{/t}</td>
63       <td>
64        {render acl=$descriptionACL}
65         <input type='text' name='description' value='{$description}'>
66        {/render}
67       </td>
68      </tr>
69      <tr>
70       <td>{t}Notes{/t}</td>
71       <td>
72        {render acl=$descriptionACL}
73         <input type='text' name='note' value='{$note}'>
74        {/render}
75       </td>
76      </tr>
77     </table>
78    </td>
79   </tr>
80  </table>
82  <hr>
84  <table width="100%" summary="{t}Package settings{/t}">
85   <tr>
86    <td style="width:50%;" class="right-border">
87     <h3>{t}Installed products{/t}</h3>
88     {render acl=$localProductACL}
89      {$divSLP}
90     {/render}
91    </td>
92    <td style="width:50%;">
93     <h3>{t}Available products{/t}</h3>
94     {render acl=$localProductACL}
95      {$divALP}
96     {/render}
97    </td>
98   </tr>
99  </table>
100     
101  {if $standalone}
103   <hr> 
105   <h3>{t}Action{/t}</h3>
106   <select name='opsi_action' size=1>
107    <option>&nbsp;</option>
108     {if $is_installed}
109      <option value="install">{t}Reinstall{/t}</option>
110     {else}
111      <option value="install">{t}Install{/t}</option>
112     {/if}
113     <option value="wake">{t}Wake{/t}</option>
114    </select>
116    {render acl=$triggerActionACL}
117     <button type='submit' name='opsi_trigger_action'>{t}Execute{/t}</button>
118    {/render}
119  {/if}
121  <hr>
122  {$netconfig}
123  <input type='hidden' name='opsiGeneric_posted' value='1'>
124 {/if}