-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (43 loc) · 1.46 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
<!DOCTYPE html>
<html>
<head>
<title>SpeedGroove</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="container-not-playing">
<img src="img/gstxt.png" class="bigger" alt="Grooveshark">
<img src="img/gstxt120.png" class="medium" alt="Grooveshark">
<img src="img/gstxt90.png" class="smaller" alt="Grooveshark">
</div>
<div id="container-playing"></div>
<script id="template-playing" type="text/html">
<p class="albumArt"><img src="http://images.gs-cdn.net/static/albums/120_{{albumID}}.jpg" alt="{{albumName}}"></p>
<div class="data">
<h1 class="songName">{{songName}}</h1>
<p class="artistName">{{artistName}}</p>
</div>
</script>
<script>
!function(opera){
if (window.location.search != "?focus=true") {
return;
}
if (opera.extension.bgProcess.SpeedGroove &&
opera.extension.bgProcess.SpeedGroove.bgApp.session &&
opera.extension.bgProcess.SpeedGroove.bgApp.session.tab) {
// TODO: What if this page is opened in a background tab?
opera.extension.bgProcess.SpeedGroove.bgApp.session.tab.focus()
window.close();
}
}(opera);
</script>
<script src="vendor/hogan.js"></script>
<script src="vendor/stapes.js"></script>
<script src="app.js"></script>
<script src="mvc.js"></script>
<script>
window.SpeedGroove.bgApp.init();
</script>
</body>
</html>