-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
81 lines (78 loc) · 4.83 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
<!DOCTYPE html>
<html>
<head>
<title>iRemote</title>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1; maximum-scale=1; user-scalable=0;" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="apple-touch-icon" href="images/app-icon.png" />
<link rel="apple-touch-startup-image" href="images/app-startup.png">
<link rel="stylesheet" type="text/css" href="iremote.css" media="screen" />
</head>
<body>
<!--
iRemote for XBMC
Copyright 2010 Furya-creations.net
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<section id="add-to-homescreen" class="hidden">
<h1>iRemote for XBMC</h1>
<p>Welcome, you have successfully installed the remote !</p>
<p class="add"><span>To use it, add this page to your homescreen</span></p>
</section>
<section id="controller" class="hidden">
<header>
<h1>iRemote</h1>
<nav><a href="#actions" id="to_actions" onclick="iPhoneUI.transition(this);">Action List</a></nav>
</header>
<div id="controller_pad" class="hidden">
<a href="#" onclick="XbmcRequest.send('HTTP-API','key','C'); return false;" id="controller_osd"><img src="images/controller-osd.png" /></a>
<img src="images/controller-cross.png" width="237" height="237" id="controller_img" usemap="#controller_map" />
</div>
<div id="gestures_logo" class="hidden"> </div>
<ul id="controller_bar">
<li id="back"><a href="#" onclick="XbmcRequest.send('JSON-RPC','Input.Back'); return false;">Back</a></li>
<li id="rewind"><a href="#" onclick="XbmcRequest.send('HTTP-API','key','R'); return false;">Rewind</a></li>
<li id="play"><a href="#" onclick="XbmcRequest.send('HTTP-API','key',' '); return false;">Play/Pause</a></li>
<li id="stop"><a href="#" onclick="XbmcRequest.send('HTTP-API','key','X'); return false;">Stop</a></li>
<li id="forward"><a href="#" onclick="XbmcRequest.send('HTTP-API','key','F'); return false;">Forward</a></li>
</ul>
</section>
<section id="actions" class="slideToRight">
<header>
<h1>iRemote</h1>
<nav><a href="#controller" id="to_controller" onclick="iPhoneUI.transition(this,true);">Controller</a></nav>
</header>
<ul class="iphone_ui_list">
<li id="watched"><a href="#" onclick="XbmcRequest.send('HTTP-API','key','W'); return false;">Mark as watched</a></li>
<li id="media_info"><a href="#" onclick="XbmcRequest.send('HTTP-API','key','I'); return false;">Media info</a></li>
<li id="context_menu"><a href="#" onclick="XbmcRequest.send('HTTP-API','key','C'); return false;">Context menu</a></li>
</ul>
<ul class="iphone_ui_list">
<li id="exit"><a href="#" onclick="XbmcRequest.send('JSON-RPC','Application.Quit'); return false;">Exit</a></li>
<li id="shutdown"><a href="#" onclick="XbmcRequest.send('JSON-RPC','System.Shutdown'); return false;">Shutdown</a></li>
</ul>
<ul class="iphone_ui_list">
<li id="gestures"><span class="label">Gestures</span> <a href="#" id="gestures_toggle" onclick="iRemote.gestures(); return false;" class="on-off-toggle off">On/Off</a></li>
</ul>
</section>
<map id="controller_map" name="controller_map">
<area href="#" onclick="XbmcRequest.send('JSON-RPC','Input.Up'); return false;" alt="Up" shape="poly" coords="38,32,65,13,89,4,118,0,154,6,175,15,199,31,154,76,139,66,120,63,100,66,83,76,38,32" />
<area href="#" onclick="XbmcRequest.send('JSON-RPC','Input.Down'); return false;" alt="Down" shape="poly" coords="82,158,36,203,62,223,89,233,116,236,148,233,175,222,201,203,156,158,143,167,119,173,98,169,82,158" />
<area href="#" onclick="XbmcRequest.send('JSON-RPC','Input.Left'); return false;" alt="Left" shape="poly" coords="34,36,79,80,69,94,64,117,68,138,77,153,32,199,15,177,5,153,0,121,5,85,15,60,34,36" />
<area href="#" onclick="XbmcRequest.send('JSON-RPC','Input.Right'); return false;" alt="Right" shape="poly" coords="160,154,205,199,220,178,231,157,236,118,234,92,223,62,203,36,158,80,170,98,173,117,171,135,160,154" />
<area href="#" onclick="XbmcRequest.send('JSON-RPC','Input.Select'); return false;" alt="OK" shape="circle" coords="119,118,49" />
</map>
<script type="text/javascript" src="iremote.js"></script>
</body>
</html>