-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinfoform.html
79 lines (71 loc) · 3.04 KB
/
infoform.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>ResQ Contact Tracing Form</title>
<!-- Bootstrap for Mobile-first, and JQuery -->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<!-- Font Awesome -->
<script src="https://kit.fontawesome.com/26da0e4274.js" crossorigin="anonymous"></script>
<!-- Optional styles and scripts of your own -->
<link rel="stylesheet" href="styles/style.css" />
<link rel="stylesheet" href="styles/bluepurple.css" />
</head>
<body>
<!-------------------------------------->
<!-- The following is HTML for layout -->
<!-------------------------------------->
<div id="wrapper">
<div class="form-container">
<h3>Please enter your contact tracing information</h3>
<form>
<div class="form-group row">
<label for="full-name" class="col-sm-4 col-form-label">Full Name</label>
<div class="col-sm-6">
<input type="text" class="form-control" id="full-name" placeholder="Full Name" required />
</div>
</div>
<div class="form-group row">
<label for="phone" class="col-sm-4 col-form-label">Phone Number</label>
<div class="col-sm-6">
<input type="text" class="form-control" id="phone" placeholder="123-456-7890"
pattern="[0-9]{3}-[0-9]{3}-[0-9]{4}" required />
</div>
</div>
<div class="form-group row">
<label for="email" class="col-sm-4 col-form-label">Email</label>
<div class="col-sm-6">
<input type="text" class="form-control" id="email" placeholder="Email" />
</div>
</div>
<div class="form-group row">
<div class="col-sm-12">
<button id="submit-btn" type="submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>
</div>
</div>
<!----------------------------------------------->
<!-- JS: Boostrap, Firebase, API related -->
<!----------------------------------------------->
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" crossorigin="anonymous">
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" crossorigin="anonymous">
</script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" crossorigin="anonymous">
</script>
<!-- Firebase libraries from CDN -->
<script src="https://www.gstatic.com/firebasejs/8.0.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.0.0/firebase-auth.js"></script>
<script src="https://cdn.firebase.com/libs/firebaseui/3.5.2/firebaseui.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.0.0/firebase-firestore.js"></script>
<script src="scripts/firebase_api.js"></script>
<!--------------------------------------------------------------------->
<!-- JS files: Your own JavaScript functions included here -->
<!--------------------------------------------------------------------->
<script src="scripts/display.js"></script>
<script src="scripts/infoform.js"></script>
</body>
</html>