-
Notifications
You must be signed in to change notification settings - Fork 0
/
registration.html
56 lines (48 loc) · 1.42 KB
/
registration.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Registration page</title>
<style>
label{
display: inline-block;
float: left;
clear: left;
width: 150px;
text-align: right;
}
/*input {*/
/* display: inline-block;*/
/* float: left;*/
/*}*/
</style>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.813.0.min.js"></script>
<script src="modules/amazon-cognito-identity.js"></script>
</head>
<body>
<h3>Register new user</h3>
<p>
First enter username and password and click "Register user". This should send
an email with the verification code to the entered email. Enter this number
and press "Verify user".
</p>
<div>
<label for="email">Email</label><input id="email">
</div>
<div>
<label for="password">Password</label><input id="password" type="password">
</div>
<div>
<label for="verification">Verification</label><input id="verification">
</div>
<div>
<button id="register_button">Register user</button>
<button id="verify_button">Verify user</button>
<button id="resend_button">Resend verification code</button>
</div>
<div>
<a href="index.html">Back to main page</a>
</div>
<script type="module" src="registration.js"></script>
</body>
</html>