Code

updated templates
[gosa.git] / gosa-plugins / glpi / admin / systems / services / glpi / glpi.tpl
1 <table summary="" style="width:100%;">
2         <tr>
3                 <td style='width:50%;'>
5                         <!--Upper left-->       
6                         
7                         <h3>{t}Generic{/t}</h3>
8                         <table summary="" cellpadding=5>
9                                 <tr>
10                                         <td >{t}System type{/t}
11                                         </td>
12                                         <td>
13 {render acl=$typeACL}
14                                                 <select name="type" size=1>
15                                                         {html_options values=$SystemTypeKeys output=$SystemTypes selected=$type}
16                                                 </select>
17 {/render}
18 {render acl=$typeACL}
19                                                 <button type='submit' name='edit_type'>{t}edit{/t}</button>     
21 {/render}
22                                         </td>
23                                 </tr>
24                                 <tr>
25                                         <td>{t}Operating system{/t}
26                                         </td>
27                                         <td>
28 {render acl=$osACL}
29                                                 <select name="os" size=1>
30                                                         {html_options values=$OSKeys output=$OSs selected=$os}
31                                                 </select>       
32 {/render}
33 {render acl=$osACL}
34                                                 <button type='submit' name='edit_os'>{t}edit{/t}</button>       
36 {/render}
37                                         </td>
38                                 </tr>
39                                 <tr>
40                                         <td>{t}Manufacturer{/t}
41                                         </td>
42                                         <td>
43 {render acl=$FK_glpi_enterpriseACL}
44                                                 <select name="FK_glpi_enterprise" size=1>
45                                                         {html_options values=$ManufacturerKeys output=$Manufacturers selected=$FK_glpi_enterprise}
46                                                 </select>       
47 {/render}
48 {render acl=$FK_glpi_enterpriseACL}
49                                                 <button type='submit' name='edit_manufacturer'>{t}edit{/t}</button>     
51 {/render}
52                                         </td>
53                                 </tr>
54                         <!--</table>
55                         <hr>
56                         <h3>{t}Contacts{/t}</h3>
57                         <table summary="" width="100%">-->
58                                 <tr>
59                                         <td>
60                                                 {t}Contact person{/t}
61                                         </td>
62                                         <td>
63                                                 <i>{$contact_num}&nbsp; </i>&nbsp;
64 {render acl=$contact_numACL}
65                                                 <button type='submit' name='SelectContactPerson'>{t}Edit{/t}</button>
67 {/render}
68                                         </td>
69                                 </tr>
70                                 <tr>
71                                         <td>{t}Technical responsible{/t}&nbsp;
72                                         </td>
73                                         <td>
74                                                 <i>{$tech_num}&nbsp; </i>&nbsp;
75 {render acl=$tech_numACL}
76                                                 <button type='submit' name='SelectTechPerson'>{t}Edit{/t}</button>
78 {/render}
79                                         </td>
80                                 </tr>
81                         </table>
82                 </td>
83                 <td style='padding-right: 5px;' class='left-border'>
85                         <!--Upper right-->
86                         <h3>{t}Comment{/t}</h3>
87                         <table summary="" width="100%">
88                                 <tr>
89                                         <td valign="top" colspan="2">
90 {render acl=$commentsACL}
91                                                 <textarea name="comments" style="width:100%;height:180px;">{$comments}</textarea>
92 {/render}
93                                         </td>
94                                 </tr>
95                         </table>
96                 </td>
97         </tr>
98 </table>
99 <hr>
100 <table summary="" style="width:100%;">
101         <tr>
102                 <td style="width:50%;">
103                         <h3>{t}Installed devices{/t}</h3>
104                         <table summary="" width="100%"> 
105                                 <tr>
106                                         <td>
107 {render acl=$DevicesACL}
108                                                 <select name="InstalledDevices" style="height:130px;width:100%;" multiple size=1>
109                                                         {html_options values=$InstalledDeviceKeys output=$InstalledDevices}
110                                                 </select>
111 {/render}
112 {render acl=$DevicesACL}
113                                                 <button type='submit' name='AddDevice'>{t}Edit{/t}</button>     
115 {/render}
116                                         </td>
117                                 </tr>
118                         </table>
119 <!--                    <hr>
120                         <input type="submit" value="{t}Trading{/t}" name="Trading">     
121                         <input type="submit" value="{t}Software{/t}" name="Software">   
122                         <input type="submit" value="{t}Contracts{/t}" name="Contracts"> -->
123                 </td>
124                 <td style='padding-right: 5px;' class='left-border'>
126                         <h3>{t}Attachments{/t}</h3>
127                         <table summary="" width="100%"> 
128                                 <tr>
129                                         <td>
130 {render acl=$AttachmentsACL}
131                                                 {$AttachmentsDiv}
132 {/render}
133 {render acl=$AttachmentsACL}
134                                                 <button type='submit' name='AddAttachment'>{msgPool type=addButton}</button>    
136 {/render}
137                                         </td>
138                                 </tr>
139                         </table>
140                 </td>
141         </tr>
142 </table>
143 <input type="hidden" name="glpi_tpl_posted" value="1">
144 <script language="JavaScript" type="text/javascript">
145   <!-- // First input field on page
146         focus_field('type');
147   -->
148 </script><p style="text-align:right">