webinterface: hide markers when filtering by servicename
[enigma2-plugins.git] / webinterface / src / web-data / tpl / default / tplServiceList.htm
1
2 <!-- tplServiceList -->
3                                                                         <table>
4                                                                                 {for item in items}
5                                                                                 {if item.now.ismarker}
6                                                                                 <tr class="sListRow">
7                                                                                         <td class="sListMarker">${item.now.servicename}</td>
8                                                                                 </tr>
9                                                                                 {else}
10                                                                                 <tr class="sListRow" data-servicename="${item.now.servicename}">
11                                                                                         <td class="${item.cssclass}">
12                                                                                                 <table class="sListItem">
13                                                                                                         <tr>
14                                                                                                                 <td id="PROGRESS${item.now.servicereference}" style="width: 60px;">
15                                                                                                                         <div class="sListSProgress" title="${item.now.progress}%"><div class="sListSProgressBar" style="width: ${item.now.progress}%"></div></div>
16                                                                                                                 </td>
17                                                                                                                 <td style="width: 460px;">
18                                                                                                                         <div class="sListSName">
19
20                                                                                                                                 <a href="#" id="${item.now.servicereference}" class="sListSLink" title="${strings.zap_to_channel.format(item.now.servicename)}">${item.now.servicename}</a>
21                                                                                                                         </div>
22                                                                                                                 </td>
23                                                                                                                 <td>
24                                                                                                                         <a href="#" class="sListServiceEpg right block" data-servicereference="${item.now.servicereference}">
25                                                                                                                                 <img src="/web-data/img/epg.png" border="0" title="${strings.show_epg_for.format(item.now.servicename)}"/>
26                                                                                                                         </a>
27                                                                                                                 </td>
28                                                                                                                 <td>
29                                                                                                                         <a class="right block" target="_blank" href="/web/stream.m3u?ref=${item.now.servicereference}">
30                                                                                                                                 <img src="/web-data/img/screen.png" title="${strings.stream_channel.format(item.now.servicename)}" border="0" />
31                                                                                                                         </a>
32                                                                                                                 </td>
33                                                                                                         </tr>
34                                                                                                         <tr class="sListEPGNow">
35                                                                                                                 <td id="NOW${item.now.servicereference}" class="sListEPGItem" colspan="4">
36                                                                                                                         {if item.now.title != ''}
37                                                                                                                         <table cellspacing="0">
38                                                                                                                                 <tr>
39                                                                                                                                         <td class="epgStart">${item.now.starttime}</td>
40                                                                                                                                         <td class="epgTitle">
41                                                                                                                                                 <a href="#" class="sListExtEpg" title="${strings.show_hide_extended_desc}">
42                                                                                                                                                         <img class="sListBulletToggle" src="/web-data/img/toggle_expand_small.png" alt="+">&nbsp;${item.now.title}
43                                                                                                                                                 </a>
44                                                                                                                                         </td>
45                                                                                                                                         {if item.now.duration != item.now.remaining}
46                                                                                                                                         <td class="epgLength">+${item.now.remaining} ${strings.of} ${item.now.duration}</td>
47                                                                                                                                         {else}
48                                                                                                                                         <td class="epgLength">${item.now.duration}</td>
49                                                                                                                                         {/if}
50                                                                                                                                 </tr>
51                                                                                                                                 <tr class="sListExtEpgLong" style="display:none">
52                                                                                                                                         <td colspan="4" class="epgListItem epgLong"
53                                                                                                                                                 data-servicereference="${item.now.servicereference}"
54                                                                                                                                                 data-servicename="${item.now.servicename}"
55                                                                                                                                                 data-eventid="${item.now.eventid}"
56                                                                                                                                                 data-start="${item.now.start}"
57                                                                                                                                                 data-end=${item.now.end}
58                                                                                                                                                 data-title="${item.now.title}"
59                                                                                                                                                 data-description="${item.now.description}">${item.now.extdescription}<br>
60                                                                                                                                                 <div class="leftCol">
61                                                                                                                                                         <a target="_blank" href="/web/epgsearch.rss?search=${item.now.title}" ><img src="/web-data/img/feed.png" title="RSS-Feed (${item.now.title.e()})" border="0"></a>&nbsp;&nbsp;
62                                                                                                                                                         <a target="_blank" href="http://www.imdb.com/find?s=all&amp;q=${item.now.titleESC}" ><img src="/web-data/img/imdb.png" title="${strings.imdb_lookup}" border="0"></a>
63                                                                                                                                                 </div>
64                                                                                                                                                 <div class="right rightCol">
65                                                                                                                                                         <a href="#" class="sListAddTimer"><img src="/web-data/img/clock.png" title="${strings.add_timer}" onClick="return false;" border="0"></a>&nbsp;&nbsp;
66                                                                                                                                                         <a href="#" class="sListZapTimer"><img src="/web-data/img/clock_play.png" title="${strings.add_zap_timer}" onClick="return false;" border="0"></a>&nbsp;&nbsp;
67                                                                                                                                                         <a href="#" class="sListEditTimer"><img src="/web-data/img/clock_edit.png" title="${strings.edit_timer}" onClick="return false;" border="0"></a>&nbsp;&nbsp;
68                                                                                                                                                 </div>
69                                                                                                                                         </td>
70                                                                                                                                 </tr>
71                                                                                                                         </table>
72                                                                                                                         {/if}
73                                                                                                                 </td>
74                                                                                                         </tr>
75                                                                                                         <tr class="sListEPGNext">
76                                                                                                                 <td id="NEXT${item.now.servicereference}" class="sListEPGItem" colspan="4">
77                                                                                                                         {if item.next.title != ''}
78                                                                                                                         <table cellspacing="0">
79                                                                                                                                 <tr>
80                                                                                                                                         <td class="epgStart">${item.next.starttime}</td>
81                                                                                                                                         <td class="epgTitle">
82                                                                                                                                                 <a href="#" class="sListExtEpg" title="${strings.show_hide_extended_desc}">
83                                                                                                                                                         <img class="sListBulletToggle" src="/web-data/img/toggle_expand_small.png" alt="+">&nbsp;${item.next.title}
84                                                                                                                                                 </a>
85                                                                                                                                         </td>
86                                                                                                                                         {if item.next.duration != item.next.remaining}
87                                                                                                                                         <td class="epgLength">+${item.next.remaining} of ${item.next.duration}</td>
88                                                                                                                                         {else}
89                                                                                                                                         <td class="epgLength">${item.next.duration}</td>
90                                                                                                                                         {/if}
91                                                                                                                                 </tr>
92                                                                                                                                 <tr class="sListExtEpgLong" style="display:none">
93                                                                                                                                         <td colspan="4" class="epgListItem epgLong"
94                                                                                                                                                 data-servicereference="${item.next.servicereference}"
95                                                                                                                                                 data-servicename="${item.next.servicename}"
96                                                                                                                                                 data-eventid="${item.next.eventid}"
97                                                                                                                                                 data-start="${item.next.start}"
98                                                                                                                                                 data-end=${item.next.end}
99                                                                                                                                                 data-title="${item.next.title}"
100                                                                                                                                                 data-description="${item.next.description}">${item.next.extdescription}<br>
101                                                                                                                                                 <div class="leftCol">
102                                                                                                                                                         <a target="_blank" href="/web/epgsearch.rss?search=${item.next.title}" ><img src="/web-data/img/feed.png" title="RSS-Feed (${item.now.title.e()})" border="0"></a>&nbsp;&nbsp;
103                                                                                                                                                         <a target="_blank" href="http://www.imdb.com/find?s=all&amp;q=${item.next.titleESC}" ><img src="/web-data/img/imdb.png" title="${strings.imdb_lookup}" border="0"></a>
104                                                                                                                                                 </div>
105                                                                                                                                                 <div class="right rightCol">
106                                                                                                                                                         <a href="#" class="sListAddTimer"><img src="/web-data/img/clock.png" title="${strings.add_timer}" onClick="return false;" border="0"></a>&nbsp;&nbsp;
107                                                                                                                                                         <a href="#" class="sListZapTimer"><img src="/web-data/img/clock_play.png" title="${strings.add_zap_timer}" onClick="return false;" border="0"></a>&nbsp;&nbsp;
108                                                                                                                                                         <a href="#" class="sListEditTimer"><img src="/web-data/img/clock_edit.png" title="${strings.edit_timer}" onClick="return false;" border="0"></a>&nbsp;&nbsp;
109                                                                                                                                                 </div>
110                                                                                                                                 </tr>
111                                                                                                                         </table>
112                                                                                                                         {/if}
113                                                                                                                 </td>
114                                                                                                         </tr>
115                                                                                                         <tr id="trSUB${item.now.servicereference}" class="sListSubService" style="display:none;">
116                                                                                                                 <td id="SUB${item.now.servicereference}" colspan="4"></td>
117                                                                                                         </tr>
118                                                                                                 </table>
119                                                                                         </td>
120                                                                                 </tr>
121                                                                                 {/if}
122                                                                                 {forelse}
123                                                                                 <tr>
124                                                                                         <td>
125                                                                                                 <table><tr><td>${strings.no_service}</td></tr></table>
126                                                                                         </td>
127                                                                                 </tr>
128                                                                                 {/for}
129                                                                         </table>
130 <!-- /tplServiceList -->