Code

Fixed hotplug device handling
[gosa.git] / gosa-plugins / goto / admin / devices / deviceGeneric.tpl
2 <h2>{t}Devices{/t}</h2>
4 <table width="100%" summary="">
5  <tr>
6   <td width="50%" style="vertical-align:top">
7     <table style="border-right:1px solid #B0B0B0;width:100%">
8         <tr>
9             <td><LABEL for="base">{t}Base{/t}</LABEL>
10             </td>
11             <td>
12 {render acl=$baseACL}
13               {$base}
14 {/render}
15             </td>
16         </tr>
17         <tr>
18             <td><LABEL for="cn">{t}Device name{/t}</LABEL>{$must}
19             </td>
20             <td>
21 {render acl=$cnACL}
22                 <input type="text" size=40 value="{$cn}" name="cn" id="cn">
23 {/render}
24             </td>
25         </tr>
26         <tr>
27             <td><LABEL for="description">{t}Description{/t}</LABEL>
28             </td>
29             <td>
30 {render acl=$descriptionACL}
31                 <input type="text" size=40 value="{$description}" name="description" id="description">
32 {/render}
33             </td>
34         </tr>
35         <tr>
36             <td><LABEL for="description">{t}Device type{/t}</LABEL>
37             </td>
38             <td>
39 {render acl=$typeACL}
40                                 <select id="type" size="1" name="type" title="{t}Choose the device type{/t}">
41                                         {html_options options=$types selected=$type}
42                                 </select>
43 {/render}
44             </td>
45         </tr>
46     </table>
47    </td>
48    <td style="vertical-align:top">
49     <table summary="">
50         <tr>
51             <td><LABEL for="devID">{t}Serial number{/t}&nbsp;{t}(iSerial){/t}</LABEL>{$must}
52             </td>
53             <td>
54 {render acl=$devIDACL}
55                 <input type="text" value="{$devID}" name="devID" id="devID">
56 {/render}
57             </td>
58             <td colspan="2">&nbsp;</td>
59         </tr>
60         <tr>
61             <td><LABEL for="vendor">{t}Vendor-ID{/t}&nbsp;{t}(idVendor){/t}</LABEL>{$must}
62             </td>
63             <td>
64 {render acl=$vendorACL}
65                 <input type="text" value="{$vendor}" name="vendor" id="vendor">
66 {/render}
67             </td>
68         </tr>
69         <tr>
70           <td><LABEL for="produkt">{t}Product-ID{/t}&nbsp;{t}(idProduct){/t}</LABEL>{$must}
71             </td>
72             <td>
73 {render acl=$serialACL}
74                 <input type="text" value="{$serial}" name="serial" id="serial">
75 {/render}
76             </td>
77         </tr>
78     </table>
79 </table>
80 <input type='hidden' value="1" name="deviceGeneric_posted">
81 <script language="JavaScript" type="text/javascript">
82   <!-- // First input field on page
83     focus_field('name');
84   -->
85 </script>