* cleanups
[enigma2-plugins.git] / webinterface / src / web-data / index.html
1 <html>
2 <head>
3 <!-- 
4         Version = '$Header$';
5 -->
6         <meta content="text/html; charset=UTF-8" http-equiv="content-type">
7         <title>Enigma 2 Webinterface</title>
8         
9         <!-- load everything for prototype and prototype window //-->
10         <script type="text/javascript" src="/webdata/lib/ptwindow/javascripts/prototype.js" ></script>
11         <script type="text/javascript" src="/webdata/lib/ptwindow/javascripts/effects.js" ></script>
12         <script type="text/javascript" src="/webdata/lib/ptwindow/javascripts/window.js" ></script>
13         <script type="text/javascript" src="/webdata/lib/ptwindow/javascripts/debug.js"> </script>
14
15         <script type="text/javascript" src="/webdata/lib/rico.js"></script>
16
17         <link href="/webdata/lib/ptwindow/themes/default.css" rel="stylesheet" type="text/css" >
18         <link href="/webdata/lib/ptwindow/themes/alphacube.css" rel="stylesheet" type="text/css" >
19         
20         <!-- link href="/webdata/lib/ptwindow/themes/debug.css" rel="stylesheet" type="text/css" ></link -->
21         
22         <!-- our stuff //-->
23         <script type="text/javascript" src="/webdata/templates.js" ></script>
24         <script type="text/javascript" src="/webdata/objects.js" ></script>
25         <script type="text/javascript" src="/webdata/config.js" ></script>
26         <script type="text/javascript" src="/webdata/tools.js" ></script>
27         <script type="text/javascript" src="/webdata/timer.js" ></script>
28         
29         <link href="/webdata/style.css" type="text/css" rel="stylesheet" >
30         <link rel="shortcut icon" type="image/x-icon" href="/webdata/gfx/favicon.ico">
31
32         <!-- Live RSS Feeds //-->
33         <link rel="alternate" type="application/rss+xml" title="Movie List" href="/web/movielist.rss" >
34 </head>
35
36 <body>
37 <div id="Main">
38         <div id="nav">  
39                 <div id="NavHd"><span id="RequestIndicator" style="display:none;"><img alt="R" src="/webdata/gfx/progress.gif" />loading... </span></div>
40                 
41                 <div id="navTable">
42                         <div class="NavEl">
43                                 <!-- START BODY MENUE //-->
44                                 <div id="accordionMenue">
45                                         <div class="navMenuPanel" id="accordionMenueBouquetPanelTV">
46                                                 <div class="navMenuHeader" id="accordionMenueBouquetHeaderTV">TV</div>
47                                                 <div class="navMenuContent" id="accordionMenueBouquetContentTV">please wait, loading...</div>
48                                         </div>
49                                         
50                                         <div class="navMenuPanel" id="accordionMenueBouquetPanelRadio">
51                                                 <div class="navMenuHeader" id="accordionMenueBouquetHeaderRadio">Radio</div>
52                                                 <div class="navMenuContent" id="accordionMenueBouquetContentRadio">please wait, loading...</div>
53                                         </div>
54                                         
55                                         <div class="navMenuPanel" id="accordionMenueBouquetPanelProviderTV">
56                                                 <div class="navMenuHeader" id="accordionMenueBouquetHeaderProviderTV">Provider TV</div>
57                                                 <div class="navMenuContent" id="accordionMenueBouquetContentProviderTV">please wait, loading...</div>
58                                         </div>
59                                         
60                                         <div class="navMenuPanel" id="accordionMenueBouquetPanelProviderRadio">
61                                                 <div class="navMenuHeader" id="accordionMenueBouquetHeaderProviderRadio">Provider Radio</div>
62                                                 <div class="navMenuContent" id="accordionMenueBouquetContentProviderRadio">please wait, loading...</div>
63                                         </div>
64                                         
65                                         <div class="navMenuPanel" id="accordionMenueBouquetPanelMovieTimer">
66                                                 <div class="navMenuHeader" id="accordionMenueBouquetHeaderMovieTimer">Movie/Timer</div>
67                                                 <div class="navMenuContent" id="accordionMenueBouquetContentMovieTimer">
68                                                         <div onclick="loadMovieList('')">Movies</div>
69                                                         <div onclick="loadTimerList()">Timers</div>
70                                                         <div onclick="loadTimerFormNow()">Add Timer</div>
71                                                 </div>
72                                         </div>
73                                                 
74                                         <div class="navMenuPanel" id="accordionMenueBouquetPanelExtras">
75                                                 <div class="navMenuHeader" id="accordionMenueBouquetHeaderExtras">Extras</div>
76                                                 <div class="navMenuContent" id="accordionMenueBouquetContentExtras">
77                                                         <div onclick="showMessageSendForm()">Message</div>
78                                                         <div onclick="showRemoteControllSendForm()">Remote Control</div>
79                                                         <div onclick="showPowerStateSendForm()">Power</div>
80                                                         <div onclick="showAbout()">About</div>
81                                                 </div>
82                                         </div>          
83                                 </div>
84                         </div>
85                 </div>
86         </div>
87         
88         <div id="Content">
89                 <div id="EventNowNext" class="bgMain">
90
91                     <div id="ServiceInfo">
92                                 <div id="CurrentService"></div>
93                                 <div id="VolumePanel"></div>
94                                 <div id="RecordButton"><img alt="Record" src="/webdata/gfx/record.gif" onclick="recordingPushed();" /></div>
95                         <div id="SignalPanel"></div>
96                                 <div id="StreaminterfaceButton"><a href="/webdata/streaminterface.html" target="_blank" ><img alt="Streaminterface" border="0" src="/webdata/gfx/screen.png" /></a></div>
97                         <div id="CurrentTime" onclick="openHiddenFunctions();"></div>
98                         </div>
99                     
100                     <div class="divblock">
101                                 <div style="width:5%; float:left;" onclick="showhide('Event_Now_Extended_Description')" class="event" id="Event_Now_Begin"></div>
102                                 <div style="width:65%; float:left;" onclick="showhide('Event_Now_Extended_Description')" class="event" id="Event_Now_Name"></div>
103                                 <div style="width:30%; float:left;" onclick="showhide('Event_Now_Extended_Description')" class="eventRA" id="Event_Now_Remaining"></div>
104                     </div>
105             
106                     <div class="divblock">
107                                 <div class="eventExtDesc" id="Event_Now_Extended_Description"></div>
108                     </div>
109                     
110                     <div class="divblock" onclick="showhide('Event_Next_Extended_Description');">
111                                 <div style="width:5%; float:left;" class="event" id="Event_Next_Begin"></div>
112                                 <div style="width:65%; float:left;" class="event" id="Event_Next_Name"></div>
113                                 <div style="width:30%; float:left;" class="eventRA" id="Event_Next_Remaining"></div>
114                     </div>
115                     
116                     <div class="divblock">
117                                 <div class="eventExtDesc" id="Event_Next_Extended_Description"></div>
118                     </div>
119                 </div>
120                 <hr />
121                 
122                 <div id="BodyContentChannellist" class="BodyContentChannellist"></div>
123
124         </div>
125
126 </div>
127 <div>
128 <!-- START LIVEUPDATESTREAM  is used to enable the liveupdatestream in MS Internet Explorer //-->
129 <div id="UpdateStreamReaderIEFixPanel"></div>
130 <!-- END LIVEUPDATESTREAM//-->
131
132 <div id="ServiceListBouqetReference"  style="display:none;" ></div>
133 </div>
134 <script type="text/javascript" >
135
136 var debugWin = null;
137 if(DBG) { debugWin = openWindow("DEBUG", "", 300, 300, 920,140 , "debugWindow"); }
138
139
140 var accordionOptions = {
141         expandedBg : 'transparent',
142         hoverBg : 'CCCCCC',
143         collapsedBg : 'transparent',
144         expandedTextColor : '#000000',
145         expandedFontWeight : 'bold',
146         hoverTextColor : '#000000',
147         collapsedTextColor : '#000000',
148         collapsedFontWeight : 'normal',
149         borderColor : '#EEEEEE',
150         border : '0',
151         panelHeight : 150
152 }
153
154 new Rico.Accordion( $('accordionMenue'), accordionOptions );
155
156 // do things to do at startup
157 initVolumePanel();
158 initSignalPanel();
159 initChannelList();
160 //setBodyMainContent('BodyContentChannellist');
161 UpdateStreamReaderStart();
162 showhide('Event_Next_Extended_Description');
163 </script>
164 </body>
165 </html>