-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathindex.html
59 lines (53 loc) · 1.57 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
<html>
<head>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.1.js"></script>
<script type="text/javascript" src="fuzzyset.js"></script>
<script type="text/javascript" src="wordcache.js"></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 {
background-color: #333;
color: #fff;
}
.jumbotron p {
color: #aaa;
}
.jumbotron a {
color: #fff;
}
</style>
</head>
<body onload="startApp()">
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron">
<div class="container">
<h2>Spotify WebAPI Playlist creation example</h2>
<p>
Browse the sourcecode on <a href="https://github.com/possan/playlistcreator-example">GitHub</a>,
Example by <a href="https://twitter.com/possan">@possan</a>
</p>
</div>
</div>
<div class="container">
<!-- Example row of columns -->
<div class="row">
<div class="col-md-6">
<h2>Write your text here</h2>
<div class="form-group">
<textarea class="form-control" id="alltext" rows="5" maxlength="500"></textarea>
</div>
<p>
<button class="btn btn-lg btn-primary btn-success" id="start">Create a Spotify playlist!</button>
</p>
<div id="status"></div>
</div>
<div class="col-md-6">
<h2>Corresponding track names</h2>
<div id="debug"></div>
</div>
</div>
</div>
</body>
</html>