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