-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
323 lines (310 loc) · 11.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
<!DOCTYPE html>
<html manifest="cache.manifest">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta property="fb:admins" content="1227408500" />
<link rel="apple-touch-startup-image" href="remoku-splash.png" />
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-ipad-precomposed.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-iphone4-precomposed.png" />
<title>Remoku: Developer Channel</title>
<meta name="description" content="A web app for Roku remote control. Control your Roku from any PC, Mac, Smartphone, Tablet, E-Reader or other web-enabled device. Remoku Dev Channel, do not use. Here be dragons!" />
<link rel="icon" type="image/png" href="favicon.png" />
<link rel="stylesheet" type="text/css" href="remoku-gui.css" media="screen" />
<link rel="help" type="text/html" href="http://help.remoku.tv" />
<link rel="canonical" href="http://remoku.tv" />
<link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/kmbcoebcjaiiejopnadjlknjhifadnlg">
<script src="color-utils.js"></script>
<script src="cp/colorPicker.js"></script>
<script src="remoku-gui.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-28924199-1']);
_gaq.push(['_setDomainName', 'remoku.tv']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body id="body" class="bgcolor">
<table id="navtable" class="bgcolor">
<tr>
<td>
<a class="nav active" id="navremote">
<div>Remote</div>
<img class="remoteicons" id="navremoteimg" src="images/DPad.png" alt="Remote">
</a>
</td>
<td>
<a class="nav" id="navgoodies">
<div>Goodies</div>
<img class="remoteicons" src="images/goodies.png" alt="Goodies">
</a>
</td>
<td class="hidden">
<a class="nav" id="navapps">
<div>Channels</div>
<img class="remoteicons" src="images/application_view_tile.png" alt="Channels">
</a>
</td>
<td>
<a class="nav" id="navconfig">
<div>Settings</div>
<img class="remoteicons" src="images/setting_tools.png" alt="Settings">
</a>
</td>
<td>
<div class="hslice" id="Remoku">
<a class="nav" id="navabout">
<div>About</div>
<img class="remoteicons" src="images/about.png" alt="About">
</a>
<span class="entry-title" style="display:none;">Remoku</span>
<a rel="entry-content" href="http://remoku.tv" style="display:none;"></a>
</div>
</td>
</table>
<div id="screens">
<div id="remote" class="visible">
<table id="remotetable">
<tr>
<td colspan="3">
<div id="text">
<span id="searchline"><input id="textentry" class="bgcolor" type="text" tabindex="1" value="Loading..."><button id="sendtext">Send</button></span>
</div>
</td>
</tr>
<tr>
<td rowspan="6"><img src="images/left_edge.png" alt="left_edge"></td>
<td>
<table >
<tr>
<td><img src="images/back.png" class="link" id="Back" alt="back"></td>
<td><img src="images/home.png" class="link" id="Home" alt="home"></td>
</tr>
</table>
</td>
<td rowspan="6"><img src="images/right_edge.png" alt="right_edge"></td>
</tr>
<tr>
<td>
<table >
<tr>
<td><img src="images/top_left_corner.png" alt="top_left_corner"></td>
<td><img src="images/up.png" class="link" id="Up" alt="up"></td>
<td><img src="images/top_right_corner.png" alt="top_right_corner"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table >
<tr>
<td><img src="images/left.png" class="link" id="Left" alt="left"></td>
<td><img src="images/ok.png" class="link" id="Select" alt="ok"></td>
<td><img src="images/right.png" class="link" id="Right" alt="right"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table >
<tr>
<td><img src="images/bottom_left_corner.png" alt="bottom_left_corner"></td>
<td><img src="images/down.png" class="link" id="Down" alt="down"></td>
<td><img src="images/bottom_right_corner.png" alt="bottom_right_corner"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table >
<tr>
<td><img src="images/replay.png" class="link" id="InstantReplay" alt="replay"></td>
<td><img src="images/info.png" class="link" id="Info" alt="info"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table >
<tr>
<td><img src="images/previous.png" class="link" id="Rev" alt="previous"></td>
<td><img src="images/play.png" class="link" id="Play" alt="play"></td>
<td><img src="images/next.png" class="link" id="Fwd" alt="next"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3"><div id="rokuNameDiv">
<div id="nameline">Remoku</div>
</div>
</td>
</tr>
</table>
<div class="box hidden" id="notifications">
Remoku has an update available.<br>
<a href="#" id="reloadlink">Reload</a> to start using it.
</div>
<div id="favsContainer">
</div>
<div id="lowerremotespopup" class="hidden"></div>
</div>
<div id="goodies" class="hidden">
<fieldset><legend>Macros</legend>
<select id="macroSelect"></select><button id="runCustomMacro">Run</button><br>
<input id="custommacroinput"><button id="addMacro">Save</button><button id="removeMacro">Remove</button><br>
<textarea id="macroArea"></textarea><br><div id="macroerror"></div>
See <a href="http://help.remoku.tv" class="bgcolor" target="_blank">help.remoku.tv</a> for macro command reference.
</fieldset>
<fieldset>
<legend>Shoutcast Channel</legend>
<label>Station Name:</label><input id="sc_name" value="My Station"><br>
<label>Station URL:</label><input id="sc_url" value="http://my.shoutcast.url/station.pls" />
<button id="sc_launch">Launch Shoutcast</button>
</fieldset>
<fieldset>
<legend>Nowhere Cast Channel</legend>
<label>Podcast URL:</label><input id="nwc_url" value="http://www.npr.org/rss/podcast.php?id=1025" />
<button id="nwc_save">Favorite Podcast</button><button id="nwc_launch">Launch Nowhere Cast</button>
<fieldset><legend>Favorite Podcasts</legend></fieldset>
</fieldset>
<fieldset><legend>Channel Store</legend> <label>Focus App id:</label><input id="chstoreappid" value="12" />
<button id="chs_macro">Launch Channel Store</button><br>
<div id="channelslink" class="bgcolor"></div>
</fieldset>
<div class="box hidden" id="goodieLaunch">
<h2>Launch Remoku Channel</h2>
<label>Add launch parameter</label><br>
<input id="lkey" value="videoUrl">=<input id="lvalue" value="http://video.ted.com/talks/podcast/CraigVenter_2008_480.mp4" />
<button id="lparamdo">Add</button>
</div>
</div>
<div id="apps" class="hidden">
<ul id="applist">
</ul>
</div>
<div id="config" class="hidden">
<div id="firstsetup" class="fade-out">
<fieldset>
<legend class="bgcolor">Remoku: Getting Started</legend>
Remoku is a web app for Roku Remote Control.<br><br>
To get started, you can search for Rokus if you enter your network address range* below,
then click the Scan button to look for Roku devices. Or, you can manually add the address of a Roku.<br><br>
If the scan doesn't find any Rokus, please look for help at
<a href="http://help.remoku.tv" target="_blank" class="bgcolor">help.remoku.tv</a>.<br><br>
<span style="font-size:8pt;">* For example: <b>192.168.1.X</b>.
These numbers can be found within the Network Control Panel or Wifi Settings of most devices, and/or in your router manual.
</span>
</fieldset>
</div>
<fieldset id="controlcontainer">
<legend class="bgcolor">Control This Roku</legend>
<select id="rokus"></select><br>
<label>Edit Roku Name </label><input class="nameinput" id="rokuname" value="Remoku" />
</fieldset>
<fieldset>
<legend class="bgcolor">Find My Roku</legend>
<div style="text-align:right; margin-bottom:10px;"><a href="http://help.remoku.tv/#TOC-Search-Help" target="_blank" class="bgcolor" >Search Help</a></div>
<div id="networkSet">
<label>My Network </label>
<input class="address" id="octet1" value="192" /> .
<input class="address" id="octet2" value="168" /> .
<input class="address" id="octet3" value="1" /> . X
<br>
<label>How many Rokus? </label>
<select id="num">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
</select>
<button id="scanforroku">Scan</button>
</div>
<div id="scanresults" class="hidden"></div>
<fieldset>
<legend class="bgcolor">Manual Setup</legend>
<div id="manualSet">
<label>Add </label><input class="maddress" id="maddress" value="192.168.1.3" /><button id="addroku">+</button><br>
<label>Remove </label><select id="manualrokus" disabled></select><button id="removeroku">−</button>
</div>
</fieldset>
</fieldset>
<div id="advancedsettings">
<fieldset>
<legend class="bgcolor">Colors</legend>
<div id="colorSet">
<label>Background Color #</label><input class="tweakinput" id="bgcolor" value="101010" onclick="colorPicker(event,'B',1, 1)"/><br>
<label>Foreground Color #</label><input class="tweakinput" id="fgcolor" value="101010" onclick="colorPicker(event,'B',1, 1)"/><br>
</div>
</fieldset>
<fieldset>
<legend class="bgcolor">
<input type="checkbox" name="showFaves" id="showFaves"/>
<label for="showFaves">Show Favorites</label>
</legend>
<div id="favsSet">
<ul id="favsUI"></ul>
<div style="text-align:center;"><button id="addFav">Add Favorite</button></div>
<div id="channelslink2" class="bgcolor"></div>
</div>
</fieldset>
<!-- fieldset>
<legend>Controls</legend>
<input type="checkbox" name="gameMode" id="gameMode"/><label for="gameMode">Game Mode</label><br>
<div>Game mode rotates the navigation 90 degrees counter-clockwise. Press G to toggle.</div>
</fieldset -->
<fieldset>
<legend class="bgcolor">Profile Management</legend>
<button id="exportsettings">Export Settings</button><button id="importsettings">Import Settings</button><br>
<textarea id="settingstextarea"></textarea><br>
Use this field to copy and paste settings for export and import.<br><br>
<div style="text-align:right;"><button id="wipesettings">Wipe Settings</button></div>
</fieldset>
<div class="box hidden">
<h2>Apps</h2>First<br>Install Remoku Channel<br>Then<br>
<button id="startremoku">Launch Remoku Channel</button><br>Then<br>
<button id="loadapps">Load Channel List</button>
</div>
</div>
</div>
<div id="about" class="hidden">
<fieldset><legend class="bgcolor">Remoku</legend>
A web app for Roku remote control.<br>
<div id="chromeInstall"></div>
<div class="smalltext">Get help with using Remoku at <a href="http://help.remoku.tv/" target="_blank" class="bgcolor" id="helplink">help.remoku.tv</a></div>
</fieldset>
<fieldset><legend class="bgcolor">Version</legend>
<div id="ver" class="smalltext"></div>
</fieldset>
<fieldset>
<legend class="bgcolor">Debug Output</legend>
<div id="dbgOut" class="smalltext"></div>
</fieldset>
</div>
<div id="remotespopup" class="hidden"></div>
</div>
</body>
</html>