Code

removed unique remove templates, added one in the theme directory
[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 style='vertical-align:top;'>
15         <!-- GENERIC -->
16         <h3>{t}Generic{/t}</h3>
17         <table>
18           <tr> 
19             <td>{t}Name{/t}</td>
20             <td>
21               {if $initially_was_account}
22                 <input type='text' value='{$cn}' disabled>
23               {else}
24 {render acl=$cnACL}
25               <input type='text' value='{$cn}' name='cn'>
26 {/render}
27               {/if}
28             </td>
29           </tr>
30           <tr> 
31             <td>{t}Description{/t}</td>
32             <td>
33 {render acl=$descriptionACL}
34               <input type='text' value='{$description}' name='description'>
35 {/render}
36             </td>
37           </tr>
38         </table>
40     </td>
41     <td style='width:50%; border-left: 1px solid #AAA;padding: 5px;'>
42         <!-- LICENSES -->
43         <h3>{t}Licenses{/t}</h3>
44         <table style='width:100%;'>
45           <tr> 
46             <td>
47               {$licenses}
48 {render acl=$licensesACL}
49               <button type='submit' name='addLicense'>{msgPool type=addButton}</button>
51 {/render}
52             </td>
53           </tr>
54         </table>
56     </td>
57   </tr>
58   <tr> 
59     <td colspan="2">
60       <p class='separator'>&nbsp;</p>
61     </td>
62   </tr>
63   <tr>
64     <td style='width:50%'>
65         <!-- APPLICATIONS -->
66         <h3>{t}Applications{/t}</h3>
67         <table style='width:100%;'>
68           <tr> 
69             <td>
70 {render acl=$productIdsACL}
71               <select name='productIds[]' multiple size="6" style="width:100%;">
72                 {html_options options=$productIds}
73               </select><br>
74 {/render}
75 {render acl=$productIdsACL}
76               <select name='availableProduct'>
77                 {html_options options=$availableProductIds}
78               </select>
79 {/render}
80 {render acl=$productIdsACL}
81               <button type='submit' name='addProduct'>{msgPool type=addButton}</button>
83 {/render}
84 {render acl=$productIdsACL}
85               <button type='submit' name='removeProduct'>{msgPool type=delButton}</button>
87 {/render}
88             </td>
89           </tr>
90         </table>
92     </td>
93     <td style="border-left: 1px solid #AAA; padding: 5px;vertical-align:top">
94         <!-- SOFTWARE -->
95         <h3>{t}Windows software IDs{/t}</h3>
96         <table style='width:100%;'>
97           <tr> 
98             <td>
99 {render acl=$windowsSoftwareIdsACL}
100               <select name='softwareIds[]' multiple size="6" style="width:100%;">
101                 {html_options options=$softwareIds}
102               </select>
103 {/render}
104 <!--
105 {render acl=$windowsSoftwareIdsACL}
106               <input type='text' name='newSoftwareId' value='' size=10>
107 {/render}
108 {render acl=$windowsSoftwareIdsACL}
109               <input type='submit' name='addSoftware' value='{msgPool type='addButton'}'>
110 {/render}
111 {render acl=$windowsSoftwareIdsACL}
112               <input type='submit' name='removeSoftware' value='{msgPool type='delButton'}'>
113 {/render}
114 -->
115             </td>
116           </tr>
117         </table>
119     </td>
120   </tr>
121 </table>
122 <input name='opsiLicensePoolPosted' value='1' type='hidden'>
123 {/if}