-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
94 lines (84 loc) · 3.85 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script type="text/javascript" src="js/jquery-3.3.1.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/scripts.js"></script>
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/styles.css">
<link href="https://fonts.googleapis.com/css?family=Comfortaa:400,700" rel="stylesheet">
<title>jYoukBox Music</title>
</head>
<body>
<div class="container">
<nav class="navbar navbar-inverse navbar-fixed-top">
<span class="logo"><a href="index.html">jYoukBox Music Player</a></span>
<ul id="nav">
<li><span class="clickable" data-toggle="modal" data-target="#addSongModal">Add A Song</span></li>
<li><span class="clickable" data-toggle="modal" data-target="#findSongModal" id="findSong">Library</span></li>
</ul>
</nav>
<div id="display">
<h2 id="outputCurrent"></h2>
<div id="player"></div>
<span class="videoControls glyphicon glyphicon-pause" id="pause"></span>
<span class="videoControls glyphicon glyphicon-play" id="startButton"></span>
<span class="videoControls glyphicon glyphicon-stop" id="stop"></span>
<span class="videoControls glyphicon glyphicon-menu-right" id="playNext"></span>
<div class="" id="displayQueue"></div>
</div>
<!-- Modified Bootstrap Modal From https://getbootstrap.com/docs/4.0/components/modal/ -->
<div class="modal fade" id="addSongModal" tabindex="-1">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="">Add a song to the jukebox</h3>
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form class="" id="addSongToQueue">
<div class="form-group">
<label for="songTitle">Title</label>
<input type="text" id="songTitle" placeholder="Song title">
<label for="videoId">Video ID</label>
<input type="text" id="videoId" placeholder="Video ID">
<button type="submit" name="button" id="addSongToQueue">Add Song</button>
</div>
</form>
<form method="get" action="https://music.youtube.com/search" target="_blank">
<input type="text" name="q" size="31" maxlength="255" value="" />
<input type="submit" value="search youtube" />
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- Modified Bootstrap Modal From https://getbootstrap.com/docs/4.0/components/modal/ -->
<div class="modal fade" id="findSongModal" tabindex="-1">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="">Find a song in our library to add to your queue.</h3>
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div id="displayLibrary">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
</body>
</html>