This repository has been archived by the owner on May 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (79 loc) · 2.55 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
<!doctype html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.3, maximum-scale=2.0, user-scalable=yes"/>
<title>Mojolicious radio box</title>
<script src="/js/jquery.js"></script>
<script src="/script.js"></script>
<style>
h1 {
font-size: 80%;
}
button.nav_buttons {
width: 95px;
height: 30px;
top: 5px;
font-size: 10pt;
border: 1px solid #888;
border-radius: 5px;
background-color: #eee;
box-shadow: 2px 2px 5px #888;
}
button.nav_buttons:hover {
box-shadow: 2px 2px 6px #519BB6;
}
button.nav_buttons i {
font-size: 95%;
}
#div_info {
margin-top: 10px;
margin-bottom: 10px;
font-family: sans-serif;
font-size: 90%;
}
#div_error {
color: red;
display: none;
font-family: sans-serif;
margin-top: 10px;
}
#bt_get_radio, #bt_get_music {
width: 130px;
}
#radio_stations {
width: 170px;
display: none;
}
input#volume_slider {
margin: 7px 10px;
width: 150px;
}
.volume-buttons {
width: 50px;
position: relative;
top: -3px;
font-size: 10pt;
border: 1px solid #888;
border-radius: 5px;
background-color: #eee;
}
</style>
<link rel="stylesheet" href="/font-awesome.css">
</head>
<body>
<h1>♫♬ Mojolicious radio box</h1>
<div>
<button class="nav_buttons" id="bt_prev"><i class="icon-backward"></i> prev</button>
<button class="nav_buttons" id="bt_pause"><i class="icon-play"></i> play</button>
<button class="nav_buttons" id="bt_next">next <i class="icon-forward"></i></button>
</div>
<div id="div_info"></div>
<button class="nav_buttons" id="bt_get_radio"><i class="icon-tasks"></i> get radio…</button>
<select id="radio_stations"></select><br>
<button class="nav_buttons" id="bt_get_music"><i class="icon-music"></i> get music…</button><br><br>
<button id="volume_down" class="volume-buttons"><i class="icon-volume-down"></i></button>
<input id="volume_slider" type="range" min="0" max="100" step="1">
<button id="volume_up" class="volume-buttons"><i class="icon-volume-up" id="volume_up"></i></button>
<div id="div_error">Server unavailable…</div>
</body>
</html>