-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (79 loc) · 2.33 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
<!DOCTYPE html>
<html>
<head>
<title>VPS Music</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div class="main">
<p id="logo"><i class="fa fa-music"></i>VPS Music</p>
<!-- show_song_number -->
<div class="show_song_no">
<p id="present">1</p>
<p>/</p>
<p id="total"></p>
</div>
<!--- left part --->
<div class="left">
<!--- song img --->
<img id="track_image" />
<div class="volume">
<p id="volume_show">90</p>
<i
class="fa fa-volume-up"
aria-hidden="true"
onclick="mute_sound()"
id="volume_icon"></i>
<input
type="range"
min="0"
max="100"
value="90"
onchange="volume_change()"
id="volume" />
</div>
</div>
<!--- right part --->
<div class="right">
<!--- song title & artist name --->
<div class="song_detail">
<!-- <p id="title"></p> -->
<p id="artist"></p>
</div>
<!--- middle part --->
<div class="middle">
<button onclick="previous_song()" id="pre">
<i class="fa fa-step-backward" aria-hidden="true"></i>
</button>
<button onclick="justplay()" id="play">
<i class="fa fa-play" aria-hidden="true"></i>
</button>
<button onclick="next_song()" id="next">
<i class="fa fa-step-forward" aria-hidden="true"></i>
</button>
</div>
<!--- song duration part --->
<div class="duration">
<input
type="range"
min="0"
max="100"
value="0"
id="duration_slider"
onchange="change_duration()" />
<button id="auto" onclick="autoplay_switch()">
Auto Play <i
class="fa fa-circle-o-notch"
aria-hidden="true"></i>
</button>
</div>
</div>
</div>
<!--- Add javascript file --->
<script src="script.js"></script>
</body>
</html>