-
Notifications
You must be signed in to change notification settings - Fork 1
/
register.html
118 lines (104 loc) · 4.66 KB
/
register.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
<!DOCTYPE html>
<html lang="en">
<html>
<head>
<meta charset="UTF-8">
<meta name="description" content="AWS Serverless Web App tutorial">
<meta name="keywords" content="HTML,CSS,XML,JavaScript">
<meta name="author" content="Izza">
<meta name="date" content="Jan 2020">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--Google's MDL-->
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.green-indigo.min.css" />
<script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script>
<!--Cognito & JavaScript-->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="js/amazon-cognito-auth.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.596.0.min.js"></script>
<script src="./js/amazon-cognito-identity.min.js"></script>
<script src="./js/config.js"></script>
<script src="./js/register.js"></script>
<script type="text/javascript" src="./js/sign-in.js"></script>
<title>Sign-up</title>
</head>
<body>
<!-- Always shows a header, even in smaller screens. -->
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<!-- Title -->
<span class="mdl-layout-title">Sign up</span>
<!-- Add spacer, to align navigation to the right -->
<div class="mdl-layout-spacer"></div>
<!-- Navigation. We hide it in small screens. -->
<nav class="mdl-navigation mdl-layout--large-screen-only">
<a class="mdl-navigation__link" href="./register.html">Register</a>
<a class="mdl-navigation__link" href="./products.html">Product</a>
<a class="mdl-navigation__link" href="./sign-in.html">Sign In</a>
<a class="mdl-navigation__link" href="./sign-out.html">Sign Out</a>
</nav>
</div>
</header>
<div class="mdl-layout__drawer">
<span class="mdl-layout-title">Contents</span>
<nav class="mdl-navigation">
<a class="mdl-navigation__link" href="./register.html">Register</a>
<a class="mdl-navigation__link" href="./products.html">Product</a>
<a class="mdl-navigation__link" href="./sign-in.html">Sign In</a>
<a class="mdl-navigation__link" href="./sign-out.html">Sign Out</a>
</nav>
</div>
<main class="mdl-layout__content">
<div class="page-content"><!-- Your content goes here --></div>
</main>
</div>
<!--Get below the nav menu at the top-->
<br><br><br>
<div class="container">
<div>
<h2 style="text-align:center; font-family:'Tangerine', serif;">Sign Up</h2>
<div id='sign-up'>
</div>
</div>
</div>
<div style="text-align:center; font-family:'Tangerine', serif;">
<main class="mdl-layout__content">
<div class="mdl-card mdl-shadow--6dp">
<div class="mdl-card__title mdl-color--primary mdl-color-text--white">
<h2 class="mdl-card__title-text" style="font-family:'Tangerine', serif;">Saviours Sign Up</h2>
</div>
<div class="mdl-card__supporting-text" style="text-align:center; font-family:'Tangerine', serif;">
<form action="#">
<div class="mdl-textfield mdl-js-textfield">
<input class="mdl-textfield__input" type="text" id="emailInputRegister" />
<label class="mdl-textfield__label" for="username">Email Address</label>
</div>
<div class="mdl-textfield mdl-js-textfield">
<input class="mdl-textfield__input" type="password" id="passwordInputRegister" />
<label class="mdl-textfield__label" for="userpass">Password</label>
</div>
<div class="mdl-textfield mdl-js-textfield">
<input class="mdl-textfield__input" type="password" id="confirmationpassword" />
<label class="mdl-textfield__label" for="userpass">Confirm Password</label>
</div>
<div class="mdl-textfield mdl-js-textfield">
<p class="mdl-card__title-text">Password must contain at least 1 Uppercase, lowercase, number and special character </p>
</div>
</form>
</div>
<div class="mdl-card__actions mdl-card--border">
<button class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect" onclick="registerButton();">Sign up</button>
</div>
</div>
</main>
</div>
<div class="container">
<div>
<div id='logged-in'>
<p></p>
</div>
</div>
</div>
</body>
</html>