@@ -169,6 +169,7 @@ <h3 class="title-hero">
169169 < th > {% trans "ID" %}</ th >
170170 < th > {% trans "Destination" %}</ th >
171171 < th > {% trans "Frequency" %}</ th >
172+ < th > {% trans "Sites" %}</ th >
172173 < th > {% trans "Delete" %}</ th >
173174 </ tr >
174175 </ thead >
@@ -177,8 +178,117 @@ <h3 class="title-hero">
177178 < td ng-bind ="record.id "> </ td >
178179 < td ng-bind ="record.destination "> </ td >
179180 < td ng-bind ="record.frequency "> </ td >
180- < td ng-click ="delSchedule(record.id) "> < img
181- src ="{% static 'images/delete.png' %} "> </ td >
181+ < td ng-bind ="record.numberOfSites "> </ td >
182+ < td >
183+ < a ng-click ="delSchedule(record.id) "
184+ class ="btn btn-border btn-alt border-red btn-link font-red "
185+ href ="# "
186+ title =""> < span > {% trans 'Delete' %}</ span > </ a >
187+ < a data-toggle ="modal " data-target ="#settings "
188+ ng-click ="editInitial(record.id) "
189+ class ="btn btn-border btn-alt border-purple btn-link font-purple "
190+ href ="# "
191+ title =""> < span > {% trans 'Edit' %}</ span > </ a >
192+
193+ <!--- Modal --->
194+ < div id ="settings " class ="modal fade " role ="dialog ">
195+ < div class ="modal-dialog ">
196+
197+ <!-- Modal content-->
198+ < div class ="modal-content ">
199+ < div class ="modal-header ">
200+ < button type ="button " class ="close " data-dismiss ="modal ">
201+ ×
202+ </ button >
203+ < h4 class ="modal-title "> Edit User
204+ < img ng-hide ="cyberpanelLoading "
205+ src ="{% static 'images/loading.gif' %} ">
206+ </ h4 >
207+ </ div >
208+ < div class ="modal-body ">
209+
210+ < form name ="containerSettingsForm " action ="/ "
211+ class ="form-horizontal ">
212+
213+ < div ng-hide ="installationDetailsForm "
214+ class ="form-group ">
215+ < label class ="col-sm-3 control-label "> {% trans "Job ID" %}</ label >
216+ < div class ="col-sm-4 ">
217+ < input name ="name " type ="number "
218+ class ="form-control "
219+ ng-model ="jobID " readonly >
220+ </ div >
221+ </ div >
222+
223+ < div ng-hide ="installationDetailsForm "
224+ class ="form-group ">
225+ < label class ="col-sm-3 control-label "> {% trans "Data" %}</ label >
226+ < div class ="checkbox ">
227+ < label >
228+ < input ng-model ="websiteData "
229+ type ="checkbox " value ="">
230+ Data
231+ </ label >
232+ </ div >
233+ </ div >
234+
235+ < div ng-hide ="installationDetailsForm "
236+ class ="form-group ">
237+ < label class ="col-sm-3 control-label "> {% trans "Databases" %}</ label >
238+ < div class ="checkbox ">
239+ < label >
240+ < input ng-model ="websiteDatabases "
241+ type ="checkbox " value ="">
242+ Databases
243+ </ label >
244+ </ div >
245+ </ div >
246+
247+ < div ng-hide ="installationDetailsForm "
248+ class ="form-group ">
249+ < label class ="col-sm-3 control-label "> {% trans "Emails" %}</ label >
250+ < div class ="checkbox ">
251+ < label >
252+ < input ng-model ="websiteEmails "
253+ type ="checkbox " value ="">
254+ Emails
255+ </ label >
256+ </ div >
257+ </ div >
258+
259+ < hr >
260+ < table class ="table ">
261+ < thead >
262+ < tr >
263+ < th > {% trans "ID" %}</ th >
264+ < th > {% trans "Website" %}</ th >
265+ < th > {% trans "Actions" %}</ th >
266+ </ tr >
267+ </ thead >
268+ < tbody >
269+ < tr ng-repeat ="record in websites track by $index ">
270+ < td ng-bind ="record.id "> </ td >
271+ < td ng-bind ="record.website "> </ td >
272+ < td >
273+ < a ng-click ="delSchedule(record.id) "
274+ class ="btn btn-border btn-alt border-red btn-link font-red "
275+ href ="# "
276+ title =""> < span > {% trans 'Delete' %}</ span > </ a >
277+ </ td >
278+
279+ </ tr >
280+ </ tbody >
281+ </ table >
282+
283+
284+ </ form >
285+
286+ </ div >
287+ </ div >
288+ </ div >
289+ </ div >
290+ <!--- Modal End--->
291+ </ td >
182292
183293 </ tr >
184294 </ tbody >
0 commit comments