Fix timerstuff in EPG
[enigma2-plugins.git] / webinterface / src / web-data / tpl / default / tplEpgList.htm
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional"
2        "http://www.w3.org/TR/html4/loose.dtd">
3 <html>
4         <head>
5                 <meta content="text/html; charset=UTF-8" http-equiv="content-type">
6                 <title>Enigma2 WebControl - EPG</title>
7                 
8                 <link href="/web-data/tpl/default/style.css" type="text/css" rel="stylesheet">
9         </head>
10         <body style="scrollbar: auto; color: #485052;">
11                 <table style="width: 100%">
12                         <tr>
13                                 <td>
14                                         {for e in epg}
15                                         <table class="epgListItem" width="100%" border="0" cellspacing="1" cellpadding="0">
16                                                 <tr style="background-color: #DDDDDD;">
17                                                         <td width="10%">${e.date}</td>
18                                                         <td width="30%">${e.servicename}</td>
19                                                         <td>${e.title}</td>
20                                                 </tr>
21
22                                                 <tr style="background-color: #DDDDDD;">
23                                                         <td>${e.starttime}</td>
24                                                         <td>${e.duration} min.</td>
25                                                         <td>${e.description}</td>
26                                                 </tr>
27
28                                                 <tr style="background-color: #DDDDDD;">
29                                                         <td valign="top">${e.endtime}</td>
30                                                         <td colspan="2"rowspan="2" id="extdescription${e.number}">${e.extdescription}</td>
31                                                 </tr>
32
33                                                 <tr style="background-color: #DDDDDD;">
34                                                         <td>
35                                                                 <a href="#" onclick="return false;"><img src="/web-data/img/timer.png" title="Add Timer" border="0" onclick=" if( opener.parentPin( '${e.servicereference}' ) ) { opener.addTimerByID('${e.servicereference}','${e.eventid}','0');}"></a>&nbsp;&nbsp;
36                                                                 <a href="#" onclick="return false;"><img src="/web-data/img/zap.png" title="Add zap Timer" border="0" onclick="if ( opener.parentPin( '${e.servicereference}' ) ) { opener.addTimerByID('${e.servicereference}','${e.eventid}','1');}"></a>&nbsp;&nbsp;
37                                                                 <a href="#" onclick="return false;"><img src="/web-data/img/edit.png" title="Edit and add timer" border="0" onclick="opener.loadTimerEditForm(0,'${e.start}','${e.end}',0,'${e.servicereference}','${e.servicename}','${e.title}','${e.description}','0',0,'${e.eventid}');"></a><br/>
38                                                                 <a target="_blank" href="/web/epgsearch.rss?search=${e.title}" ><img src="/web-data/img/feed.png" title="RSS-Feed for this Title" border="0"></a><br/>
39                                                                 <a target="_blank" href="http://www.imdb.com/find?s=all&amp;q=${e.titleESC}" ><img src="/web-data/img/world.png" title="Search IMDb" border="0"></a><br/>
40                                                         </td>
41                                                 </tr>
42                                                 <tr>
43                                                         <td colspan="3">&nbsp;</td>
44                                                 </tr>
45                                         </table>
46                                         {/for}
47                                 </td>
48                         </tr>
49                 </table>
50         </body>
51 </html>