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