-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (45 loc) · 1.53 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
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<script
src="https://code.jquery.com/jquery-3.1.1.min.js"
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
crossorigin="anonymous">
</script>
<script type="text/javascript" src="app.js"></script>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css" />
<style type="text/css">
.jumbotron p {
color: #aaa;
}
.jumbotron a {
color: #fff;
}
</style>
</head>
<body onload="startApp()">
<div class="container">
<div class="col-md-6">
<h2>Song list:</h2>
<ul class="list-group" id="trackList" style="max-height:300px; overflow-y: scroll">
</ul>
<p>
<div class="form-group">
<label for="usernameInput">Last.fm username</label>
<input type="text" class="form-control" id="usernameInput" placeholder="Username"
style="width: 150px;">
<label for="playlistNameInput">Playlist name</label>
<input type="text" class="form-control" id="playlistNameInput" value="Last.fm loved tracks"
style="width: 300px;">
</div>
</p>
<p>
<button class="btn btn-lg btn-primary btn-failure" id="loadLoved">Get Last.fm Loved Tracks</button>
<button class="btn btn-lg btn-primary btn-success" id="start">Create a Spotify playlist</button>
</p>
</div>
</div>
</body>
</html>