* fix webouqueteditor
[enigma2-plugins.git] / webbouqueteditor / src / web-data / index.html
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
3        "http://www.w3.org/TR/html4/loose.dtd">
4 <html>
5
6 <head>
7         <meta content="text/html; charset=UTF-8" http-equiv="content-type">
8         <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
9         
10         <title>Dreambox BouquetEditor</title>
11         
12         <link href="/bouqueteditor/style.css" type="text/css" rel="stylesheet">
13         <link rel="shortcut icon" type="/web-data/image/x-icon" href="/web-data/img/favicon.ico">
14
15         <!-- External Libraries - use the minified lib-collection of the standard webif -->
16         <script type="text/javascript" src="/web-data/lib/libs_minified.js"></script>   
17
18 <!--
19         <script type="text/javascript" src="/web-data/lib/prototype-1.6.1.js"></script>
20         <script type="text/javascript" src="/bouqueteditor/scriptaculous-js-1.8.3/src/scriptaculous.js"></script>
21         <script type="text/javascript" src="/web-data/lib/curvycorners.js"></script>
22         <script type="text/javascript" src="/web-data/lib/trimpath-template-1.0.38.js"></script>
23 -->
24
25         <!-- userprefs Object -->
26         <script type="text/javascript" src="/web-data/userprefs.js"></script>
27                 
28         <!-- webif stuff //-->
29         <script type="text/javascript" src="/bouqueteditor/objects.js" ></script>
30         <script type="text/javascript" src="/web-data/statics.js" ></script>
31         <script type="text/javascript" src="/bouqueteditor/tools.js" ></script> 
32         
33         <!-- bouqueteditor stuff -->
34         <script type="text/javascript" src="/bouqueteditor/bouqueteditor.js" ></script>
35         
36 </head>
37 <body>
38         <div id="container">
39
40                 <div id="banner" class="roundBorder" style="height: 40px; margin-bottom: 10px;">
41                         <span id="notification"><div></div></span>
42                         <div style="display: block; height: 100%; text-align: center; padding-top: 10px;">
43                                 <img src="/bouqueteditor/dreambox_bouqueteditor.png" alt="Dreambox Web">                                
44                         </div>
45                         
46                 </div>
47
48                 <table class="contentTabMain roundBorder" style="height: auto; margin-bottom: 3px;" border="0" cellpadding="0" cellspacing="0"> 
49
50                         <tr class="black">
51                                 <th>
52                                         <ul class="BEmenu">
53                                                 <li id="navTv"><a href="#" onClick="setMode(MODE.tv);">TV</a></li>
54                                                 <li id="navRadio"><a href="#" onClick="setMode(MODE.radio);">Radio</a></li>
55                                         </ul>
56                                 </th>
57                                 <td>
58                                         <table style="width:100%;text-align:right">
59                                                 <tr>
60                                                         <td></td>
61                                                 
62                                                         <td>
63                                                                 <button style="font-weight: normal;" onClick="createBackup();">Backup Settings</button>
64                                                                 <form style="display:inline">                                                                   
65                                                                         <input type="button" value="Restore Settings"
66                                                                                         onClick="fileUpload(this.form,'uploadfile'); return false;" >
67                                                                         <input type="file" name="file" id="file"/>
68                                                                 </form>
69                                                         </td>
70                                                 </tr>
71                                         </table>
72                                 </td>
73                         </tr>
74                 </table>
75                 
76                 <table border="0" cellpadding="0" cellspacing="0">
77                         <tr>
78                                 <td class="half">
79                                         <table class="contentTabInner roundBorder" border="0" cellpadding="0" cellspacing="0">
80                                                 <tr class="black">
81                                                         <th class="tabheader">
82                                                                 <ul class="BEmenu">
83                                                                         <li id="navSat"><a href="#" onClick="setServiceNav(1);">Satellites</a></li>
84                                                                         <li id="navProv"><a href="#" onClick="setServiceNav(0);">Provider</a></li>
85                                                                         <li id="navAll"><a href="#" onClick="setServiceNav(2);">All Services</a></li>
86                                                                 </ul>
87                                                         </th>   
88                                                 </tr>
89                                                 <tr>
90                                                         <td style="vertical-align: top;">
91                                                                 <div id="contentSelectionList"></div>
92                                                         </td>
93                                                 </tr>
94                                                 <tr class="grey">                                               
95                                                         <th id="providerServiceHeader">Services for Provider</th>
96                                                 </tr>
97                                                 <tr>
98                                                         <td class="white normalFont">Search: <input id="serviceSearch" value="Service to search for..."/></td>
99                                                 </tr>
100                                                 <tr>
101                                                         <td style="vertical-align: top;">
102                                                                 <div id="contentSelectionSubList"></div>
103                                                         </td>           
104                                                 </tr>
105                                         </table>
106                                 </td>
107                                 <td class="middle">&nbsp;</td>
108                                 <td class="half">
109                                         <table class="contentTabInner roundBorder" border="0" cellpadding="0" cellspacing="0">
110                                                 <tr class="black">                                                      
111                                                         <th class="tabheader">Bouquets</th>                             
112                                                 </tr>
113                                                 <tr>
114                                                         <td style="vertical-align: top;">
115                                                                 <div id="contentBouquetList"></div>
116                                                         </td>
117                                                 </tr>
118                                                 <tr class="grey">                                               
119                                                         <th id="bouquetServiceHeader">Please select a Bouquet...</th>
120                                                 </tr>
121                                                 <tr>
122                                                         <td style="vertical-align: top;">
123                                                                 <div id="contentServicelist"></div>
124                                                         </td>
125                                                 </tr>
126                                                 <tr id="alternativesHead" style="display:none">                                         
127                                                         <th class="grey">Alternatives</th>
128                                                 </tr>
129                                                 <tr id="alternatives" style="display:none">
130                                                         <td id="contentAlternatives" class="white"><td>
131                                                 </tr>
132                                         </table>                                        
133                                 </td>
134                         </tr>
135                 </table>                
136         </div>
137         
138         <script language="JavaScript">
139                 setMode(MODE.tv);
140                 $('serviceSearch').observe('keyup', serviceSearch);
141                 $('serviceSearch').observe('focus', onServiceSearchFocus);
142                 $('serviceSearch').observe('blur', onServiceSearchBlur);
143         </script>
144 </body>
145 </html>