-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
156 lines (136 loc) · 4.95 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Gonna Find You</title>
<script type="text/javascript" src="scripts/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="scripts/audiojs/audio.min.js"></script>
<script type="text/javascript" src="scripts/index.js"></script>
</head>
<body>
<div class="decorateBar"></div>
<header>
<nav id="mainNav">
<ul id="navList">
<li id="musicBtn">
<a href="index.html"> Music |</a>
</li>
<li id="rankBtn">
<a href="rank.html"> Rank |</a>
</li>
<li>
<input type="button" id="loginBtn" value=" Login |" onclick="showLogin()">
</li>
<li id="homeBtn" style="display:none">
<a href="selfpage.html"> Home </a>
</li>
</ul><div></div>
</nav>
<h1 id="pageTitle">Gonna Find U</h1>
<img id="logo" src="" alt="ourlogo">
<!--default: hide, when enter the logo img show search box-->
<form action="search.action" method="post" id="searchbar" style="display:none">
<input type="text" name="searchtext" id="searchinputBox" title="tell me what you want...">
<input type="button" value="Find U" class="searchBtn" title="find music">
</form>
</header>
<div id="loginIndex" style="display:none">
<!--selector of login and register-->
<input type="button" name="loginClose" id="close" value="close" onclick="closeLogin()">
<div id="lrselector">
<input type="button" name="login" id="toLogin" class="lrBtns" onclick="Login()">
<input type="button" name="register" id="toRegist" class="lrBtns" onclick="Regist()">
</div>
<!-- Sign in form -->
<form method="post" id="loginForm" action="login.action" class="lrForms">
<p>Username: <input type="text" class="lrtext" name="username" value=""></p>
<p>Password: <input type="text" class="lrtext"></p>
<br><br>
<p><input type="submit" name="lsubmit" value="SIGN IN" onclick="logged()"></p>
</form>
<!--Sign up-->
<form method="post" id="registerForm" action="regist.action" class="lrForms" style="display:none">
<p>Username: <input type="text" class="lrtext" name="regisname"></p>
<p>Email: <input type="text" class="lrtext" name="regisemail"></p>
<p>Password: <input type="text" class="lrtext" name="regispsw"></p>
<p>Confrim Password: <input type="text" class="lrtext" name="regisconfirm"></p>
<br><br>
<p><input type="submit" name = "rsubmit" value="SIGN UP" onclick="registed"></p>
</form>
</div>
<!-- Music Boxes Dynamic addin-->
<div class="musicBox">
<div class="introImg">
<input type="button" name="play" class="micBoxBtns">
<input type="button" name="download" class="micBoxhBtns" style="display:none">
<input type="button" name="collect" class="micBoxhBtns" style="display:none">
</div>
<div class="musicInfo">
<p id = "micName">Wicked Man's Rest</p>
<p>
<span class="micuploader"></span>
<span class="micuploadtime"></span>
</p>
</div>
</div>
<div class="musicBox">
<div class="introImg">
<input type="button" name="play" class="micBoxBtns">
<input type="button" name="download" class="micBoxhBtns" style="display:none">
<input type="button" name="collect" class="micBoxhBtns" style="display:none">
</div>
<div class="musicInfo">
<p id = "micName">Wicked Man's Rest</p>
<p>
<span class="micuploader"></span>
<span class="micuploadtime"></span>
</p>
</div>
</div>
<div class="musicBox">
<div class="introImg">
<input type="button" name="play" class="micBoxBtns">
<input type="button" name="download" class="michBoxBtns" style="display:none">
<input type="button" name="collect" class="michBoxBtns" style="display:none">
</div>
<div class="musicInfo">
<p id = "micName">Wicked Man's Rest</p>
<p>
<span class="micuploader"></span>
<span class="micuploadtime"></span>
</p>
</div>
</div>
<div class="musicBox">
<div class="introImg">
<input type="button" name="play" class="micBoxBtns">
<input type="button" name="download" class="michBoxBtns" style="display:none">
<input type="button" name="collect" class="michBoxBtns" style="display:none">
</div>
<div class="musicInfo">
<p id = "micName">Wicked Man's Rest</p>
<p>
<span class="micuploader"></span>
<span class="micuploadtime"></span>
</p>
</div>
</div>
<div class="pageSelector">
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
</ul>
</div>
</div>
<div class="buttomBar" style="height:30px;">
<script>
audiojs.events.ready(function() {
var as = audiojs.createAll();
});
</script>
<audio src="sound/current.mp3" id="player">
</audio>
</div>
</body>
</html>