-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
612 lines (567 loc) · 21.1 KB
/
form.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
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Week 6 TWF0dCBCdXRsZXIgLSAxMC8wMi8yMDIyIDc6MzFhbQ== -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>The Subtle Madness</title>
<!-- jQuery CDN -->
<script
src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.js"
integrity="sha512-CX7sDOp7UTAq+i1FYIlf9Uo27x4os+kGeoT7rgwvY+4dmjqV0IuE/Bl5hVsjnQPQiTOhAX1O2r2j5bjsFBvv/A=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<!-- Google Fonts CDN -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Raleway:ital,wght@1,200&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Grenze+Gotisch:wght@500&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Splash&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Qahiri&display=swap"
rel="stylesheet"
/>
<!-- Google Icons CDN -->
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200"
/>
<!-- Font Awesome CDN -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css"
integrity="sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<!-- Bootstrap CDN CSS -->
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT"
crossorigin="anonymous"
/>
<!-- Bootstrap CDN JS -->
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-u1OknCvxWvY5kfmNBILK2hRnQC3Pr17a+RTT6rIHI7NnikvbZlHgTPOOmMi466C8"
crossorigin="anonymous"
></script>
<!-- FancyApp CSS CDN -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@fancyapps/ui@4.0/dist/fancybox.css"
/>
<!-- FancyApp JS CDN -->
<script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui@4.0/dist/fancybox.umd.js"></script>
<!-- AOS CSS CDN -->
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet" />
<!-- AOS JS CDN -->
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<!-- local styles -->
<link rel="stylesheet" href="/css/form.css" />
</head>
<body>
<!-- BEGIN HEADER -->
<header>
<!-- Begin Google Icons -->
<div class="container top-logo text-center">
<div class="row">
<div class="col-12 col-md-6">
<span class="material-symbols-outlined">
<a class="sidebar-icon" href="index.html">home</a>
</span>
<span class="material-symbols-outlined">
<a
data-bs-toggle="offcanvas"
href="#offcanvasExample"
role="button"
aria-controls="offcampusExample"
class="sidebar-icon"
>
menu
</a>
</span>
</div>
<div class="col-12 col-md-6 text-center">
<a class="navbar-brand" href="\images\brand\logo\logo-1.jpeg"
><img
src="images\brand\logo\logo-1.jpeg"
class="img-fluid rounded mx-auto d-block logo"
alt="The Subtle Madness logo"
/>
</a>
<!-- Commenting out the typed band name for possible use later. Instead using logo image for this purpose
The Subtle Madness
--></div>
</div>
</div>
<!-- End Google Icons -->
<!-- Begin Left OffCanvas -->
<div
class="offcanvas offcanvas-start"
tabindex="-1"
id="offcanvasExample"
aria-labelledby="offcanvasExampleLabel"
>
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="offcanvasExampleLabel">
On the album <em>Zero-Sum</em>...
</h5>
<button
type="button"
class="btn-close"
data-bs-dismiss="offcanvas"
aria-label="Close"
></button>
</div>
<div class="offcanvas-body">
<div class="text-center">
<div class="spokesperson">
<img
alt="spokesperson"
class="cropped-offcanvas"
src="/images/general/spokesperson.jpeg"
/>
</div>
<br />
<blockquote>
<strong>Zero-Sum</strong> is the name of the killer debut album
from the often heady and thought-provoking Dallas,TX based rock
band, <strong>The Subtle Madness</strong>. Listen now on all major
streaming services.
<cite>Pitchfork Magazine</cite>
</blockquote>
<a class="btn btn-outline-primary btn-offcanvas-left" href="#"
>Apple Music</a
>
<a class="btn btn-outline-primary btn-offcanvas-left" href="#"
>Spotify</a
>
<a class="btn btn-outline-primary btn-offcanvas-left" href="#"
>Tidal</a
>
</div>
</div>
</div>
<!-- End Left OffCanvas -->
<!-- Begin Top Nav Bar -->
<nav class="navbar navbar-expand-lg bg-light sticky-top">
<div class="container-fluid">
<!-- Comment out Navbar Brand when you do not want to display logo or branding content on header
<a class="navbar-brand" href="\images\brand\logo\logo-1.jpeg"
><img
src="images\brand\logo\logo-1.jpeg"
class="small logo"
alt="The Subtle Madness logo"
/>
-->
</a>
<!-- Use the Navbar-brand code above to establish the TSM logo for Branding Purposes. Will have to reverse the commenting out and apply. -->
<button
class="navbar-toggler custom-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="index.html"
>Home</a
>
</li>
<li class="nav-item">
<a class="nav-link" href="gallery.html">Gallery</a>
</li>
<li class="nav-item">
<a class="nav-link" href="form.html">Street Team</a>
</li>
<li class="nav-item">
<a class="nav-link" href="table.html">Discussions</a>
</li>
<!-- Commenting out Dropdown menu on Nav Bar
<li class="nav-item dropdown">
<a
class="nav-link dropdown-toggle"
href="#"
role="button"
data-bs-toggle="dropdown"
aria-expanded="false"
>
Dropdown
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">Action</a></li>
<li><a class="dropdown-item" href="#">Another action</a></li>
<li><hr class="dropdown-divider" /></li>
<li>
<a class="dropdown-item" href="#">Something else here</a>
</li>
</ul>
</li>
-->
<!-- Commenting out Disabled link
<li class="nav-item">
<a class="nav-link disabled">Disabled</a>
</li> -->
</ul>
<form class="d-flex" role="search">
<input
class="form-control me-2"
type="search"
placeholder="Search"
aria-label="Search"
/>
<button class="btn btn-outline-success btn-search" type="submit">
Search
</button>
</form>
</div>
</div>
</nav>
<!-- End Top Nav Bar -->
</header>
<!-- END HEADER -->
<!-- The code between begin and end header comments above will be displayed on each page of the site. -->
<!-- BEGIN MAIN TAG -->
<main>
<div class="webform">
<h1>TSM Club / Street Team Registration Form</h1>
<!-- For developers, you will need to use an action tag after post to designate where the form entry is to be processed. Need to research methods to ensure the form is safe -->
<form
method="POST"
autocomplete="off"
enctype="multipart/form-data"
class="needs-validation"
novalidate
>
<div class="row">
<!-- full name - text field -->
<div
class="col-12 col-xs-12 col-sm-12 col-md-4 col-lg-4 col-xl-4 col-xxl-4"
>
<label for="full-name">Full Name</label>
<input
type="text"
name="full_name"
id="full-name"
required
class="form-control"
/>
<div class="valid-feedback">
Looks good!
</div>
<div class="invalid-feedback">
Please input full name.
</div>
</div>
<!-- age - text field -->
<div
class="col-12 col-xs-12 col-sm-12 col-md-4 col-lg-4 col-xl-4 col-xxl-4"
>
<label for="age">Age</label>
<input
type="number"
name="age"
id="age"
min="16"
max="100"
required
class="form-control"
/>
<div class="valid-feedback">
Looks good!
</div>
<div class="invalid-feedback">
Please input age (must be at least 16 years old).
</div>
</div>
<!-- t-shirt - drop-down (select) field -->
<div
class="col-12 col-xs-12 col-sm-12 col-md-4 col-lg-4 col-xl-4 col-xxl-4"
>
<label for="t-shirt">T-shirt Size</label>
<select name="t_shirt" id="t-shirt" required class="form-select">
<option value="">SELECT SIZE</option>
<option value="XS">XS</option>
<option value="S">S</option>
<option value="M">M</option>
<option value="L">L</option>
<option value="XL">XL</option>
<option value="XXL">XXL</option>
<option value="CUSTOM">CUSTOM</option>
</select>
<div class="invalid-feedback">
Please choose a T-shirt size.
</div>
<input
type="text"
name="custom"
placeholder="Please type custom size"
required
disabled
class="form-control"
id="custom"
/>
</div>
<!-- email - email field -->
<div
class="col-12 col-xs-12 col-sm-12 col-md-4 col-lg-4 col-xl-4 col-xxl-4"
>
<label for="email">Email</label>
<input
type="email"
name="your_email"
id="email"
required
class="form-control"
/>
<div class="invalid-feedback">
No spammers here!! Email address is required to keep you
informed.
</div>
<!-- Commenting out the pattern attribute, which should be taken care of by Bootstrap Form Control. Will leave in case needed later.
pattern=""
--></div>
<!-- phone - tel field -->
<div
class="col-12 col-xs-12 col-sm-12 col-md-4 col-lg-4 col-xl-4 col-xxl-4"
>
<label for="phone">Phone (optional)</label>
<input type="tel" name="phone" id="phone" class="form-control" />
<div class="valid-feedback">
Looks good!
</div>
</div>
<!-- social media - url field -->
<div
class="col-12 col-xs-12 col-sm-12 col-md-4 col-lg-4 col-xl-4 col-xxl-4"
>
<label for="url">Social Media URL (optional)</label>
<input type="url" name="url" id="url" class="form-control" />
<div class="invalid-feedback">
Please include a valid URL. URLs begin with http
</div>
</div>
<!-- start date - date field -->
<div
class="col-12 col-xs-12 col-sm-12 col-md-4 col-lg-4 col-xl-4 col-xxl-4"
>
<label for="date">When Can You Begin?</label>
<input
type="date"
name="start_date"
id="date"
required
class="form-control"
/>
</div>
<!-- t-shirt color - color field -->
<div
class="col-12 col-xs-12 col-sm-12 col-md-4 col-lg-4 col-xl-4 col-xxl-4"
>
<label for="color">Which Color T-Shirt Would You Prefer?</label>
<input
type="color"
name="color"
id="color"
required
class="form-control form-control-color"
/>
<div class="valid-feedback">
If no color was picked, then you get black. This
<em>is</em> rock n' roll, baby!!
</div>
</div>
<!-- veteran question - radio field -->
<!-- Need to Add a function like we created on form.js to display "Thank you for your Service. We are your fans." message if they choose "yes" -->
<div
class="col-12 col-xs-12 col-sm-12 col-md-4 col-lg-4 col-xl-4 col-xxl-4"
>
<strong>Are you a U.S. Veteran?</strong>
<input
type="radio"
name="veteran"
id="veteran_yes"
value="yes"
required
class="form-check-input radio"
/>
<label for="veteran_yes">yes</label>
<input
type="radio"
name="veteran"
id="veteran_no"
value="no"
required
class="form-check-input radio"
/>
<label for="veteran_no">no</label>
</div>
<!-- time of day - checkbox field -->
<!-- When these fields resize responsively almost middle way between max and min screen sizes, it throws the boxes & Labels out of alignment. Need to find a fix for this. Perhaps fieldset tag. -->
<div
class="col-12 col-xs-12 col-sm-12 col-md-4 col-lg-4 col-xl-4 col-xxl-4"
>
<strong>Available Time of Day?</strong><br />
<input
type="checkbox"
name="time_of_day"
id="time-of-day-morning"
value="Morning"
required
class="form-check-input checkbox"
/>
<label for="time-of-day-morning">Morning</label
>
<input
type="checkbox"
name="time_of_day"
id="time-of-day-afternoon"
value="Afternoon"
required
class="form-check-input checkbox"
/>
<label for="time-of-day-afternoon">Afternoon</label
>
<input
type="checkbox"
name="time_of_day"
id="time-of-day-evening"
value="Evening"
required
class="form-check-input checkbox"
/>
<label for="time-of-day-evening">Evening</label>
</div>
<!-- background - file field -->
<div class="col-12">
<label for="file">Background Check</label>
<input
type="file"
name="file"
id="file"
required
accept=".pdf"
class="form-control"
/>
<div class="valid-feedback">
Looks good!
</div>
<div class="invalid-feedback">
For everyone's safety, we <strong>require</strong> background
checks on TSM Street Team Members. Please ensure that you upload
requested file in <em>.pdf</em> format.
</div>
</div>
<!-- comments - text area (multi-line) field. -->
<div class="col-12">
<label for="about-you">Tell us about yourself (optional)</label>
<textarea
name="about_you"
id="about-you"
cols="50"
rows="7"
class="form-control"
></textarea>
<div class="valid-feedback">
Looks good!
</div>
</div>
<!-- terms and conditions - checkbox (switch) field -->
<div class="col-12 form-check form-switch">
<input
type="checkbox"
id="terms-and-conditions"
name="terms"
value="Yes"
required
class="form-check-input"
/>
<label for="terms-and-conditions"
>I accept the terms and conditions</label
>
<div class="valid-feedback">
Looks good!
</div>
<div class="invalid-feedback">
You must agree before submitting.
</div>
</div>
<!-- submit button - submit field -->
<div class="col-12">
<input
type="submit"
name="submit"
value="Rock with Us"
class="submit btn btn-outline-primary"
/>
</div>
</div>
</form>
</div>
</main>
<!-- END MAIN TAG -->
<!-- BEGIN FOOTER TAG -->
<footer>
<!-- Begin Footer -->
<div class="container-fluid text-center footer-row" id="footerInfo">
<div class="row">
<div class="col-6 col-sm-6 col-md-4 col-lg-2 col-xl-2">
<a href="#">Music</a>
</div>
<div class="col-6 col-sm-6 col-md-4 col-lg-2 col-xl-2">
<a href="#">Tour</a>
</div>
<div class="col-6 col-sm-6 col-md-4 col-lg-2 col-xl-2">
<a href="#">News</a>
</div>
<div class="col-6 col-sm-6 col-md-4 col-lg-2 col-xl-2">
<a href="#"> Videos</a>
</div>
<div class="col-6 col-sm-6 col-md-4 col-lg-2 col-xl-2">
<a href="#">Links</a>
</div>
<div class="col-6 col-sm-6 col-md-4 col-lg-2 col-xl-2">
<a href="#">Fan Club</a>
</div>
</div>
<hr />
<div class="row">
<div class="col-12">
<a href="https://www.facebook.com" target="_blank"
><i class="fa-brands fa-facebook fa-social-media"></i
></a>
<a href="https://www.instagram.com" target="_blank"
><i class="fa-brands fa-instagram fa-social-media"></i
></a>
<a href="https://www.tiktok.com" target="_blank"
><i class="fa-brands fa-tiktok fa-social-media"></i
></a>
</div>
</div>
</div>
<!-- End Footer -->
</footer>
<!-- END FOOTER TAG -->
<!-- Local Scripts -->
<script src="/js/form.js"></script>
</body>
</html>