add RSS aka Livebookmarks for Recordings
[enigma2-plugins.git] / webinterface / src / web / index.html.xml
1 <e2:screen name="TestScreen">&lt;html>
2 <head>
3         <meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
4         <title>Enigma 2 realtime OSD example </title>
5         <!--load everything for prototype and prototype window -->
6
7         <script type="text/javascript" src="/webdata/lib/prototype.js" />
8         <script type="text/javascript" src="/webdata/lib/ptwindow/effects.js" />
9         <script type="text/javascript" src="/webdata/lib/ptwindow/window.js" />
10         <!--script type="text/javascript" src="/webdata/lib/ptwindow/debug.js" /-->
11
12         <link href="/webdata/lib/ptwindow/themes/default.css" rel="stylesheet" type="text/css" />
13         <link href="/webdata/lib/ptwindow/themes/alphacube.css" rel="stylesheet" type="text/css" />
14         
15         <!-- our stuff -->
16         <script type="text/javascript" src="/webdata/tools.js" />
17         
18         <link href="/webdata/style.css" type="text/css" rel="stylesheet" />
19
20         <!-- Live RSS Feeds //-->
21         <link rel="alternate" type="application/rss+xml" title="Movie List" href="/web/movielist.rss" />
22
23 </head>
24
25 <body>
26 <div id="BodyContentDebugbox"></div>
27 <div id="Main">
28         
29         <!--div id="Banner">Enigma2 Webinterface</div>
30         <div class="spacer10"></div-->
31         <div id="Nav">  
32                         <div id="NavHd">NAVIGATION</div>
33                         
34                         <table cellpadding="0" cellspacing="0" id="navTable">
35                                 <tr>
36                                         <td class="NavEl"><a class="NavEl" href="#">Nav1</a></td>
37                                 </tr>
38                                 <tr>
39                                         <td class="NavEl"><a class="NavEl" href="#">Nav2</a></td>
40                                 </tr>
41                         </table>
42         </div>
43         <div id="Content">
44                 <div id="EventNowNext" class="bgMain">
45             
46                     <div class="divblock">
47                                 <div id="CurrentService"></div>
48                                 <div id="VolumePanel"></div>
49                                 <div id="CurrentTime"></div>
50                     </div>
51                     
52                     <div class="divblock">
53                       <div style="width:5%; float:left;" onclick="showhide('Event_Now_Extended_Description')" class="event" id="Event_Now_Begin"></div>
54                       <div style="width:65%; float:left;" onclick="showhide('Event_Now_Extended_Description')" class="event" id="Event_Now_Name"></div>
55                       <div style="width:30%; float:left;" onclick="showhide('Event_Now_Extended_Description')" class="eventRA" id="Event_Now_Remaining"></div>
56                     </div>
57                     
58                     <div class="divblock">
59                       <div class="eventExtDesc" id="Event_Now_Extended_Description"></div>
60                     </div>
61                     
62                     <div class="divblock" onclick="showhide('Event_Next_Extended_Description');">
63                       <div style="width:5%; float:left;" class="event" id="Event_Next_Begin"></div>
64                       <div style="width:65%; float:left;" class="event" id="Event_Next_Name"></div>
65                       <div style="width:30%; float:left;" class="eventRA" id="Event_Next_Remaining"></div>
66                     </div>
67                     
68                     <div class="divblock">
69                       <div style="display:none;" class="eventExtDesc" id="Event_Next_Extended_Description"></div>
70                     </div>
71                 </div>
72                 <hr />
73                 
74                 <div id="BodyContentChannellist" class="BodyContentChannellist"></div>
75                 <div id="BodyContentMessageform" style="display:none;"></div>
76                 <div id="BodyContentPower" style="display:none;"></div>
77                 <div id="BodyContentHDD" style="display:none;">
78                         <iframe src="/hdd/" width="100%" height="400"/>
79                 </div>
80
81                         
82         
83         </div>
84 </div>
85 <!--iframe onload="hide(this)" width="0" id="updates" height="0" src="updates.html" name="updates" scrolling="none" frameborder="0">no iframe support!</iframe-->
86 <script type="text/javascript" >
87
88 initVolumePanel();
89
90 refreshChannellist('Favourites (TV)', '1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.favourites.tv" ORDER BY bouquet');
91 setBodyMainContent('BodyContentChannellist');
92 function imdb()
93 {
94         w = window.open("http://www.imdb.com/find?s=all&amp;q=" + escape(document.getElementById("Event_Now_Name").innerHTML));
95         w.focus();
96         set("BodyContentChannellist", "TEST!!!");
97 }
98
99 </script>
100
101 </body>
102 &lt;div id="scriptzone">
103 <!-- realtime updates follow -->
104 <e2:element source="CurrentTime" streaming="yes">
105   <e2:convert type="ClockToText">WithSeconds</e2:convert>
106         <e2:convert type="web:JavascriptUpdate" />
107 </e2:element>
108 <e2:element source="CurrentService" streaming="yes">
109         <e2:convert type="ServiceName">Name</e2:convert>
110         <e2:convert type="web:JavascriptUpdate" />
111 </e2:element>
112 <e2:element source="Event_Now" id="Event_Now_Name" streaming="yes">
113         <e2:convert type="EventName">Name</e2:convert>
114         <e2:convert type="web:JavascriptUpdate" />
115 </e2:element>
116 <e2:element source="Event_Now" id="Event_Now_Extended_Description" streaming="yes">
117         <e2:convert type="EventName">ExtendedDescription</e2:convert>
118         <e2:convert type="web:JavascriptUpdate" />
119 </e2:element>
120 <e2:element source="Event_Now" id="Event_Now_Begin" streaming="yes">
121         <e2:convert type="EventTime">StartTime</e2:convert>
122   <e2:convert type="ClockToText">Default</e2:convert>
123         <e2:convert type="web:JavascriptUpdate" />
124 </e2:element>
125
126 <e2:element source="Event_Now" id="Event_Now_Remaining" streaming="yes">
127         <e2:convert type="EventTime">Remaining</e2:convert>
128         <e2:convert type="RemainingToText">InMinutes</e2:convert>
129         <e2:convert type="web:JavascriptUpdate" />
130 </e2:element>
131
132
133 <e2:element source="Event_Next" id="Event_Next_Name" streaming="yes">
134   <e2:convert type="EventName">Name</e2:convert>
135   <e2:convert type="web:JavascriptUpdate" />
136 </e2:element>
137 <e2:element source="Event_Next" id="Event_Next_Begin" streaming="yes">
138         <e2:convert type="EventTime">StartTime</e2:convert>
139         <e2:convert type="ClockToText">Default</e2:convert>
140         <e2:convert type="web:JavascriptUpdate" />
141 </e2:element>
142
143 <e2:element source="Event_Next" id="Event_Next_Remaining" streaming="yes">
144   <e2:convert type="EventTime">Remaining</e2:convert>
145   <e2:convert type="RemainingToText">InMinutes</e2:convert>
146   <e2:convert type="web:JavascriptUpdate" />
147 </e2:element>
148 <e2:element source="Event_Next" id="Event_Next_Extended_Description" streaming="yes">
149         <e2:convert type="EventName">ExtendedDescription</e2:convert>
150         <e2:convert type="web:JavascriptUpdate" />
151 </e2:element>
152                 
153                 
154
155 </e2:screen>