-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
119 lines (111 loc) · 4.86 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!DOCTYPE html>
<html>
<head>
<title>Wiki Commons Radio</title>
<script src="jquery-1.10.2.js" type="text/javascript"></script>
<script src="assets/semantic.min.js" type="text/javascript"></script>
<script src="assets/underscore.js" type="text/javascript"></script>
<script src="assets/app.js" type="text/javascript"></script>
<style>
</style>
<link rel="stylesheet" type="text/css" href="assets/semantic.min.css">
<link rel="stylesheet" type="text/css" href="assets/style.css">
</head>
<body class="ui">
<div class="ui vertical segment">
<h1 class="ui header">Commons Radio</h1>
</div>
<p>Free and public domain sounds from Wikimedia Commons.</p>
<div id="radio-full">
<div class="ui segment attached top" id="radio-top">
<div class="ui active inverted dimmer radio-loader">
<span class="ui text loader inverted">Loading...</span>
</div>
<div id="cp-cover"></div>
<div class="ui header segment basic" id="title-info">
<div class="sub header" id="cp-desc"></div>
<h2 class="ui header" id="cp-title"></h2>
<canvas id="songcanvas" width="576" height="60"></canvas>
</div>
</div>
<div class="ui top blue attached progress" id="progress-bar-container">
<div class="no-animate bar" id="progress-bar"></div>
</div>
<div class="ui menu inverted attached">
<a class="item" id="prev-button">
<i class="step backward icon"></i>
Back
</a>
<a class="item" id="pause-button">
<i class="pause icon"></i>
Pause
</a>
<a class="item" id="play-button">
<i class="play icon"></i>
Play
</a>
<a class="item" id="next-button">
<i class="step forward icon"></i>
Next
</a>
<a class="item float right" id="load">
<i class="external url icon"></i>
Load
</a>
<a class="item float right" id="settings">
<i class="settings icon"></i>
Settings
</a>
<span class="item float right small" id="time-display">00:00</span>
</div>
<div class="ui secondary segment attached" id="load-area">
<div class="ui fluid left icon input">
<input type="text" placeholder="Load from Commons URL...">
<i class="external url icon"></i>
</div>
<div class="ui basic button" id="load-submit">Load</div>
</div>
<div class="ui secondary segment attached" id="settings-area">
<h4>Settings</h4>
<p><input type="checkbox" id="spoken" checked disabled>
<label for="spoken">Include spoken sound files</label></p>
<p><input type="checkbox" id="unused" checked disabled>
<label for="unused">Include unused sound files</label></p>
<p class="len-setting">Include sounds longer than
<select name="min-dur" id="min-dur">
<option selected>45 seconds</option>
<option>15 seconds</option>
<option>any length</option>
</select>
and shorter than
<select name="max-dur" id="max-dur">
<option selected>15 minutes</option>
<option>5 minutes</option>
<option>1 minute</option>
<option>any length</option>
</select>
</p>
<p class="len-setting">Choose sounds
<select name="choice" id="choice">
<option selected>randomly</option>
<option>by most recent</option>
</select>
</p>
</div>
<div class="ui segment attached" id="radio-ui">
<a class="ui top right attached label icon" href="#">
<i class="download disk icon"></i>
Download
</a>
<p id="cp-more"></p>
</div>
<div class="ui segment attached bottom secondary" id="cp-cats"><i class="tags icon"></i><div id="cp-cats-c"></div> </div>
<h4 class="ui attached top header">
History
</h4>
<div class="ui fluid vertical menu attached bottom">
<div id="playhistory"></div>
</div>
</div>
</body>
</html>