With PowerState the User has the possibility to shutdown the box.
[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="loadTimerForm()">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="showPowerStateSendForm()">Power</div><br/>
67                                                                 </div>
68                                                         </div>
69                                                 </div>
70                                 </td>
71                         </tr>
72                         <!--tr>
73                                 <td class="NavEl"><a class="NavEl" href="#">Nav2</a></td>
74                         </tr-->
75                 </table>
76         </div>
77         <div id="Content">
78                 <div id="EventNowNext" class="bgMain">
79
80                     <div id="ServiceInfo">
81                                 <div id="CurrentService"></div>
82                                 <div id="VolumePanel"></div>
83                                 <div id="CurrentTime"></div>
84                         <div id="SignalPanel"></div>                
85                         </div>
86                     
87                     <div class="divblock">
88                                 <div style="width:5%; float:left;" onclick="showhide('Event_Now_Extended_Description')" class="event" id="Event_Now_Begin"></div>
89                                 <div style="width:65%; float:left;" onclick="showhide('Event_Now_Extended_Description')" class="event" id="Event_Now_Name"></div>
90                                 <div style="width:30%; float:left;" onclick="showhide('Event_Now_Extended_Description')" class="eventRA" id="Event_Now_Remaining"></div>
91                     </div>
92             
93                     <div class="divblock">
94                                 <div class="eventExtDesc" id="Event_Now_Extended_Description"></div>
95                     </div>
96                     
97                     <div class="divblock" onclick="showhide('Event_Next_Extended_Description');">
98                                 <div style="width:5%; float:left;" class="event" id="Event_Next_Begin"></div>
99                                 <div style="width:65%; float:left;" class="event" id="Event_Next_Name"></div>
100                                 <div style="width:30%; float:left;" class="eventRA" id="Event_Next_Remaining"></div>
101                     </div>
102                     
103                     <div class="divblock">
104                                 <div style="display:none;" class="eventExtDesc" id="Event_Next_Extended_Description"></div>
105                     </div>
106                 </div>
107                 <hr />
108                 
109                 <div id="BodyContentChannellist" class="BodyContentChannellist"></div>
110
111         </div>
112 </div>
113 <div>
114 <!-- START LIVEUPDATESTREAM  is used to enable the liveupdatestream in MS Internet Explorer //-->
115 <div id="UpdateStreamReaderIEFixPanel"></div>
116 <!-- END LIVEUPDATESTREAM//-->
117
118 <div id="ServiceListBouqetReference"  style="display:none;" ></div>
119 </div>
120 <script type="text/javascript" >
121 if(DBG) { debugWin = openWindow("DEBUG", "", 300, 300, "debugWindow"); }
122
123
124 var accordionOptions = {
125         expandedBg : 'transparent',
126         hoverBg : 'CCCCCC',
127         collapsedBg : 'transparent',
128         expandedTextColor : '#000000',
129         expandedFontWeight : 'bold',
130         hoverTextColor : '#000000',
131         collapsedTextColor : '#000000',
132         collapsedFontWeight : 'normal',
133         borderColor : '#EEEEEE',
134         border : '0',
135         panelHeight : 150
136 }
137
138 new Rico.Accordion( $('accordionMenue'), accordionOptions );
139
140 // do things to do at startup
141 initVolumePanel();
142 initSignalPanel();
143 initChannelList();
144 //setBodyMainContent('BodyContentChannellist');
145 UpdateStreamReaderStart();
146
147 </script>
148 </body>
149 </html>