-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathsignup.html
More file actions
288 lines (261 loc) · 6.07 KB
/
signup.html
File metadata and controls
288 lines (261 loc) · 6.07 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link
href="https://fonts.googleapis.com/css?family=Roboto&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
type="text/css"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<title>Sign Up</title>
<link
rel="icon"
href="https://res.cloudinary.com/seun007/image/upload/v1572520438/image_3_zznsc1.png"
type="image/gif"
sizes="5x16"
/>
<style>
* {
margin: 0px;
padding: 0px;
}
body {
font-family: roboto, sans-serif;
font-style: normal;
color: #4f4f4f;
background-color:#BBBBBB;
background-image:url("https://res.cloudinary.com/seun007/image/upload/v1572519960/Background_do_w0auk7.png");
}
.container {
display: grid;
width: 1000px;
margin: 80px auto;
grid-template-columns: 450px 450px;
grid-template-rows: 600px;
justify-content: center;
align-content: center;
}
.form {
background: #0049b5;
padding: 30px;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
justify-content: center;
box-shadow: -12px 2px 26px -17px rgba(0, 0, 0, 0.75);
}
input {
margin: 10px 0;
border: 1px solid #fff;
background: #0049b5;
height: 30px;
padding: 2px 2px 2px 10px;
color: #fff;
border-radius: 5px;
}
input:focus {
font-family: roboto, sans-serif;
}
.placeicon {
font-family: fontawesome;
}
input[type="email"]::placeholder {
/* Firefox, Chrome, Opera */
text-align: right;
color: #fff;
}
input[type="email"]::-ms-input-placeholder {
/* Microsoft Edge */
text-align: right;
color: #fff;
}
input[type="password"]::placeholder {
/* Firefox, Chrome, Opera */
text-align: right;
color: #fff;
}
input[type="password"]::-ms-input-placeholder {
/* Microsoft Edge */
text-align: right;
color: #fff;
}
button {
color: darkgreen;
font-weight: bolder;
}
div.div-2 a#forgot-password {
text-decoration: none;
color: #fff;
font-size: 12px;
}
#checkitems {
display: flex;
flex-direction: row;
align-items: baseline;
margin-bottom: 40px;
padding: 0;
justify-content: flex-end;
}
form.form h1 {
color: #fff;
margin-bottom: 40px;
}
form.form label {
padding-top: 10px;
color: #fff;
}
form.form div#btns {
display: flex;
flex-direction: column;
align-items: center;
}
form.form div#btns button.btn.login {
align-self: stretch;
padding-top: 10px;
padding-bottom: 10px;
background: #f9cd40;
color: #0049b5;
font-size: 14px;
border-radius: 5px;
/* border: none; */
}
/* form.form div#btns button.btn.login:hover {
} */
.side2 {
background: gray;
position: relative;
top: 0;
left: 0;
}
.img1 {
position: relative;
top: 0;
left: 0;
height: 600px;
width: 450px;
}
div.overlay {
position: absolute;
top: 0;
left: 0;
height: 600px;
width: 450px;
background: rgba(255, 255, 255, 0.74);
}
.img2 {
position: absolute;
top: 200px;
left: 30px;
width: 400px;
height: 80px;
}
center {
margin-top:1rem;
color:#FFFFFF;
}
center>a{
color:#f9cd40;
text-decoration: none;
}
@media screen and (max-width: 700px) {
.container {
width: 350px;
margin: 30px auto;
grid-template-columns: 1fr;
grid-template-rows: 600px;
justify-content: center;
align-content: center;
}
.side2 {
display: none;
}
}
</style>
</head>
<body>
<div class="container">
<form class="form" action="#">
<h1 style="color:#f9cd40;">GET STARTED.
<br>BECOME A PARTNER.</H1>
<div style="margin-top:-2rem; color:white; font-size:14px;">Register your car park with us and become a partner with us</div>
<br />
<label for="email">Email Address</label>
<input
type="email"
name="email"
id="email"
class="placeicon"
placeholder=" "
placeholder="johnbrown@gmail.com"
onblur="validateMail()"
/>
<b id="emError" style="color:lightcoral; font-size:14px"></b>
<label for="name">Full Name</label>
<input type="text" id="name" class="placeicon" placeholder="John Brown"/>
<label for="password">Password</label>
<input
type="password"
id="password"
class="placeicon"
placeholder=" "
onblur="validatePasword()"
/>
<div id="checkitems">
<div class="div-2">
<b id="passError" style="color:lightcoral; font-size:14px "></b>
<a href="" id="forgot-password">Forgot Password?</a>
</div>
</div>
<div id="btns" class="btns">
<button
class="btn login"
type="button"
value="Sign Up"
>
Sign Up
</button>
</div>
<center>Already Have an Account? <a href="index.html">Login</a></center>
</form>
<div class="side2">
<img class="img1" src="https://res.cloudinary.com/seun007/image/upload/v1572519962/Group_1_wpqau1.jpg" />
</div>
</div>
<script type="text/javascript">
var evalidated = false;
var pvalidated = false;
function validateMail() {
var em = email.value;
var check = em.search("@");
if (check < 0) {
emError.innerHTML = "You have not entered a valid email";
evalidated = false;
} else {
emError.innerHTML = "";
evalidated = true;
}
}
function validatePasword() {
var alphanum = /^[0-9a-zA-Z]+$/;
if (
password.value.match(alphanum) &&
password.value.length > 5 &&
password.value.length < 15
) {
passError.innerHTML = "";
pvalidated = true;
} else {
passError.innerHTML =
"Password must incude numbers or characters only (min 5, max 15)";
pvalidated = false;
}
}
</script>
</body>
</html>