-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
59 lines (55 loc) · 2.7 KB
/
index.html
File metadata and controls
59 lines (55 loc) · 2.7 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>My Spotify Profile</title>
<script src="src/script.js" type="module" defer></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link rel="stylesheet" href="src/styles.css">
</head>
<body>
<h1>Album Cover Collage Maker</h1>
<section id="coverArt">
<div id="optionsBar">
<div class="source">
<p style="margin: 0;">source covers from spotify</p><br>
<button id="fromPlaylist">from playlist</button>
<select name="playlistName" id="playlistName" style="margin: 0">
</select><br><br>
<button id="topSongs" style="margin-right: 0.5vw;">top songs</button>
<select name="topType" id="topType" style="margin: 0">
<option value="short_term">last month</option>
<option value="medium_term">last six months</option>
<option value="long_term">all time</option>
</select>
<input type="number" id="numSongs" name="numSongs" placeholder="# of songs" style="width: 6vw; margin-left: 0.5vw">
<br><br>
<button id="likedSongs" style="margin: 0">liked songs</button>
</div>
<div class="displayOptions">
<p style="margin: 0">make collage from scratch</p><br>
<input type="number" id="rows" name="rows" placeholder="rows" style="width: 3vw;">
<input type="number" id="cols" name="cols" placeholder="cols" style="width: 3vw;">
<button id="createGrid">go</button>
</div>
<div class="columnOptionsBar">
<p class="columnOptions">number of columns </p>
<button class="columnOptions" id="addColumn">+</button>
<button class="columnOptions" id="subColumn">-</button><br>
<p class="slider">spacing </p><input type="range" min="0" max="20" value="0" class="slider" id="spacingSlider"><br>
<button id="shuffleCovers">shuffle</button><br><br>
<button id="downloadImage">download images</button>
</div>
</div><br><br>
<div class="container" id="container">
</div>
<dialog class="modal" id="modal">
<h3>search for albums</h3>
<input type="text" id="searchBox" name="searchBox" placeholder="album/artist/track name" style="width: 10vw;"><br><br>
<div class="searchGrid">
</div><br>
<button id="close">done</button>
</dialog>
</section>
</body>
</html>