* remove border of bouquetmenu
[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/rico.js"/>
9         <script type="text/javascript" src="/webdata/lib/ptwindow/effects.js" />
10         <script type="text/javascript" src="/webdata/lib/ptwindow/window.js" />
11         <!--script type="text/javascript" src="/webdata/lib/ptwindow/debug.js" /-->
12
13         <link href="/webdata/lib/ptwindow/themes/default.css" rel="stylesheet" type="text/css" />
14         <link href="/webdata/lib/ptwindow/themes/alphacube.css" rel="stylesheet" type="text/css" />
15
16         <!-- our stuff -->
17         <script type="text/javascript" src="/webdata/templates.js" />
18         <script type="text/javascript" src="/webdata/tools.js" />
19
20         <link href="/webdata/style.css" type="text/css" rel="stylesheet" />
21
22         <!-- Live RSS Feeds //-->
23         <link rel="alternate" type="application/rss+xml" title="Movie List" href="/web/movielist.rss" />
24 </head>
25
26 <body>
27
28 <div id="Main">
29         <div id="nav">  
30                 <div id="NavHd"><span id="RequestIndicator" style="display:none;"><img  src="/webdata/gfx/progress.gif" />loading...</span></div>
31                 
32                 <table cellpadding="0" cellspacing="0" id="navTable">
33                         <tr>
34                                 <td class="NavEl">
35                                                 <!-- START BODY MENUE //-->
36                                                 <div id="accordionMenue">
37                                                         <div class="navMenuPanel" id="accordionMenueBouquetPanelTV">
38                                                         <div class="navMenuHeader" id="accordionMenueBouquetHeaderTV">TV</div>
39                                                         <div class="navMenuContent" id="accordionMenueBouquetContentTV">please wait, loading...</div>
40                                                         </div>
41                                                         <div class="navMenuPanel" id="accordionMenueBouquetPanelRadio">
42                                                         <div class="navMenuHeader" id="accordionMenueBouquetHeaderRadio">Radio</div>
43                                                         <div class="navMenuContent" id="accordionMenueBouquetContentRadio">please wait, loading...</div>
44                                                         </div>
45                                                         <div class="navMenuPanel" id="accordionMenueBouquetPanelProvider">
46                                                         <div class="navMenuHeader" id="accordionMenueBouquetHeaderProvider">Provider</div>
47                                                         <div class="navMenuContent" id="accordionMenueBouquetContentProvider">please wait, loading...</div>
48                                                         </div>
49                                                 </div>
50                                 </td>
51                         </tr>
52                         <!--tr>
53                                 <td class="NavEl"><a class="NavEl" href="#">Nav2</a></td>
54                         </tr-->
55                 </table>
56         </div>
57         <div id="Content">
58                 <div id="EventNowNext" class="bgMain">
59
60                     <div id="ServiceInfo">
61                                 <div id="CurrentService"></div>
62                                 <div id="VolumePanel"></div>
63                                 <div id="CurrentTime"></div>
64                         <div id="SignalPanel"></div>                
65                         </div>
66                     
67                     <div class="divblock">
68                                 <div style="width:5%; float:left;" onclick="showhide('Event_Now_Extended_Description')" class="event" id="Event_Now_Begin"></div>
69                                 <div style="width:65%; float:left;" onclick="showhide('Event_Now_Extended_Description')" class="event" id="Event_Now_Name"></div>
70                                 <div style="width:30%; float:left;" onclick="showhide('Event_Now_Extended_Description')" class="eventRA" id="Event_Now_Remaining"></div>
71                     </div>
72             
73                     <div class="divblock">
74                                 <div class="eventExtDesc" id="Event_Now_Extended_Description"></div>
75                     </div>
76                     
77                     <div class="divblock" onclick="showhide('Event_Next_Extended_Description');">
78                                 <div style="width:5%; float:left;" class="event" id="Event_Next_Begin"></div>
79                                 <div style="width:65%; float:left;" class="event" id="Event_Next_Name"></div>
80                                 <div style="width:30%; float:left;" class="eventRA" id="Event_Next_Remaining"></div>
81                     </div>
82                     
83                     <div class="divblock">
84                                 <div style="display:none;" class="eventExtDesc" id="Event_Next_Extended_Description"></div>
85                     </div>
86                 </div>
87                 <hr />
88                 
89                 <div id="BodyContentChannellist" class="BodyContentChannellist"></div>
90
91         </div>
92 </div>
93 <!--iframe onload="hide(this)" width="0" id="updates" height="0" src="updates.html" name="updates" scrolling="none" frameborder="0">no iframe support!</iframe-->
94 <script type="text/javascript" >
95 if(DBG) { debugWin = openWindow("DEBUG", "", 300, 300, "debugWindow"); }
96
97
98 var accordionOptions = {
99         expandedBg : 'transparent',
100         hoverBg : 'CCCCCC',
101         collapsedBg : 'transparent',
102         expandedTextColor : '#000000',
103         expandedFontWeight : 'bold',
104         hoverTextColor : '#000000',
105         collapsedTextColor : '#000000',
106         collapsedFontWeight : 'normal',
107         borderColor : '#transparent',
108         border : '0',
109         panelHeight : 150,//370,//325
110 }
111
112 new Rico.Accordion( $('accordionMenue'), accordionOptions );
113
114 initVolumePanel();
115 initSignalPanel();
116 initChannelList();
117 setBodyMainContent('BodyContentChannellist');
118 function imdb()
119 {
120         w = window.open("http://www.imdb.com/find?s=all&amp;q=" + escape(document.getElementById("Event_Now_Name").innerHTML));
121         w.focus();
122         set("BodyContentChannellist", "TEST!!!");
123 }
124
125 </script>
126
127 </body>
128 &lt;div id="scriptzone">
129 <!-- realtime updates follow -->
130 <e2:element source="CurrentTime" streaming="yes">
131         <e2:convert type="ClockToText">WithSeconds</e2:convert>
132         <e2:convert type="web:JavascriptUpdate" />
133 </e2:element>
134
135 <e2:element source="CurrentService" streaming="yes">
136 <e2:convert type="ServiceName">Name</e2:convert>
137 <e2:convert type="web:JavascriptUpdate" />
138 </e2:element>
139
140 <e2:element source="Event_Now" id="Event_Now_Name" streaming="yes">
141         <e2:convert type="EventName">Name</e2:convert>
142         <e2:convert type="web:JavascriptUpdate" />
143 </e2:element>
144
145 <e2:element source="Event_Now" id="Event_Now_Extended_Description" streaming="yes">
146         <e2:convert type="EventName">ExtendedDescription</e2:convert>
147         <e2:convert type="web:JavascriptUpdate" />
148 </e2:element>
149
150 <e2:element source="Event_Now" id="Event_Now_Begin" streaming="yes">
151         <e2:convert type="EventTime">StartTime</e2:convert>
152         <e2:convert type="ClockToText">Default</e2:convert>
153         <e2:convert type="web:JavascriptUpdate" />
154 </e2:element>
155
156 <e2:element source="Event_Now" id="Event_Now_Remaining" streaming="yes">
157         <e2:convert type="EventTime">Remaining</e2:convert>
158         <e2:convert type="RemainingToText">InMinutes</e2:convert>
159         <e2:convert type="web:JavascriptUpdate" />
160 </e2:element>
161
162 <e2:element source="Event_Next" id="Event_Next_Name" streaming="yes">
163         <e2:convert type="EventName">Name</e2:convert>
164         <e2:convert type="web:JavascriptUpdate" />
165 </e2:element>
166
167 <e2:element source="Event_Next" id="Event_Next_Begin" streaming="yes">
168         <e2:convert type="EventTime">StartTime</e2:convert>
169         <e2:convert type="ClockToText">Default</e2:convert>
170         <e2:convert type="web:JavascriptUpdate" />
171 </e2:element>
172
173 <e2:element source="Event_Next" id="Event_Next_Remaining" streaming="yes">
174         <e2:convert type="EventTime">Remaining</e2:convert>
175         <e2:convert type="RemainingToText">InMinutes</e2:convert>
176         <e2:convert type="web:JavascriptUpdate" />
177 </e2:element>
178
179 <e2:element source="Event_Next" id="Event_Next_Extended_Description" streaming="yes">
180         <e2:convert type="EventName">ExtendedDescription</e2:convert>
181         <e2:convert type="web:JavascriptUpdate" />
182 </e2:element>
183
184 <e2:element source="FrontendStatus"  id="SNR" streaming="yes">
185         <e2:convert type="FrontendInfo">SNR</e2:convert>
186         <e2:convert type="web:JavascriptUpdate" />
187 </e2:element>
188
189 <e2:element source="FrontendStatus"  id="BER" streaming="yes">
190         <e2:convert type="FrontendInfo">BER</e2:convert>
191         <e2:convert type="web:JavascriptUpdate" />
192 </e2:element>
193
194 <e2:element source="FrontendStatus"  id="AGC" streaming="yes">
195         <e2:convert type="FrontendInfo">AGC</e2:convert>
196         <e2:convert type="web:JavascriptUpdate" />
197 </e2:element>                
198                 
199 </e2:screen>