-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.htm
134 lines (130 loc) · 4.64 KB
/
index.htm
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
<!doctype html>
<html lang="en">
<head>
<title>Set-List Generator</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
</head>
<body>
<!-- UI Header -->
<div class="container">
<div class="jumbotron bg-dark text-white text-center py-5 mt-3 mb-3">
<h1>Set List Creator</h1>
<p>Arrange your set list. Type in the name of the song, the name of the artist, and choose a set list to post it
to.</p>
</div>
<!-- Form Card -->
<div class="card form-group">
<div class="card-header text-center bg-info text-light">
<h2 class="my-3">Enter Song:</h2>
<!-- Error Message for Empty Input -->
<h4><span class="text-danger bg-warning" id="errorMsg"></span></h4>
</div>
<div class="card-body bg-dark">
<!-- Song Input -->
<input type="text" id="songName" class="form-control mb-1" placeholder="Song">
<!-- Artist Input -->
<input type="text" id="songArtist" class="form-control mb-1" placeholder="Artist">
<!-- Set List# Input -->
<select id="setListNum" class="form-control form-control-md">
<option value="1">Set List 1</option>
<option value="2">Set List 2</option>
<option value="3">Set List 3</option>
<option value="4">Set List 4</option>
</select>
</div>
<div class="card-footer">
<!-- Submit Button -->
<button class="form-control btn btn-block btn-success">Submit</button>
</div>
</div>
</div>
<div class="container">
<div class="row mt-4 mx-3 text-center">
<!-- Set List 1 Table Target -->
<div class="col-sm-6 border mb-4">
<h5>Set List: 1</h5>
<table class="table table-striped">
<thead class="thead-dark">
<tr>
<th scope="col">Song</th>
<th scope="col">Artist</th>
<th scope="col">Remove</th>
</tr>
<tbody id="targetListOne">
<!-- Table1 Data Target -->
</tbody>
</thead>
</table>
</div>
<!-- Set List 2 Table Target -->
<div class="col-sm-6 border mb-4">
<h5>Set List: 2</h5>
<table class="table table-striped">
<thead class="thead-dark">
<tr>
<th scope="col">Song</th>
<th scope="col">Artist</th>
<th scope="col">Remove</th>
</tr>
<tbody id="targetListTwo">
<!-- Table2 Data Target -->
</tbody>
</thead>
</table>
</div>
</div>
<div class="row mt-4 mx-3 text-center">
<!-- Set List 3 Table Target -->
<div class="col-sm-6 border mb-4">
<h5>Set List: 3</h5>
<table class="table table-striped">
<thead class="thead-dark">
<tr>
<th scope="col">Song</th>
<th scope="col">Artist</th>
<th scope="col">Remove</th>
</tr>
<tbody id="targetListThree">
<!-- Table3 Data Target -->
</tbody>
</thead>
</table>
</div>
<!-- Set List 4 Table Target -->
<div class="col-sm-6 border mb-4">
<h5>Set List: 4</h5>
<table class="table table-striped">
<thead class="thead-dark">
<tr>
<th scope="col">Song</th>
<th scope="col">Artist</th>
<th scope="col">Remove</th>
</tr>
<tbody id="targetListFour">
<!-- Table4 Data Target -->
</tbody>
</thead>
</table>
</div>
</div>
</div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<script src="script.js"></script>
</body>
</html>