1 <table style='width:100%'>
2 <tr>
3 <td colspan="2">
4 <h2><img alt="" src="images/head.png" class="center" align="middle"> {t}Generic{/t}</h2>
5 </td>
6 </tr>
7 <tr>
8 <td style='width:50%;border-right: 1px solid rgb(160, 160, 160);'>
9 <table>
10 <tr>
11 <td>
12 {t}Description{/t}
13 </td>
14 <td>
15 <input type="text" name="Comment" value="{$Comment}">
16 </td>
17 </tr>
18 <tr>
19 <td>
20 {t}Object group membership{/t}
21 </td>
22 <td>
23 <select name="OGroup">
24 {html_options options=$OGroups selected=$OGroup}
25 </select>
26 </td>
27 </tr>
28 {if $Action == "initial_install"}
29 <tr>
30 <td><input class='center' {if $configure_dns} checked {/if} id='configure_dns'
31 type='checkbox' name='configure_dns' value='1' onClick="changeState('Zone');">
32 <label for='configure_dns'>{t}Configure DNS{/t}</label>
33 </td>
34 <td>
35 <select name="Zone" id="Zone" {if !$configure_dns} disabled {/if}>
36 {html_options options=$Zones selected=$Zone}
37 </select>
38 </td>
39 </tr>
40 <tr>
41 <td><input class='center' {if $configure_dhcp} checked {/if} id='configure_dhcp'
42 type='checkbox' name='configure_dhcp' value='1' onClick="changeState('Section');">
43 <label for='configure_dhcp'>{t}Configure DHCP{/t}</label>
44 </td>
45 <td>
46 <select name="Section" id="Section" {if !$configure_dhcp} disabled {/if}>
47 {html_options options=$Sections selected=$Section}
48 </select>
49 </td>
50 </tr>
51 {/if}
52 </table>
53 </td>
54 <td style='vertical-align:top'>
55 <table>
56 <tr>
57 <td>
58 {t}Action{/t}
59 </td>
60 <td>
61 <select name="Action" onChange="document.mainform.submit();">
62 {html_options options=$Actions selected=$Action}
63 </select>
64 {if !$JS}
65 <input type='image' src='images/list_reload.png' class='center'>
66 {/if}
67 </td>
68 </tr>
69 </table>
71 </td>
72 </tr>
73 </table>
74 {if $Action == "initial_install"}
75 <p class='seperator'> </p>
76 <table style='width:100%;'>
77 <tr>
78 <td colspan="2" style='padding-top:5px;'>
79 <h2><img alt="" src="images/select_workstation.png" class="center" align="middle"> {t}Systems{/t}</h2>
80 </td>
81 </tr>
82 <tr>
83 <td colspan="2">
84 <table summary="" style="border:1px solid #B0B0B0;width:100%; " cellspacing=0 cellpadding=0>
85 <tr>
86 <td>
87 {$Target_list}
88 </td>
89 </tr>
90 </table>
91 </td>
92 </tr>
93 <tr>
94 <td style="width:50%; border-right: 1px solid #A0A0A0;">
95 <table>
96 <tr>
97 <td>{t}MAC address{/t}{$must}
98 </td>
99 <td><input type="text" name="task_MAC" value="">
100 </td>
101 </tr>
102 <tr>
103 <td>{t}Name{/t}
104 </td>
105 <td><input type="text" name="task_Name" value="">
106 </td>
107 </tr>
108 <tr>
109 <td>{t}IP address{/t}
110 </td>
111 <td><input type="text" name="task_IP" value="">
112 <input type="submit" name="add_target" value="{t}Add{/t}">
113 </td>
114 </tr>
115 </table>
116 </td>
117 <td style='vertical-align:top'>
118 <table>
119 <tr><td>{t}CVS import from file{/t}</td></tr>
120 <tr>
121 <td>
122
123 </td>
124 </tr>
125 <tr>
126 <td>
127 <input type="hidden" name="MAX_FILE_SIZE" value="2000000">
128 <input name="import_file" type="file" size="20" maxlength="255" accept="*.csv">
129 <input type="submit" name="add_import" value="{t}Import{/t}">
130 </td>
131 </tr>
132 </table>
133 </td>
134 </tr>
135 </table>
137 {else}
138 <p class='seperator'> </p>
139 <table style='width:100%;'>
140 <tr>
141 <td colspan="2">
142 <h2><img alt="" src="images/time.png" class="center" align="middle"> {t}Schedule{/t}</h2>
143 </td>
144 </tr>
145 <tr>
146 <td colspan="2">
147 {t}Minute{/t}
148 <select name='Minute'>
149 {html_options options=$Minutes selected=$Minute}
150 </select>
151 {t}Hour{/t}
152 <select name='Hour'>
153 {html_options options=$Hours selected=$Hour}
154 </select>
155 {t}Day{/t}
156 <select name='Day'>
157 {html_options options=$Days selected=$Day}
158 </select>
159 {t}Month{/t}
160 <select name='Month'>
161 {html_options options=$Months selected=$Month}
162 </select>
163 {t}Week day{/t}
164 <select name='Weekday'>
165 {html_options options=$Weekdays selected=$Weekday}
166 </select>
167 </td>
168 </tr>
169 </table>
170 <p class='seperator'> </p>
171 <table style='width:100%;'>
172 <tr>
173 <td colspan="2" style='padding-top:5px;'>
174 <h2><img alt="" src="images/select_workstation.png" class="center" align="middle"> {t}Target systems{/t}</h2>
175 </td>
176 </tr>
177 <tr>
178 <td colspan="2">
179 <table summary="" style="border:1px solid #B0B0B0;width:600px; " cellspacing=0 cellpadding=0>
180 <tr>
181 <td>
182 {$Target_list}
183 </td>
184 </tr>
185 </table>
186 <input type="text" name="target_text" value="">
187 <input type="submit" name="add_target" value="{t}Add{/t}">
188 <input type="submit" name="add_from_list" value="{t}Add from list{/t}">
189 </td>
190 </tr>
191 </table>
192 {/if}
193 <p class='seperator'> </p>
194 <input type='hidden' name='goto_task_posted' value='1'>
195 <p style="text-align:right">
196 <input type='submit' name='save_goto_task' value='{t}Ok{/t}'>
197 {if !$new}
198 <input type='submit' name='apply_goto_task' value='{t}Apply{/t}'>
199 {/if}
200 <input type='submit' name='close_goto_task' value='{t}Cancel{/t}'>
201 </p>