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