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