-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
65 lines (61 loc) · 4.13 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="manifest" href="manifest.webmanifest">
<title>Endless Tape</title>
<link rel="icon" type="image/svg+xml" href="assets/icon.svg">
<link rel="icon" type="image/png" href="assets/icon.png">
<link rel="stylesheet" href="css/range_slider.css">
<link rel="stylesheet" href="css/playing.css">
<link rel="stylesheet" href="css/shelf.css">
<link rel="stylesheet" href="css/style.css">
<script src="js/window.mjs" type="module"></script>
</head>
<body>
<!-- Have these style attributes here so that the page will look correct without the CSS being fully parsed -->
<div id="shelf" style="opacity: 0">
<div class="case" title="[Custom]" artist="You!" onclick="loadCustomCassette()"></div>
<div class="case" title="Bad" artist="Popeska" onclick="loadCassette(this.title, 'audio/bad.ogg')"></div>
<div class="case" title="Eternity" artist="Homage" onclick="loadCassette(this.title, 'audio/eternity.ogg')"></div>
<div class="case" title="First Date" artist="blink-182" onclick="loadCassette(this.title, 'audio/first_date.ogg')"></div>
<div class="case" title="Fried Noodles (Getter Remix)" artist="Pink Guy" onclick="loadCassette(this.title, 'audio/fried_noodles.ogg')"></div>
<div class="case" title="Goodbye To A World" artist="Porter Robinson" onclick="loadCassette(this.title, 'audio/goodbye_to_a_world.ogg')"></div>
<div class="case" title="Infinite" artist="Goldfinger" onclick="loadCassette(this.title, 'audio/infinite.ogg')"></div>
<div class="case" title="My Love Is A Stapler" artist="K-On!" onclick="loadCassette(this.title, 'audio/love_is_a_stapler.ogg')"></div>
<div class="case" title="Nothin' On You" artist="B.o.B" onclick="loadCassette(this.title, 'audio/nothin_on_you.ogg')"></div>
<div class="case" title="OG (Remix)" artist="Epic Games" onclick="loadCassette(this.title, 'audio/og_remix.ogg')"></div>
<div class="case" title="Out With a Bang" artist="sElf" onclick="loadCassette(this.title, 'audio/out_with_a_bang.ogg')"></div>
<div class="case" title="See You Again" artist="Wiz Kalifa" onclick="loadCassette(this.title, 'audio/see_you_again.ogg')"></div>
<div class="case" title="She's So Nice" artist="Pink Guy" onclick="loadCassette(this.title, 'audio/shes_so_nice.ogg')"></div>
<div class="case" title="Take Me Away" artist="Cayman Cline" onclick="loadCassette(this.title, 'audio/take_me_away.ogg')"></div>
<div class="case" title="Time" artist="NF" onclick="loadCassette(this.title, 'audio/time.ogg')"></div>
<div class="case" title="To The Moon (feat. Fantomen K)" artist="Dunderpatrullen" onclick="loadCassette(this.title, 'audio/to_the_moon.ogg')"></div>
<div class="case" title="Tropicana" artist="Ratatat" onclick="loadCassette(this.title, 'audio/tropicana.ogg')"></div>
<div class="case" title="Turn It Around" artist="Sub Focus" onclick="loadCassette(this.title, 'audio/turn_it_around.ogg')"></div>
<div class="case" title="What Do You Mean?" artist="Justin Bieber" onclick="loadCassette(this.title, 'audio/what_do_you_mean.ogg')"></div>
</div>
<div id="container" class="square" style="display: none">
<div id="messages">
<div id="percent">HMM</div>
<div id="description"></div>
</div>
<div id="playing-container">
<div class="bar">
<div class="button small" onclick="Buttons.Eject()"><img src="assets/icons/eject.svg"></div>
<div id="button_play" class="button" onmousedown="Buttons.Play()"><img src="assets/icons/play.svg"></div>
<div class="button" onmousedown="Buttons.Stop()"><img src="assets/icons/stop.svg"></div>
</div>
<div id="cassette">
<div class="label"></div>
</div>
<div class="bar bottom">
<div class="big"><input id="volume" type="range" max="130" min="0" step="1" value="20" oninput="Buttons.Volume(this.value)"></div>
<div class="button small" onmousedown="Buttons.PlaySpeed(-0.1)"><img src="assets/icons/slow.svg"></div>
<div class="button small" onmousedown="Buttons.PlaySpeed(+0.1)"><img src="assets/icons/fast.svg"></div>
</div>
</div>
</div>
</body>
</html>