Code

Fixed styles for licenses
[gosa.git] / gosa-plugins / opsi / admin / opsiLicenses / licensePoolGeneric.tpl
1 {if !$init_successfull}
2 <br>
3 <b>{msgPool type=siError}</b><br>
4 {t}Check if the GOsa support daemon (gosa-si) is running.{/t}&nbsp;
5 <button type='submit' name='retry_init'>{t}Retry{/t}</button>
7 <br>
8 <br>
9 {else}
12 <table width="100%">
13   <tr> 
14     <td>        <!-- GENERIC -->
15         <h3>{t}Generic{/t}</h3>
16         <table>
17           <tr> 
18             <td>{t}Name{/t}</td>
19             <td>
20               {if $initially_was_account}
21                 <input type='text' value='{$cn}' disabled>
22               {else}
23 {render acl=$cnACL}
24               <input type='text' value='{$cn}' name='cn'>
25 {/render}
26               {/if}
27             </td>
28           </tr>
29           <tr> 
30             <td>{t}Description{/t}</td>
31             <td>
32 {render acl=$descriptionACL}
33               <input type='text' value='{$description}' name='description'>
34 {/render}
35             </td>
36           </tr>
37         </table>
39     </td>
40     <td style='width:50%; padding: 5px;' class='left-border'>        <!-- LICENSES -->
41         <h3>{t}Licenses{/t}</h3>
42         <table style='width:100%;'>
43           <tr> 
44             <td>
45               {$licenses}
46 {render acl=$licensesACL}
47               <button type='submit' name='addLicense'>{msgPool type=addButton}</button>
49 {/render}
50             </td>
51           </tr>
52         </table>
54     </td>
55   </tr>
56   <tr> 
57     <td colspan="2">
58       <p class='separator'>&nbsp;</p>
59     </td>
60   </tr>
61   <tr>
62     <td style='width:50%'>
63         <!-- APPLICATIONS -->
64         <h3>{t}Applications{/t}</h3>
65         <table style='width:100%;'>
66           <tr> 
67             <td>
68 {render acl=$productIdsACL}
69               <select name='productIds[]' multiple size="6" style="width:100%;">
70                 {html_options options=$productIds}
71               </select><br>
72 {/render}
73 {render acl=$productIdsACL}
74               <select name='availableProduct' size=1>
75                 {html_options options=$availableProductIds}
76               </select>
77 {/render}
78 {render acl=$productIdsACL}
79               <button type='submit' name='addProduct'>{msgPool type=addButton}</button>
81 {/render}
82 {render acl=$productIdsACL}
83               <button type='submit' name='removeProduct'>{msgPool type=delButton}</button>
85 {/render}
86             </td>
87           </tr>
88         </table>
90     </td>
91     <td style='padding: 5px;' class='left-border'>        <!-- SOFTWARE -->
92         <h3>{t}Windows software IDs{/t}</h3>
93         <table style='width:100%;'>
94           <tr> 
95             <td>
96 {render acl=$windowsSoftwareIdsACL}
97               <select name='softwareIds[]' multiple size="6" style="width:100%;">
98                 {html_options options=$softwareIds}
99               </select>
100 {/render}
101 <!--
102 {render acl=$windowsSoftwareIdsACL}
103               <input type='text' name='newSoftwareId' value='' size=10>
104 {/render}
105 {render acl=$windowsSoftwareIdsACL}
106               <input type='submit' name='addSoftware' value='{msgPool type='addButton'}'>
107 {/render}
108 {render acl=$windowsSoftwareIdsACL}
109               <input type='submit' name='removeSoftware' value='{msgPool type='delButton'}'>
110 {/render}
111 -->
112             </td>
113           </tr>
114         </table>
116     </td>
117   </tr>
118 </table>
119 <input name='opsiLicensePoolPosted' value='1' type='hidden'>
120 {/if}