AutoTimer WebIf: Changed service restriction width
[enigma2-plugins.git] / autotimer / src / web-data / tplAutoTimerEdit.htm
1 <!-- tplAutoTimerEditor -->
2                         <div id="contentContainer">
3                                 <div id="content">
4                                         <div id="contentHd" class="header">
5                                                 <div id="headerautotimereditor" class="headerindent">AutoTimer Editor: ${name}</div>
6                                         </div>
7                                         <table class="tabEditor" border="0" cellpadding="0" cellspacing="0"> 
8                                                 <tr>
9                                                         <td>
10                                                                 <table class="editor" border="0" cellpadding="0" cellspacing="0"> 
11                                                                         <tr>
12                                                                                 <td class="optionTitle">Enabled:</td>
13                                                                                 <td class="optionContent">
14                                                                                         <input id="enabled" type="checkbox" class="input" ${enabled}>
15                                                                                 </td>
16                                                                         </tr>
17                                                                         <tr>
18                                                                                 <td class="optionTitle">Name:</td>
19                                                                                 <td class="optionContent">
20                                                                                         <input id="name" type="text" class="input text" maxlength="1000" value="${name}">
21                                                                                 </td>
22                                                                         </tr>
23                                                                         <tr>
24                                                                                 <td class="optionTitle">Match:</td>
25                                                                                 <td class="optionContent">
26                                                                                         <input id="match" type="text" class="input text" maxlength="1000" value="${match}">
27                                                                                 </td>
28                                                                         </tr>
29                                                                         <tr>
30                                                                                 <td class="optionTitle">Encoding:</td>
31                                                                                 <td class="optionContent">
32                                                                                         <select id="encoding" size="1" class="select">
33                                                                                                 {for e in encoding}
34                                                                                                         <option value="${e.value}" ${e.selected}>${e.txt}</option>
35                                                                                                 {/for}  
36                                                                                         </select>
37                                                                                 </td>
38                                                                         </tr>
39                                                                         <tr>
40                                                                                 <td class="optionTitle">Search type:</td>
41                                                                                 <td class="optionContent">
42                                                                                         <select id="searchType" size="1" class="select">
43                                                                                                 {for e in searchType}
44                                                                                                         <option value="${e.value}" ${e.selected}>${e.txt}</option>
45                                                                                                 {/for}  
46                                                                                         </select>
47                                                                                 </td>
48                                                                         </tr>
49                                                                         <tr>
50                                                                                 <td class="optionTitle">Search case:</td>
51                                                                                 <td class="optionContent">
52                                                                                         <select id="searchCase" size="1" class="select">
53                                                                                                 {for e in searchCase}
54                                                                                                         <option value="${e.value}" ${e.selected}>${e.txt}</option>
55                                                                                                 {/for}  
56                                                                                         </select>
57                                                                                 </td>
58                                                                         </tr>
59                                                                         <tr>
60                                                                                 <td class="optionTitle">Timer type:</td>
61                                                                                 <td class="optionContent">
62                                                                                         <table border="0" cellpadding="0" cellspacing="0"> 
63                                                                                                 <tr>
64                                                                                                         <td class="optionMain">
65                                                                                                                 <select id="justplay" size="1" class="select">
66                                                                                                                         {for e in justplay}
67                                                                                                                                 <option value="${e.value}" ${e.selected}>${e.txt}</option>
68                                                                                                                         {/for}  
69                                                                                                                 </select>
70                                                                                                         </td>
71                                                                                                         <td>
72                                                                                                                 <div id="justplaycontent" class="optionSub">
73                                                                                                                         Set end time:
74                                                                                                                         <input id="setEndtime" type="checkbox" class="input" ${setEndtime}>
75                                                                                                                 </div>
76                                                                                                         </td>
77                                                                                                 </tr>
78                                                                                         </table>
79                                                                                 </td>
80                                                                         </tr>
81                                                                         <tr>
82                                                                                 <td class="optionTitle">Override alternatives:</td>
83                                                                                 <td class="optionContent">
84                                                                                         <input id="overrideAlternatives" type="checkbox" class="input" ${overrideAlternatives}>
85                                                                                 </td>
86                                                                         </tr>
87                                                                         <tr>
88                                                                                 <td class="optionTitle">Time span:</td>
89                                                                                 <td class="optionContent">
90                                                                                         <table border="0" cellpadding="0" cellspacing="0"> 
91                                                                                                 <tr>
92                                                                                                         <td class="optionMain">
93                                                                                                                 <input id="timespan" type="checkbox" class="input" ${timespan.usetimespan}>
94                                                                                                         </td>
95                                                                                                         <td>
96                                                                                                                 <div id="timespancontent" class="optionSub">
97                                                                                                                         Begin:
98                                                                                                                         <input id="from" type="text" class="input timepicker" size="6" value="${timespan.from}">
99                                                                                                                         End:
100                                                                                                                         <input id="to" type="text" class="input timepicker" size="6" value="${timespan.to}">
101                                                                                                                 </div>
102                                                                                                         </td>
103                                                                                                 </tr>
104                                                                                         </table>
105                                                                                 </td>
106                                                                         </tr>
107                                                                         <tr>
108                                                                                 <td class="optionTitle">Time frame:</td>
109                                                                                 <td class="optionContent">
110                                                                                         <table border="0" cellpadding="0" cellspacing="0"> 
111                                                                                                 <tr>
112                                                                                                         <td class="optionMain">
113                                                                                                                 <input id="timeframe" type="checkbox" class="input" ${timeframe.usetimeframe}>
114                                                                                                         </td>
115                                                                                                         <td>
116                                                                                                                 <div id="timeframecontent" class="optionSub">
117                                                                                                                         After:
118                                                                                                                         <input id="after" type="text" class="input datepicker" size="14" value="${timeframe.after}">
119                                                                                                                         Before:
120                                                                                                                         <input id="before" type="text" class="input datepicker" size="14" value="${timeframe.before}">
121                                                                                                                 </div>
122                                                                                                         </td>
123                                                                                                 </tr>
124                                                                                         </table>
125                                                                                 </td>
126                                                                         </tr>
127                                                                         <tr>
128                                                                                 <td class="optionTitle">Timer offset:</td>
129                                                                                 <td class="optionContent">
130                                                                                         <table border="0" cellpadding="0" cellspacing="0"> 
131                                                                                                 <tr>
132                                                                                                         <td class="optionMain">
133                                                                                                                 <input id="offset" type="checkbox" class="input" ${offset.useoffset}>
134                                                                                                         </td>
135                                                                                                         <td>
136                                                                                                                 <div id="offsetcontent" class="optionSub">
137                                                                                                                         Before:
138                                                                                                                         <select id="offsetbegin" size="1" class="select">
139                                                                                                                                 {for e in offset.begin}
140                                                                                                                                         <option value="${e.value}" ${e.selected}>${e.txt}</option>
141                                                                                                                                 {/for}  
142                                                                                                                         </select>
143                                                                                                                         After:
144                                                                                                                         <select id="offsetend" size="1" class="select">
145                                                                                                                                 {for e in offset.end}
146                                                                                                                                         <option value="${e.value}" ${e.selected}>${e.txt}</option>
147                                                                                                                                 {/for}  
148                                                                                                                         </select>
149                                                                                                                         minutes
150                                                                                                                 </div>
151                                                                                                         </td>
152                                                                                                 </tr>
153                                                                                         </table>
154                                                                                 </td>
155                                                                         </tr>
156                                                                         <tr>
157                                                                                 <td class="optionTitle">Max duration:</td>
158                                                                                 <td class="optionContent">
159                                                                                         <table border="0" cellpadding="0" cellspacing="0"> 
160                                                                                                 <tr>
161                                                                                                         <td class="optionMain">
162                                                                                                                 <input id="maxdurationavailable" type="checkbox" class="input" ${maxduration.usemaxduration}>
163                                                                                                         </td>
164                                                                                                         <td>
165                                                                                                                 <div id="maxdurationavailablecontent" class="optionSub">
166                                                                                                                         <select id="maxduration" size="1" class="select">
167                                                                                                                                 {for e in maxduration.maxduration}
168                                                                                                                                         <option value="${e.value}" ${e.selected}>${e.txt}</option>
169                                                                                                                                 {/for}  
170                                                                                                                         </select>
171                                                                                                                         minutes
172                                                                                                                 </div>
173                                                                                                         </td>
174                                                                                                 </tr>
175                                                                                         </table>
176                                                                                 </td>
177                                                                         </tr>
178                                                                         <tr>
179                                                                                 <td class="optionTitle">After event:</td>
180                                                                                 <td class="optionContent">
181                                                                                         <table border="0" cellpadding="0" cellspacing="0"> 
182                                                                                                 <tr>
183                                                                                                         <td class="optionMain">
184                                                                                                                 <select id="afterevent" size="1" class="select">
185                                                                                                                         {for e in afterevent.options}
186                                                                                                                                 <option value="${e.value}" ${e.selected}>${e.txt}</option>
187                                                                                                                         {/for}  
188                                                                                                                 </select>
189                                                                                                         </td>
190                                                                                                         <td>
191                                                                                                                 <div id="aftereventcontent" class="optionSub">
192                                                                                                                         Time span:
193                                                                                                                         <input id="aftereventusetimespan" type="checkbox" class="input" ${afterevent.usetimespan}>
194                                                                                                                 </div>
195                                                                                                                 <div id="aftereventusetimespancontent" class="optionSub">
196                                                                                                                         From:
197                                                                                                                         <input id="aftereventfrom" type="text" class="input timepicker" size="6" value="${afterevent.from}">
198                                                                                                                         To:
199                                                                                                                         <input id="aftereventto" type="text" class="input timepicker" size="6" value="${afterevent.to}">
200                                                                                                                 </div>
201                                                                                                         </td>
202                                                                                                 </tr>
203                                                                                         </table>        
204                                                                                 </td>
205                                                                         </tr>
206                                                                         <tr>
207                                                                                 <td class="optionTitle">Counter:</td>
208                                                                                 <td class="optionContent">
209                                                                                         <table border="0" cellpadding="0" cellspacing="0"> 
210                                                                                                 <tr>
211                                                                                                         <td class="optionMain">
212                                                                                                                 Max:
213                                                                                                                 <select id="counter" size="1" class="select">
214                                                                                                                         {for e in counter.options}
215                                                                                                                                 <option value="${e.value}" ${e.selected}>${e.txt}</option>
216                                                                                                                         {/for}  
217                                                                                                                 </select>
218                                                                                                         </td>
219                                                                                                         <td>
220                                                                                                                 <table id="countercontent" class="optionSub">
221                                                                                                                         <tr>
222                                                                                                                                 <td>
223                                                                                                                                         Left:
224                                                                                                                                         <select id="left" size="1" class="select">
225                                                                                                                                                 {for e in counter.left}
226                                                                                                                                                         <option value="${e.value}" ${e.selected}>${e.txt}</option>
227                                                                                                                                                 {/for}  
228                                                                                                                                         </select>
229                                                                                                                                         Reset:
230                                                                                                                                         <select id="counterFormat" size="1" class="select">
231                                                                                                                                                 {for e in counter.counterFormat}
232                                                                                                                                                         <option value="${e.value}" ${e.selected}>${e.txt}</option>
233                                                                                                                                                 {/for}  
234                                                                                                                                         </select>
235                                                                                                                                 </td>
236                                                                                                                         </tr>
237                                                                                                                         <tr>
238                                                                                                                                 <td>
239                                                                                                                                         Last activation:
240                                                                                                                                         <input id="lastActivation" type="text" class="input" size="20" value="${counter.lastActivation}" DISABLED>
241                                                                                                                                 </td>
242                                                                                                                         </tr>
243                                                                                                                         <tr>
244                                                                                                                                 <td>
245                                                                                                                                         Last begin:
246                                                                                                                                         <input id="lastBegin" type="text" class="input" size="20" value="${counter.lastBegin}" DISABLED>
247                                                                                                                                 </td>
248                                                                                                                         </tr>
249                                                                                                                 </table>
250                                                                                                         </td>
251                                                                                                 </tr>
252                                                                                         </table>
253                                                                                 </td>
254                                                                         </tr>
255                                                                         <tr>
256                                                                                 <td class="optionTitle">Avoid duplicate description:</td>
257                                                                                 <td class="optionContent">
258                                                                                         <select id="avoidDuplicateDescription" size="1" class="select">
259                                                                                                 {for e in avoidDuplicateDescription}
260                                                                                                         <option value="${e.value}" ${e.selected}>${e.txt}</option>
261                                                                                                 {/for}  
262                                                                                         </select>
263                                                                                 </td>
264                                                                         </tr>
265                                                                         <tr>
266                                                                                 <td class="optionTitle">Location:</td>
267                                                                                 <td class="optionContent">
268                                                                                         <table border="0" cellpadding="0" cellspacing="0"> 
269                                                                                                 <tr>
270                                                                                                         <td class="optionMain">
271                                                                                                                 <input id="locationavailable" type="checkbox" class="input" ${location.uselocation}>
272                                                                                                         </td>
273                                                                                                         <td>
274                                                                                                                 <div id="locationavailablecontent" class="optionSub">
275                                                                                                                         <select id="location" size="1" class="select">
276                                                                                                                                 {for l in location.locations}
277                                                                                                                                         <option value="${l.value}" ${l.selected}>${l.txt}</option>
278                                                                                                                                 {/for}
279                                                                                                                         </select>
280                                                                                                                 </div>
281                                                                                                         </td>
282                                                                                                 </tr>
283                                                                                         </table>
284                                                                                 </td>
285                                                                         </tr>
286                                                                         <tr>
287                                                                                 <td class="optionTitle">Tags:</td>
288                                                                                 <td class="optionContent">
289                                                                                         <div id="taglist">
290                                                                                                 {for t in tags}
291                                                                                                         <a href="#" class="tags ${t.selected}" data-value="${t.value}" data-selected="${t.selected}">&nbsp;${t.txt}&nbsp;</a>
292                                                                                                 {/for}
293                                                                                         </div>
294                                                                                 </td>
295                                                                         </tr>
296                                                                         <tr>
297                                                                                 <td class="optionTitle">Filter:</td>
298                                                                                 <td class="optionContent">
299                                                                                         <table border="0" cellpadding="0" cellspacing="0"> 
300                                                                                                 <tr>
301                                                                                                         <td class="optionMain">
302                                                                                                                 <input id="usefilters" type="checkbox" class="input" ${filters.usefilters}>
303                                                                                                         </td>
304                                                                                                         <td>
305                                                                                                                 <div id="usefilterscontent" class="optionSub">
306                                                                                                                         <table id="filterlist" class="list">
307                                                                                                                                 {for f in filters.filters}
308                                                                                                                                         <tr class="filter">
309                                                                                                                                                 <td class="nopadding">
310                                                                                                                                                         <select size="1" class="select">
311                                                                                                                                                                 {for ft in f.type}
312                                                                                                                                                                         <option value="${ft.value}" ${ft.selected}>${ft.txt}</option>
313                                                                                                                                                                 {/for}
314                                                                                                                                                         </select>
315                                                                                                                                                 </td>
316                                                                                                                                                 <td class="nopadding">
317                                                                                                                                                         <select size="1" class="select filterwhere">
318                                                                                                                                                                 {for fw in f.where}
319                                                                                                                                                                         <option value="${fw.value}" ${fw.selected}>${fw.txt}</option>
320                                                                                                                                                                 {/for}
321                                                                                                                                                         </select>
322                                                                                                                                                 </td>
323                                                                                                                                                 <td class="nopadding">
324                                                                                                                                                         <input type="text" class="input fixedwidth" size="20" value="${f.text}">
325                                                                                                                                                         <select size="1" class="select fixedwidth">
326                                                                                                                                                                 {for fwd in f.weekdays}
327                                                                                                                                                                         <option value="${fwd.value}" ${fwd.selected}>${fwd.txt}</option>
328                                                                                                                                                                 {/for}
329                                                                                                                                                         </select>
330                                                                                                                                                 </td>
331                                                                                                                                                 <td class=${f.class}></td>
332                                                                                                                                         </tr>
333                                                                                                                                 {/for}
334                                                                                                                         </table>
335                                                                                                                 </div>
336                                                                                                         </td>
337                                                                                                 </tr>
338                                                                                         </table>
339                                                                                 </td>
340                                                                         </tr>
341                                                                         <tr>
342                                                                                 <td class="optionTitle">Bouquets:</td>
343                                                                                 <td class="optionContent">
344                                                                                         <table border="0" cellpadding="0" cellspacing="0"> 
345                                                                                                 <tr>
346                                                                                                         <td class="optionMain">
347                                                                                                                 <input id="usebouquets" type="checkbox" class="input" ${bouquets.usebouquets}>
348                                                                                                         </td>
349                                                                                                         <td>
350                                                                                                                 <div id="usebouquetscontent" class="optionSub">
351                                                                                                                         <table id="bouquetlist" class="list">
352                                                                                                                                 {for b in bouquets.bouquets}
353                                                                                                                                         <tr class="bouquet">
354                                                                                                                                                 <td class="nopadding">
355                                                                                                                                                         <select size="1" class="select fixedwidthbouquet">
356                                                                                                                                                                 {for bb in b.bouquet}
357                                                                                                                                                                         <option value="${bb.value}" ${bb.selected}>${bb.txt}</option>
358                                                                                                                                                                 {/for}
359                                                                                                                                                         </select>
360                                                                                                                                                 </td>
361                                                                                                                                                 <td class=${b.class}></td>
362                                                                                                                                         </tr>
363                                                                                                                                 {/for}
364                                                                                                                         </table>
365                                                                                                                 </div>
366                                                                                                         </td>
367                                                                                                 </tr>
368                                                                                         </table>
369                                                                                 </td>
370                                                                         </tr>
371                                                                         <tr>
372                                                                                 <td class="optionTitle">Services:</td>
373                                                                                 <td class="optionContent">
374                                                                                         <table border="0" cellpadding="0" cellspacing="0"> 
375                                                                                                 <tr>
376                                                                                                         <td class="optionMain">
377                                                                                                                 <input id="useservices" type="checkbox" class="input" ${services.useservices}>
378                                                                                                         </td>
379                                                                                                         <td>
380                                                                                                                 <div id="useservicescontent" class="optionSub">
381                                                                                                                         <table id="servicelist" class="list">
382                                                                                                                                 {for s in services.services}
383                                                                                                                                         <tr class="service">
384                                                                                                                                                 <td class="nopadding">
385                                                                                                                                                         <select size="1" class="select servicebouquet fixedwidthbouquet">
386                                                                                                                                                                 {for b in s.bouquet}
387                                                                                                                                                                         <option value="${b.value}" ${b.selected}>${b.txt}</option>
388                                                                                                                                                                 {/for}
389                                                                                                                                                         </select>
390                                                                                                                                                 </td>
391                                                                                                                                                 <td class="nopadding">
392                                                                                                                                                         <select size="1" class="select fixedwidthservice">
393                                                                                                                                                                 {for ss in s.service}
394                                                                                                                                                                         <option value="${ss.value}" ${ss.selected}>${ss.txt}</option>
395                                                                                                                                                                 {/for}
396                                                                                                                                                         </select>
397                                                                                                                                                 </td>
398                                                                                                                                                 <td class=${s.class}></td>
399                                                                                                                                         </tr>
400                                                                                                                                 {/for}
401                                                                                                                         </table>
402                                                                                                                 </div>
403                                                                                                         </td>
404                                                                                                 </tr>
405                                                                                         </table>
406                                                                                 </td>
407                                                                         </tr>
408                                                                         <tr>
409                                                                                 <td class="optionTitle">VPS:</td>
410                                                                                 <td class="optionContent">
411                                                                                         <table border="0" cellpadding="0" cellspacing="0"> 
412                                                                                                 <tr>
413                                                                                                         <td class="optionMain">
414                                                                                                                 <input id="vps_enabled" type="checkbox" class="input" ${vps.vps_enabled}>
415                                                                                                         </td>
416                                                                                                         <td>
417                                                                                                                 <div id="vps_enabledcontent" class="optionSub">
418                                                                                                                         VPS Overwrite:
419                                                                                                                         <input id="vps_overwrite" type="checkbox" class="input" ${vps.vps_overwrite}>
420                                                                                                                 </div>
421                                                                                                         </td>
422                                                                                                 </tr>
423                                                                                         </table>
424                                                                                 </td>
425                                                                         </tr>
426                                                                 </table>
427                                                         </td>
428                                                 </tr>
429                                                 <tr>
430                                                         <td>
431                                                                 <hr />
432                                                                         <div class="buttonbar">
433                                                                         <button type="button" id="save">Save</button>
434                                                                         <button type="button" id="cancel">Cancel</button>
435                                                                 </div>
436                                                         </td>
437                                                 </tr>
438                                         </table>
439                                 </div>
440                         </div>
441 <!-- /tplAutoTimerEditor -->