-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathverify.html
104 lines (95 loc) · 4.24 KB
/
verify.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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- favicon -->
<link rel="icon" type="image/png" href="https://turnthebus.org//images/favicon.png">
<!-- custom styles -->
<link rel="stylesheet" href="styles.css">
<!-- bootstrap -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
crossorigin="anonymous"></script>
<script src="js/signin.js"></script>
<title>Turn the Bus | Verify Email</title>
</head>
<body>
<div hidden id="verifyMask">
<div class="mask">
<div class="lds-ripple">
<div></div>
<div></div>
</div>
<br>
<h4 class="mask-label">Verifying...</h4>
</div>
</div>
<div id="noCognitoMessage" class="configMessage" style="display: none;">
<div class="backdrop"></div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">No Cognito User Pool Configured</h3>
</div>
<div class="panel-body">
<p>There is no user pool configured in <a href="/js/config.js">/js/config.js</a>. You'll configure this
in Module 2 of the workshop.</p>
</div>
</div>
</div>
<div class="row">
<div class="col col-md"></div>
<div class="col-12 col-sm-6 col-md-4">
<form id="verifyForm">
<img src="https://turnthebus.org/images/turn-the-bus-logo.png" />
<br>
<br>
<h3>Verify Email</h3>
<br>
<p>
Enter the email you used for registration along with the verification code we sent to this email.
</p>
<div class="form-group">
<label for="emailInputVerify">Email</label>
<input type="email" class="form-control" id="emailInputVerify" required>
</div>
<div class="form-group">
<label for="codeInputVerify">Verification Code</label>
<input type="text" id="codeInputVerify" class="form-control" required>
</div>
<input class="btn btn-success" type="submit" value="Verify">
<br>
<br>
<a href="register.html">register</a>
<br>
<a href="index.html">sign in</a>
</form>
<div hidden id="verificationError" class="alert alert-danger" role="alert">
Some error ocurred! Please try again.
</div>
</div>
<div class="col col-md"></div>
</div>
<script src="js/vendor/aws-cognito-sdk.min.js"></script>
<script src="js/vendor/amazon-cognito-identity.min.js"></script>
<script src="js/config.js"></script>
<script src="js/cognito-auth.js"></script>
</body>
</html>