Code

Udpated JS focus,
[gosa.git] / plugins / personal / environment / hotplugDialogNew.tpl
1 <h2><img class="center" alt="" src="images/hotplug.png" align="middle">&nbsp;{t}Create new hotplug entry{/t}</h2>
2         
3         <input type="hidden" name="dialogissubmitted" value="1">
4         
5 <table width="100%" summary="">
6  <tr>
7   <td width="50%" style="vertical-align:top">
8         <table summary="{t}Create new hotplug device{/t}" style="border-right:1px solid #B0B0B0;width:100%">
9                 <tr>
10                         <td><LABEL for="HOT_name">{t}Device name{/t}</LABEL>{$must}
11                         </td>
12                         <td>    
13                                 <input type="text" size=40 value="{$HOT_name}" name="HOT_name" id="HOT_name">
14                         </td>
15                 </tr>
16                 <tr>
17                         <td><LABEL for="HOT_description">{t}Description{/t}</LABEL>
18                         </td>
19                         <td>
20                                 <input type="text" size=40 value="{$HOT_description}" name="HOT_description" id="HOT_description">
21                         </td>
22                 </tr>
23         </table>
24    </td>
25    <td style="vertical-align:top">
26         <table summary="">
27                 <tr>
28                         <td><LABEL for="HOT_id">{t}Serial number{/t}&nbsp;{t}(iSerial){/t}</LABEL>{$must}
29                         </td>
30                         <td>
31                                 <input type="text" value="{$HOT_id}" name="HOT_id" id="HOT_id">
32                         </td>
33                         <td colspan="2">&nbsp;</td>
34                 </tr>
35                 <tr>
36                         <td><LABEL for="HOT_vendor">{t}Vendor-ID{/t}&nbsp;{t}(idVendor){/t}</LABEL>{$must}
37                         </td>
38                         <td>
39                                 <input type="text" value="{$HOT_vendor}" name="HOT_vendor" id="HOT_vendor">
40                         </td>
41                 </tr>
42                 <tr>
43                         <td><LABEL for="HOT_produkt">{t}Product-ID{/t}&nbsp;{t}(idProduct){/t}</LABEL>{$must}
44                         </td>
45                         <td>
46                                 <input type="text" value="{$HOT_produkt}" name="HOT_produkt" id="HOT_produkt">
47                         </td>
48                 </tr>
49         </table>
50 </table>
51         <p class="seperator">&nbsp;</p>
52         <p align="right">
53         <input type="submit" name="HotPlugSave"         value="{t}Save{/t}">
54         <input type="submit" name="HotPlugCancel"       value="{t}Cancel{/t}">
55         </p>
56 <script language="JavaScript" type="text/javascript">
57   <!-- // First input field on page
58         focus_field('HOT_name');
59   -->
60 </script>