-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·276 lines (207 loc) · 8.5 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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<meta name="author" content="Michelle MJ Cowan">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0" />
<title>Collaborative Playlist</title>
<script defer src="https://use.fontawesome.com/releases/v5.0.2/js/all.js"></script>
<link rel="stylesheet" type="text/css" href="./assets/css/normalize.css" />
<link rel="stylesheet" type="text/css" href="./assets/css/custom_single.css" />
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://www.w3schools.com/w3css/4/w3.css" />
<link href="https://fonts.googleapis.com/css?family=Schoolbell" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Architects+Daughter" rel="stylesheet">
<!-- link to firebase -->
<script src="https://www.gstatic.com/firebasejs/4.8.1/firebase.js"></script>
</head>
<body onload="mixed()">
<!-- HEADER: LOGO AND NAV BAR -->
<div class="header">
<div id="logo-header">
<img src="./assets/images/mixedLogo_horiz.png" alt="logo" id="logo-header">
</div>
<div class="nav">
<nav>
<ul>
<li class="current">
<a href="#currentPlaylist">What's Playing</a>
</li>
<li>
<span>|</span>
</li>
<li class="current">
<a href="#selectSongArea" id="selectSongShow"><i class="fab fa-soundcloud"></i> Select Song</a>
</li>
<li>
<span>|</span>
</li>
<li class="current">
<a href="#sectionThree" id="playlistShow"><i class="fab fa-soundcloud" ></i> Playlist Library</a>
</li>
</ul>
</nav>
</div>
</div>
<section class="aboutSection">
<div id="about">
<h6>My <span style="color:#EB5342;">Mixed</span> Tape:<span style= "font-family: 'Architects Daughter', cursive;"> Collaborate with Friends to make a Playlist!</span></h6>
</div>
</section>
<!-- END header -->
<!-- list of users -->
<div class="sidebar">
<h6 style="color: white; text-align: center; border-top: solid; border-bottom: solid; background-color:#328680">Collaborators</h6>
<!-- contributor social profile card -->
<div class="chip">
<img src="./assets/images/avatar.png" alt="Person" width="96" height="96">
<ul>
<li>John Doe</li>
<li>More info</li>
</ul>
</div>
<div class="chip">
<img src="./assets/images/avatar.png" alt="Person" width="96" height="96">
<ul>
<li>John Doe</li>
<li>More info</li>
</ul>
</div>
<div class="chip">
<img src="./assets/images/avatar.png" alt="Person" width="96" height="96">
<ul>
<li>John Doe</li>
<li>More info</li>
</ul>
</div>
<div class="chip">
<img src="./assets/images/avatar.png" alt="Person" width="96" height="96">
<ul>
<li>John Doe</li>
<li>More info</li>
</ul>
</div>
</div>
<!-- END sidebar -->
<section class="main">
<!-- Flow area 1a: left column of section: Playlist Available and Create New Playlist -->
<section class="sectionOne" id="one">
<!-- BEGIN "WHAT'S PLAYING AREA"-->
<div class="main_body">
<!-- =============================================== -->
<!-- HEADLINE for Available Playlists cards-->
<div class="playlist_section" id="createPlaylist" style="padding: 10px">
<h3 style="text-align: center;"><span class="step">Step<span class="stepNumber">1</span></span>:<span id="action">Create</span> New <span style="color: #ef4e3d">MIXED</span> Tape</h3>
<form id="inputSet">
<input class="w3-input w3-border w3-round" type="text" id="inputST" placeholder="Name your Playlist">
<button class="w3-btn w3-round-large w3-teal" type="button" id="createSet">Add Playlist!</button>
</form>
</div>
<div class="playlistCards">
<div class="leftColumn">
<div class="leftColumnHeader">
<h3 style="text-align: center;"><span class="step">Ne<span class="stepNumber">x</span>t</span>:<span id="action">Select</span> Your <span style="color: #ef4e3d">MIXED</span> Tape</h3>
</div>
<!-- <div class="flex"> -->
<div id="loadPlaylist">
<!-- PLAYLIST CARDS display area -->
</div>
</div>
</div>
</div>
<!-- END main-body -->
<!-- =============================================== -->
<!-- BEGIN SELECT SONG AREA -->
<section class="songArea">
<div class="currentMusicList">
<h3>My <b style="color:#ef4e3d">MIXED</b> Playlist: <span id="playlistTitle"></span></h3>
<table class="table" id="currentPlaylist">
<tr>
<th></th>
<th>SONG</th>
<th>ARTIST</th>
<th>CONTRIBUTOR</th>
<th>COMMENTS</th>
<th></th>
</tr>
</table>
<!-- #noPlaylist line 59 & 125 -->
<div class="playlist_section">
<!-- ZACK CREATE??<p>Playlists Available:
</p> -->
</div>
</div>
</section>
<!-- =================================================== -->
<section class="selectSongArea" id="selectSongArea">
<div class="main_library">
<!-- insert Library page-->
<div id="headline">
<a href="#" id="backButton"><- Back to Step 1</a><br>
<h3 style="text-align: center;"><span class="step">Step<span class="stepNumber">2</span></span>:<span id="action">Add</span> a Song!</h3>
<div id="error">
</div>
</div>
<!-- Step 1 Pick a song -->
<div class="library">
<div class="stepSeach">
<h4><i class="fa fa-chevron-right" aria-hidden="true"></i> <span id="action">Search</span> for your song!</h4>
<div class="search-container">
<form action=" ">
<input type="text" placeholder="Search.." name="search" id="inputST1">
<button type="submit" id="search"><i class="fa fa-search"></i></button>
</form>
</div>
<!-- Step 1 Pick a song -->
<div class="stepOne">
<table id="songTable">
<!-- to make cells clickable, need <a>. Can tie hover,click event in jquery -->
<tr>
<th>Song Name</th>
<th>Artist/User</th>
</tr>
</table>
</div>
</div>
</div>
</section>
<div class="selectAddArea" id="stepTwoContainer">
<!-- Step 2 Add song to Playlist -->
<h4><i class="fa fa-chevron-right" style="color: #45ABA3;" aria-hidden="true"></i> <span id="action">Add</span> your song!</h4>
<div class="stepTwo">
<form id="addSongForm">
<!-- Your song populates from library click selection above -->
<label style="font-weight: bold;">Your song:</label>
<div id="yourSong" style="font-family: 'Architects Daughter', cursive; font-size: 20px;"></div>
<!-- <input class="w3-input w3-border w3-round" type="text"> -->
<!-- Your name populates from user login?? or typed by user -->
<label style="font-weight: bold;">Your name:</label>
<input class="w3-input w3-border w3-round" type="text" id="nameInput">
<label style="font-weight: bold;">Comment (optional):</label>
<input class="w3-input w3-border w3-round" type="text" id="userComment">
<button class="w3-btn w3-round-large w3-teal" type="button" id="addSong">Add Song!</button>
</form>
</div>
</div>
<!-- end Library class div -->
</div>
<!-- Section 3 Playlist array page -->
<!-- Music art and playback -->
<section class="container">
</section>
</section><!-- end main section -->
<!-- <div class="footer">
</div> -->
<!-- do we want to use this old veresion of jquery? do we have to? -->
<script src="https://code.jquery.com/jquery-2.2.0.min.js"></script>
<!-- <script src="./assets/javascript/coverflow-slideshow.js"></script> -->
<script defer src="https://use.fontawesome.com/releases/v5.0.2/js/all.js"></script>
<!-- link to soundcloud JS sdk -->
<script src="https://connect.soundcloud.com/sdk/sdk-3.3.0.js"></script>
<!-- link to soundcloud widget scirpt -->
<script type="text/javascript" src="./assets/javascript/api.js"></script>
<!-- link to custom js -->
<script type="text/javascript" src="./assets/javascript/soundcloud.js"></script>
</body>
</html>