-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
241 lines (234 loc) · 7.03 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Primary Meta Tags -->
<title>Drill Generator</title>
<meta name="title" content="Drill Generator" />
<meta
name="description"
content="Randomly generate marching drills in the style of OSUMB summer sessions and tryouts"
/>
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:title" content="Drill Generator" />
<meta
property="og:description"
content="Randomly generate marching drills in the style of OSUMB summer sessions and tryouts"
/>
<meta
property="og:image"
content="https://drillgenerator.com/assets/images/thumbnail.png"
/>
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:title" content="Drill Generator" />
<meta
property="twitter:description"
content="Randomly generate marching drills in the style of OSUMB summer sessions and tryouts"
/>
<meta
property="twitter:image"
content="hhttps://drillgenerator.com/assets/images/thumbnail.png"
/>
<!-- Icons -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#fb0000" />
<meta name="msapplication-TileColor" content="#fb0000" />
<meta name="theme-color" content="#bb0000" />
<link rel="manifest" href="/site.webmanifest" />
<script
async
src="https://unpkg.com/pwacompat"
crossorigin="anonymous"
></script>
<!-- Serive Worker for PWA -->
<script>
// if browser supports service worker
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/serviceWorker.js')
}
</script>
<title>Drill Generator</title>
<link rel="stylesheet" href="/assets/css/style.css" />
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.15.3/css/all.css"
integrity="sha384-SZXxX4whJ79/gErwcOYf+zWLeJdY/qpuqC4cAa9rOGUstPomtqpuNWT9wdPEn2fk"
crossorigin="anonymous"
/>
</head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-RY63QM9Y91"
></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())
gtag('config', 'G-RY63QM9Y91')
</script>
<body>
<nav
class="navbar is-primary"
role="navigation"
aria-label="main navigation"
>
<div class="navbar-brand">
<img
src="/assets/images/marching-shoe.svg"
alt="Marching Shoe"
width="32"
id="logo"
/>
<span class="navbar-item is-size-3 has-text-weight-bold m-3">
Drill Generator
</span>
</div>
</nav>
<main
class="
section
is-flex
is-flex-direction-column
is-align-items-center
is-justify-content-space-between
"
>
<section id="drill">
<h1 id="drill-header" class="title"></h1>
<div id="drill-body" class="box is-size-4"></div>
<div class="has-text-centered">
<button id="new-drill-btn" class="button is-primary is-large my-5">
New Drill
</button>
</div>
<div class="is-flex is-flex-direction-row is-justify-content-center">
<div id="options-dropdown" class="dropdown">
<div id="options-dropdown-btn" class="dropdown-trigger">
<button
class="button is-medium"
aria-haspopup="true"
aria-controls="dropdown-menu"
>
<span>Options</span>
<span class="icon is-small">
<i class="fas fa-angle-down" aria-hidden="true"></i>
</span>
</button>
</div>
<div class="dropdown-menu dropdown-menu-center" role="menu">
<div class="dropdown-content">
<div class="dropdown-item">
<input
id="horns-up-switch"
type="checkbox"
name="horns-up-switch"
class="switch is-rounded is-medium"
checked="checked"
/>
<label id="horns-up-switch-label" for="horns-up-switch"
>Horns Up</label
>
</div>
<hr class="dropdown-divider" />
<div class="dropdown-item has-text-centered">
<p
id="num-moves-label"
for="num-moves-slider"
class="mb-5 is-size-5"
>
3 moves
</p>
<input
id="num-moves-slider"
name="num-moves-slider"
class="
slider
is-large is-primary is-circle is-fullwidth
mt-0
styled-slider
"
step="1"
min="1"
max="5"
value="3"
type="range"
/>
</div>
<hr class="dropdown-divider" />
<div class="dropdown-item is-size-6 has-text-centered">
<p class="is-size-5">Moves</p>
<div id="move-options" class="has-text-left"></div>
</div>
<hr class="dropdown-divider" />
<div class="dropdown-item is-size-6 has-text-centered">
<p class="is-size-5">Turns</p>
<div id="turn-options" class="has-text-left"></div>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="metronome-buttons" class="is-centered mt-6 buttons">
<button class="button is-medium metronome-button" data-tempo="100">
<span class="icon">
<img src="/assets/images/metronome.svg" alt="Metronome" />
</span>
<span>100</span>
</button>
<button class="button is-medium metronome-button" data-tempo="120">
<span class="icon">
<img src="/assets/images/metronome.svg" alt="Metronome" />
</span>
<span>120</span>
</button>
<button class="button is-medium metronome-button" data-tempo="144">
<span class="icon">
<img src="/assets/images/metronome.svg" alt="Metronome" />
</span>
<span>144</span>
</button>
<button class="button is-medium metronome-button" data-tempo="160">
<span class="icon">
<img src="/assets/images/metronome.svg" alt="Metronome" />
</span>
<span>160</span>
</button>
<button class="button is-medium metronome-button" data-tempo="180">
<span class="icon">
<img src="/assets/images/metronome.svg" alt="Metronome" />
</span>
<span>180</span>
</button>
</section>
</main>
<footer class="footer has-text-centered">
<p>
©
<script>
document.write(new Date().getFullYear())
</script>
Colin A. Williams
<a href="https://github.com/c-o-l-i-n/drill-generator" target="_blank">
<span class="icon">
<i class="fab fa-github"></i>
</span>
</a>
</p>
<p><a href="feedback.html">Submit Feedback</a></p>
</footer>
<script src="/assets/js/Move.js"></script>
<script src="/assets/js/Turn.js"></script>
<script src="/assets/js/unmute.js"></script>
<script src="/assets/js/Metronome.js"></script>
<script src="/assets/js/index.js"></script>
</body>
</html>