forked from drheld/pianoctl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pianoctl.html
41 lines (38 loc) · 1.19 KB
/
pianoctl.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
<!DOCTYPE HTML>
<html>
<head>
<title>Pandora Control</title>
<! script type="text/javascript" src="static/jquery.js"></script !->
<script type="text/javascript" src="static/pianoctl.js"></script>
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<link rel="stylesheet" type="text/css" href="static/styles.css" />
</head>
<body>
<div id="controls">
<table>
<tbody>
<tr>
<td id="playpause" command='p'>▶ / ❚❚</td>
<td id="skip" command='n'>Skip</td>
</tr>
<tr>
<td id="love" command='+'>Love</td>
<td id="hate" command='-'>Hate</td>
</tr>
</tbody>
</table>
<div id="volume">
<hr />
</div>
<div id="textinput">
<form id="form">
<input id="text" value="Type manual commands here..." />
</form>
</div>
</div>
<div id="volumepos"></div>
<div id="initialvolume">{{ volume }}%</div>
<div id="logs">
<pre id="logmessages">{{ logs }}</pre>
</div>
</html>