forked from jacroe/pidora
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
66 lines (66 loc) · 3.36 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
<?php?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="initial-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" />
<title>Pidora</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.css" />
<link rel="stylesheet" href="styles.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
</script>
<script src="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.js">
</script>
<script src="http://cdn.craig.is/js/mousetrap/mousetrap.min.js?88c23"></script>
<script src="pidora.js"></script>
<script>
(function ($, PIDORA) {
$(document).ready(function(){
try {
PIDORA.initialize();
} catch (error) {
console.error("Your javascript has an error: " + error);
}
});
}($, PIDORA));
</script>
</head>
<body>
<!-- Home -->
<div data-role="page" id="page1" data-theme="a" data-content-theme="a">
<div data-role="content">
<div class="ui-grid-a">
<div class="ui-block-a">
<div class="cover-art">
<img id="coverArt" src="imgs/pandora.png"/>
</div>
</div>
<div class="ui-block-b" >
<div class="song-title"><h3 id="title"></h3><img id="loved" src="imgs/love.png" style="display: none" /></div>
<h4 id="artist"></h4>
<h4 id="album"></h4>
<h5 id="msg"></h5>
</div>
</div>
<div data-role="fieldcontain">
<select name="" data-theme="a" data-mini="true" id="station">
<option data-placeholder="true">Select a Station...</option>
</select>
</div>
<input class="control" type="button" data-inline="true" data-icon="refresh" data-iconpos="top" value="Play/Pause" data-mini="true" data-pi-cmd="p" />
<input class="control" type="button" data-inline="true" data-icon="arrow-r" data-iconpos="top" value="Skip" data-mini="true" data-pi-cmd="n" />
<input class="control" type="button" data-inline="true" data-icon="arrow-d" data-iconpos="top" value="Vol" data-mini="true" data-pi-cmd="(" />
<input class="control" type="button" data-inline="true" data-icon="arrow-u" data-iconpos="top" value="Vol" data-mini="true" data-pi-cmd=")" />
<input class="control" type="button" data-inline="true" data-icon="star" data-iconpos="top" value="Love" data-mini="true" data-pi-cmd="+" />
<input class="control" type="button" data-inline="true" data-icon="minus" data-iconpos="top" value="Tired" data-mini="true" data-pi-cmd="t" />
<input class="control" type="button" data-inline="true" data-icon="delete" data-iconpos="top" value="Ban" data-mini="true" data-pi-cmd="-" />
<div id="explanation-collapsible" data-role="collapsible" data-theme="a" data-mini="true" data-content-theme="a" data-collapsed-icon="info" data-expanded-icon="back" >
<h3>Explain</h3>
<div id="explanation"></div>
</div>
</div>
</div>
</body>
/html>