forked from Emeraude/ZeroMusic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
30 lines (30 loc) · 1006 Bytes
/
index.html
File metadata and controls
30 lines (30 loc) · 1006 Bytes
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
<!DOCTYPE html>
<html>
<head>
<title>ZeroMusic</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="css/all.css" />
</head>
<body>
<div id="top">
<a href="#Select+user" id="select_user" onclick='return page.selectUser()'>Select user</a>
<input type="file" onchange='return page.updateMetadata(this)' id="fileField"/>
<label for="artistField">Artist</label><input type="text" id="artistField" />
<label for="titleField">Title</label><input type="text" id="titleField" />
<input type="hidden" id="trackField" />
<input type="button" value="Upload" onclick="page.uploadSong(document.getElementById('fileField'))" />
<audio id="player" controls></audio>
</div>
<div id="container">
<div id="artists">
<h2 onclick='page.resetFilter()'>Artists</h2>
<ul></ul>
</div>
<div id="songs">
<h2>Songs</h2>
<ul></ul>
</div>
</div>
</body>
<script type="text/javascript" src="js/all.js"></script>
</html>