webinterface: use font-awesome for icons. Disable all styles but "modern" for now
[enigma2-plugins.git] / webinterface / src / web-data / tpl / default / tplTimerList.htm
1
2 <!-- tplTimerList -->
3                                                 <table id="contentTable" style="width: 100%;">
4                                                         {for t in timer}
5                                                         <tr style="width:100%;">
6                                                                 <td class="timerList tListItem"
7                                                                         data-servicereference="${t.servicereference}"
8                                                                         data-servicename="${t.servicename.e()}"
9                                                                         data-description="${t.description.e()}"
10                                                                         data-name="${t.name.e()}"
11                                                                         data-eventid="${t.eventid}"
12                                                                         data-begin="${t.begin}"
13                                                                         data-end="${t.end}"
14                                                                         data-repeated="${t.repeated}"
15                                                                         data-justplay="${t.justplay}"
16                                                                         data-dirname="${t.dirname}"
17                                                                         data-tags="${t.tags}"
18                                                                         data-afterevent="${t.afterevent}"
19                                                                         data-disabled="${t.disabled}">
20                                                                         <a href="#" class="tListEdit" title="${strings.edit_timer} ${t.name}">
21                                                                                 <table class="tListItemTable">
22                                                                                         <tr class="tListHead">
23                                                                                                 <td colspan="4" rowspan="1" class="tListSName" title="${t.description.escapeHTML()}, ${t.descriptionextended.escapeHTML()}">
24                                                                                                 ${t.name} - {if t.description == ''} N/A {else} ${t.description} {/if} (${t.servicename})
25                                                                                                 </td>
26                                                                                         </tr>
27                                                                                         <tr>
28                                                                                                 <td class="tListRepeat">${t.repeatedReadable}</td>
29                                                                                                 <td class="tListBegin">${t.beginDate}</td>
30                                                                                                 <td class="tListType">${t.justplayReadable}</td>
31                                                                                                 <td rowspan="2" class="tListOption"></td>
32                                                                                         </tr>
33                                                                                         <tr class="tListItem">
34                                                                                                 <td class="tListDuration">${t.duration}&nbsp;Min</td>
35                                                                                                 <td class="tListEnd">${t.endDate}</td>
36                                                                                                 <td class="tListAfter">${t.aftereventReadable}</td>
37                                                                                         </tr>
38                                                                                 </table>
39                                                                         </a>
40                                                                         <span class="timerState${t.state} timerState">&nbsp;</span>
41                                                                         <a href="#" class="tListDelete" title="${strings.delete_timer} ${t.name}">
42                                                                                 <button class="tListButton"><i class="fa fa-2x fa-trash"></i><div>${strings.delete}</div></button>
43                                                                         </a>
44                                                                         <a href="#" class="tListToggleDisabled" title="${t.enDis} ${strings.timer} ${t.name}">
45                                                                                 <button class="tListButton"><i class="fa fa-2x 
46                                                                                         {if t.disabled == '1'}fa-minus-circle{else}fa-check-circle{/if}"></i><div>${t.enDis}</div></button>
47                                                                         </a>
48                                                                 </td>
49                                                         </tr>
50                                                         {forelse}
51                                                         <tr style="width:100%;">
52                                                                 <td>${strings.no_timer}</td>
53                                                         </tr>
54                                                         {/for}
55                                                         <tr>
56                                                                 <td>
57                                                                         <div class="legendRow">
58                                                                                 <div class="legendCol">${strings.legend}:</div>
59                                                                                 <div class="legendCol timerState0">${strings.waiting}</div>
60                                                                                 <div class="legendCol timerState1">${strings.error}</div>
61                                                                                 <div class="legendCol timerState2">${strings.running}</div>
62                                                                                 <div class="legendCol timerState3">${strings.finished}</div>
63                                                                         </div>
64                                                                 </td>
65                                                         </tr>
66                                                         <tr style="width:100%;">
67                                                                 <td>
68                                                                         <button class="tListCleanup" title="${strings.note_timerlist_cleanup}">${strings.cleanup}</button>
69                                                                 </td>
70                                                         </tr>
71                                                 </table>
72 <!-- /tplTimerList -->