it seems 3c5x9 doesn't like IE ;)
[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 Webinterface (ALPHA)</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/templates.js" />
17         <script type="text/javascript" src="/webdata/tools.js" />
18
19         <link href="/webdata/style.css" type="text/css" rel="stylesheet" />
20
21         <!-- Live RSS Feeds //-->
22         <link rel="alternate" type="application/rss+xml" title="Movie List" href="/web/movielist.rss" />
23 </head>
24
25 <body>
26 <div id="BodyContentDebugbox"></div>
27 <div id="Main">
28         <div id="nav">  
29                 <div id="NavHd">NAVIGATION</div>
30                 
31                 <table cellpadding="0" cellspacing="0" id="navTable">
32                         <tr>
33                                 <td class="NavEl"><a class="NavEl" href="#">Nav1</a></td>
34                         </tr>
35                         <tr>
36                                 <td class="NavEl"><a class="NavEl" href="#">Nav2</a></td>
37                         </tr>
38                 </table>
39         </div>
40         <div id="Content">
41                 <div id="EventNowNext" class="bgMain">
42
43                     <div id="ServiceInfo">
44                                 <div id="CurrentService"></div>
45                                 <div id="VolumePanel"></div>
46                                 <div id="CurrentTime"></div>
47                     </div>
48                     
49                     <div class="divblock">
50                                 <div style="width:5%; float:left;" onclick="showhide('Event_Now_Extended_Description')" class="event" id="Event_Now_Begin"></div>
51                                 <div style="width:65%; float:left;" onclick="showhide('Event_Now_Extended_Description')" class="event" id="Event_Now_Name"></div>
52                                 <div style="width:30%; float:left;" onclick="showhide('Event_Now_Extended_Description')" class="eventRA" id="Event_Now_Remaining"></div>
53                     </div>
54                     
55                     <div class="divblock">
56                                 <div class="eventExtDesc" id="Event_Now_Extended_Description"></div>
57                     </div>
58                     
59                     <div class="divblock" onclick="showhide('Event_Next_Extended_Description');">
60                                 <div style="width:5%; float:left;" class="event" id="Event_Next_Begin"></div>
61                                 <div style="width:65%; float:left;" class="event" id="Event_Next_Name"></div>
62                                 <div style="width:30%; float:left;" class="eventRA" id="Event_Next_Remaining"></div>
63                     </div>
64                     
65                     <div class="divblock">
66                                 <div style="display:none;" class="eventExtDesc" id="Event_Next_Extended_Description"></div>
67                     </div>
68                 </div>
69                 <hr />
70                 
71                 <div id="BodyContentChannellist" class="BodyContentChannellist"></div>
72
73         </div>
74 </div>
75 <!--iframe onload="hide(this)" width="0" id="updates" height="0" src="updates.html" name="updates" scrolling="none" frameborder="0">no iframe support!</iframe-->
76 <script type="text/javascript" >
77 if(DBG) { debugWin = openWindow("DEBUG", "", 300, 300, "debugWindow"); }
78 initVolumePanel();
79 initSignalPanel();
80
81 refreshChannellist('Favourites (TV)', '1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.favourites.tv" ORDER BY bouquet');
82 setBodyMainContent('BodyContentChannellist');
83 function imdb()
84 {
85         w = window.open("http://www.imdb.com/find?s=all&amp;q=" + escape(document.getElementById("Event_Now_Name").innerHTML));
86         w.focus();
87         set("BodyContentChannellist", "TEST!!!");
88 }
89
90 </script>
91
92 </body>
93 &lt;div id="scriptzone">
94 <!-- realtime updates follow -->
95 <e2:element source="CurrentTime" streaming="yes">
96         <e2:convert type="ClockToText">WithSeconds</e2:convert>
97         <e2:convert type="web:JavascriptUpdate" />
98 </e2:element>
99
100 <e2:element source="CurrentService" streaming="yes">
101 <e2:convert type="ServiceName">Name</e2:convert>
102 <e2:convert type="web:JavascriptUpdate" />
103 </e2:element>
104
105 <e2:element source="Event_Now" id="Event_Now_Name" streaming="yes">
106         <e2:convert type="EventName">Name</e2:convert>
107         <e2:convert type="web:JavascriptUpdate" />
108 </e2:element>
109
110 <e2:element source="Event_Now" id="Event_Now_Extended_Description" streaming="yes">
111         <e2:convert type="EventName">ExtendedDescription</e2:convert>
112         <e2:convert type="web:JavascriptUpdate" />
113 </e2:element>
114
115 <e2:element source="Event_Now" id="Event_Now_Begin" streaming="yes">
116         <e2:convert type="EventTime">StartTime</e2:convert>
117         <e2:convert type="ClockToText">Default</e2:convert>
118         <e2:convert type="web:JavascriptUpdate" />
119 </e2:element>
120
121 <e2:element source="Event_Now" id="Event_Now_Remaining" streaming="yes">
122         <e2:convert type="EventTime">Remaining</e2:convert>
123         <e2:convert type="RemainingToText">InMinutes</e2:convert>
124         <e2:convert type="web:JavascriptUpdate" />
125 </e2:element>
126
127 <e2:element source="Event_Next" id="Event_Next_Name" streaming="yes">
128         <e2:convert type="EventName">Name</e2:convert>
129         <e2:convert type="web:JavascriptUpdate" />
130 </e2:element>
131
132 <e2:element source="Event_Next" id="Event_Next_Begin" streaming="yes">
133         <e2:convert type="EventTime">StartTime</e2:convert>
134         <e2:convert type="ClockToText">Default</e2:convert>
135         <e2:convert type="web:JavascriptUpdate" />
136 </e2:element>
137
138 <e2:element source="Event_Next" id="Event_Next_Remaining" streaming="yes">
139         <e2:convert type="EventTime">Remaining</e2:convert>
140         <e2:convert type="RemainingToText">InMinutes</e2:convert>
141         <e2:convert type="web:JavascriptUpdate" />
142 </e2:element>
143
144 <e2:element source="Event_Next" id="Event_Next_Extended_Description" streaming="yes">
145         <e2:convert type="EventName">ExtendedDescription</e2:convert>
146         <e2:convert type="web:JavascriptUpdate" />
147 </e2:element>
148
149 <e2:element source="FrontendStatus"  id="SNR" streaming="yes">
150         <e2:convert type="FrontendInfo">SNR</e2:convert>
151         <e2:convert type="web:JavascriptUpdate" />
152 </e2:element>
153
154 <e2:element source="FrontendStatus"  id="BER" streaming="yes">
155         <e2:convert type="FrontendInfo">BER</e2:convert>
156         <e2:convert type="web:JavascriptUpdate" />
157 </e2:element>
158
159 <e2:element source="FrontendStatus"  id="AGC" streaming="yes">
160         <e2:convert type="FrontendInfo">AGC</e2:convert>
161         <e2:convert type="web:JavascriptUpdate" />
162 </e2:element>                
163                 
164 </e2:screen>