-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhire.html
532 lines (471 loc) · 22.6 KB
/
hire.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
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
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Register</title>
<link rel="icon" href="css/assets/icon.png" type="image/x-icon">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet'>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link href="css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection" />
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<link src="https://formvalidation.io/vendors/formvalidation/css/formValidation.min.css"/>
<link href="css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<style>
.btn-sm {
background-color: seashell;
}
.wrapper {
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
display: flex;
background: linear-gradient(45deg, #EE7752, #E73C7E, #23D5AB, #FFDC18, #f46b45);
background-size: 1000% 100%;
animation: gradient 14s linear infinite;
animation-direction: alternate;
}
@keyframes gradient {
0% {
background-position: 0%
}
100% {
background-position: 100%
}
}
.modal.modal-fixed-footer {
top: 15% !important;
}
.modal.login {
width: fit-content;
padding: 5px;
}
.modal .modal-footer {
border-radius: 0 0 2px 2px;
background-color: #fafafa;
padding: 4px 6px;
height: 56px;
text-align: right;
}
nav ul a,
nav .brand-logo {
color: #444;
}
.test:hover {
border-bottom: 3.5px solid #26a69a;
background-color: transparent;
line-height: 60px;
/* background-color: #26a69a */
}
p {
line-height: 2rem;
}
.sidenav-trigger {
color: #26a69a;
}
.parallax-container {
min-height: 380px;
line-height: 0;
height: auto;
color: rgba(255, 255, 255, .9);
}
@media only screen and (max-width: 992px) {
.parallax-container .section {
top: 40%;
}
#index-banner .section {
top: 10%;
}
}
@media only screen and (max-width: 600px) {
#index-banner .section {
top: 0;
}
}
.icon-block {
padding: 0 15px;
}
.icon-block .material-icons {
font-size: inherit;
}
footer.page-footer {
margin: 0;
}
#map-canvas {
width: 100%;
height: 400px;
margin: 0;
padding: 15px;
}
.tap-target {
color: #fff;
}
.tap-target a {
color: #fff;
text-decoration: underline;
}
.error {
color: red;
text-align: left;
font-size: 11px;
font-family: Montserrat;
}
[for^=input-file-max-fs] {
text-align: center;
}
</style>
</head>
<body>
<nav class="white" role="navigation" style="line-height: 400%">
<div class="nav-wrapper container">
<a id="logo-container" href="./index.html" class="brand-logo"><img src="css/assets/testings.png"
style="padding-top:4px"></a>
<ul class="right hide-on-med-and-down tabs-fixed-width">
<li><a class="test" href="#" style="font-family:Montserrat; text-decoration: none; color: black;">How it
Works</a></li>
<li><a class="test" href="#" style="font-family:Montserrat; text-decoration: none; color: black;">Post A
Project</a></li>
<li><a class="test" href="#"
style="font-family:Montserrat; text-decoration: none; color: black;">Community</a></li>
<li><a class="test" href="#" style="font-family:Montserrat; text-decoration: none; color: black;">FAQ
Section</a></li>
</ul>
<ul id="nav-mobile" class="sidenav">
<li><a href="#" style="font-family:Montserrat; text-decoration: none; color: black;">How it Works</a>
</li>
<li><a href="#" style="font-family:Montserrat; text-decoration: none; color: black;">Post A Project</a>
</li>
<li><a href="#" style="font-family:Montserrat; text-decoration: none; color: black;">Community</a></li>
<li><a href="#" style="font-family:Montserrat; text-decoration: none; color: black;">FAQ Section</a>
</li>
</ul>
<a href="#" data-target="nav-mobile" class="sidenav-trigger button-collapse"
style="text-decoration: none; color: teal;"><i class="material-icons">menu</i></a>
</div>
</nav>
<div id="flayer" class="wrapper">
<!-- Material form register -->
<div class="card z-depth-4">
<div style="background-color: #17A2B8;">
<br>
<h5 class="center" style="font-family:Montserrat; font-weight: 1000; color: white;">Hire Talent!
</h5>
<p class="center"
style="font-family:Montserrat; margin-top:0px; font-weight: 600; margin-bottom: 28px;">Get 100%
skilled freelancers only from your nearby location.
</p>
</div>
<!--Card content-->
<div class="card-body px-lg-5 pt-0">
<!-- Form -->
<form class="text-center" style="color: #757575;" id="form" novalidate="novalidate" action="submit">
<div class="form-row">
<div class="col">
<!-- First name -->
<div class="input-field col s6" style="padding:0px;">
<input id="fname" type="text" name="fname" required="" aria-required="true">
<label for="fname" style="font-family: Montserrat; display:flex;">First Name<p
style="line-height: 20px;">*</p></label>
</div>
</div>
<div class="col">
<!-- Last name -->
<div class="input-field col s6" style="padding:0px;">
<input id="last_name" type="text">
<label for="last_name" style="font-family: Montserrat;">Last Name</label>
</div>
</div>
</div>
<!-- Organization Name -->
<div class="input-field col s12" style="padding: 0px; margin-top: 0px;">
<input id="oname" type="text" name="oname" required="" aria-required="true">
<label for="oname" style="font-family: Montserrat; display:flex;">Organization Name<p
style="line-height: 20px;">*</p></label>
</div>
<!-- Organization Name -->
<div class="input-field col s12" style="padding: 0px; margin-top: 0px;">
<input id="rnumb" type="text" name="rnumb" required="" aria-required="true">
<label for="rnumb" style="font-family: Montserrat; display:flex;">Organization Registration No.
<p style="line-height: 20px;">*</p></label>
</div>
<!-- Organization E-mail -->
<div class="input-field col s12" style="padding:0px; margin:0px;">
<input id="cemail" type="email" name="cemail" required="" aria-required="true">
<label for="cemail" style="font-family: Montserrat; display:flex;">Organization Email<p
style="line-height: 20px;">*</p></label>
</div>
<!-- Password -->
<div class="input-field col s12" style="padding:0px;">
<input id="password" type="password" name="password" required="" aria-required="true">
<label for="password" style="font-family: Montserrat; display:flex;">Password<p
style="line-height: 20px;">*</p></label>
</div>
<!-- Confirm Password -->
<div class="input-field col s12" style="padding:0px;">
<input id="cpassword" type="password" required="" name="cpassword" aria-required="true">
<label for="cpassword" style="font-family: Montserrat; display:flex;">Confirm Password<p
style="line-height: 20px;">*</p></label>
</div>
<!-- Organization Proof -->
<p
style="color: teal; font-family: Montserrat;color: teal;
font-family: Montserrat; align-content: left; text-align: left; font-size: 16px; margin-bottom: 8px; display: flex;">
Organization Proof*</p>
<input type="file" id="input-file-max-fs" class="file-upload" name="image" id="image"
data-max-file-size="2M" required="" style="align-content: left" aria-required="true" />
<!-- Sign up button -->
<button class="btn btn-outline-info btn-rounded btn-block my-4 waves-effect z-depth-4" id="register"
style="font-family:Montserrat; font-weight: 800; border-width: 2px;">Sign Up</button>
<!-- Sign up button -->
<button class="btn btn-outline-info btn-rounded btn-block my-4 waves-effect z-depth-4" type="button"
style="font-family:Montserrat; font-weight: 800; border-width: 2px; background-color: #17A2B8; color: white; border-color: #17A2B8;"
data-toggle="modal" data-target="#myModal">Login</button>
<!-- Social register -->
<p style="font-family:Montserrat; font-weight: 600;">or Sign Up with:</p>
<a type="button" class="btn-floating btn-fb btn-sm" style="margin-right: 4%;">
<i class="fa fa-facebook-f" style="width: auto;line-height: 38px; color:teal;"></i>
</a>
<a type="button" class="btn-floating btn-tw btn-sm" style="margin-right: 4%;">
<i class="fa fa-twitter" style="width: auto;line-height: 38px; color:teal;"></i>
</a>
<a type="button" class="btn-floating btn-li btn-sm" style="margin-right: 4%;">
<i class="fa fa-linkedin" style="width: auto;line-height: 38px; color:teal;"></i>
</a>
<a type="button" class="btn-floating btn-git btn-sm">
<i class="fa fa-github" style="width: auto;line-height: 38px; color:teal;"></i>
</a>
<hr>
<!-- Terms of service -->
<div style="align-items: center;">
<p style="margin:0px; font-family:Montserrat;">By clicking
"Sign Up" you agree to our
<a href="" target="_blank">Terms & Conditions</a>
</div>
</form>
<!-- Form -->
</div>
<div class="modal fade" id="myModal" style="background: transparent; min-height: 100%">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content" style="padding: 1px;">
<!-- Modal Header -->
<div class="modal-header" style=" padding:0px;">
<div style="background-color: #17A2B8; width:100%">
<br>
<h5 class="center" style="font-family:Montserrat; font-weight: 1000; color: white;">
Welcome Home!
</h5>
<p class="center"
style="font-family:Montserrat; margin-top:0px; font-weight: 600; margin-bottom: 28px;">
Yaayyyy.. Just one step away from Login!
</p>
</div>
</div>
<!-- Modal body -->
<div class="modal-body">
<div class="card-body px-lg-5 pt-0" style="padding:0px;">
<!-- Form -->
<form class="text-center" style="color: #757575;" id="form1" novalidate="novalidate"
action="submit">
<!-- E-mail -->
<div class="input-field col s12" style="padding:0px; margin:0px;">
<input id="cemail" type="email" name="cemail" required="" aria-required="true">
<label for="email" style="font-family: Montserrat; display:flex;">Organization
Email<p style="line-height: 20px;">*</p></label>
</div>
<!-- Password -->
<div class="input-field col s12" style="padding:0px;">
<input id="password" type="password" name="password" required=""
aria-required="true">
<label for="password" style="font-family: Montserrat; display:flex;">Password<p
style="line-height: 20px;">*</p></label>
</div>
<!-- Login button -->
<button
class="btn btn-outline-info btn-rounded btn-block my-4 waves-effect z-depth-4"
type="submit" id="login"
style="font-family:Montserrat; font-weight: 800; border-width: 2px;">Login</button>
<!-- Social register -->
<p style="font-family:Montserrat; font-weight: 600;">or Login with:</p>
<a type="button" class="btn-floating btn-fb btn-sm" style="margin-right: 4%;">
<i class="fa fa-facebook-f"
style="width: auto;line-height: 38px; color:teal;"></i>
</a>
<a type="button" class="btn-floating btn-tw btn-sm" style="margin-right: 4%;">
<i class="fa fa-twitter" style="width: auto;line-height: 38px; color:teal;"></i>
</a>
<a type="button" class="btn-floating btn-li btn-sm" style="margin-right: 4%;">
<i class="fa fa-linkedin"
style="width: auto;line-height: 38px; color:teal;"></i>
</a>
<a type="button" class="btn-floating btn-git btn-sm">
<i class="fa fa-github" style="width: auto;line-height: 38px; color:teal;"></i>
</a>
</form>
<!-- Form -->
</div>
</div>
<!-- Modal footer -->
<div class="modal-footer" style="display: flex;">
<button type="button" class="btn btn-secondary z-depth-2" data-dismiss="modal"
style="background-color:#E73C7E; border:#E73C7E; border-width: 2px;">Close</button>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.bundle.min.js"
integrity="sha384-xrRywqdh3PHs8keKZN+8zzc5TX0GRTLCcmivcbNJWm2rs5C8PRhcEn3czEjhAO9o"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.35.3/es6-shim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="js/materialize.js"></script>
<script src="js/init.js"></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/js/materialize.min.js'></script>
<script src="js/index.js"></script>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js"></script>
<script>
$("#form").validate({
rules: {
fname: {
required: true,
minlength: 5
},
oname: {
required: true,
minlength: 5
},
rnumb: {
required: true,
minlength: 10
},
cemail: {
required: true,
email: true
},
password: {
required: true,
minlength: 5
},
cpassword: {
required: true,
minlength: 5,
equalTo: "#password"
},
image: {
required: true
}
},
//For custom messages
messages: {
fname: {
required: "Please Enter a Name.",
minlength: "Enter at least 5 characters."
},
oname: {
required: "Please enter your Organization Name."
},
rnumb: {
required: "Please enter your Organization Registration No."
},
cemail: {
required: "Please Enter a Email Id."
},
password: {
required: "Please Enter a Password."
},
cpassword: {
required: "Please Enter a Password to confirm."
},
image: {
required: "Please upload a file."
}
},
errorElement: 'div',
errorPlacement: function (error, element) {
var placement = $(element).data('error');
if (placement) {
$(placement).append(error)
} else {
error.insertAfter(element);
}
}
});
</script>
<script>
$("#form1").validate({
rules: {
cemail: {
required: true,
email: true
},
password: {
required: true,
minlength: 5
},
},
//For custom messages
messages: {
cemail: {
required: "Please Enter a Email Id."
},
password: {
required: "Please Enter a Password."
},
},
errorElement: 'div',
errorPlacement: function (error, element) {
var placement = $(element).data('error');
if (placement) {
$(placement).append(error)
} else {
error.insertAfter(element);
}
}
});
</script>
<script>
var button = document.querySelector("#register");
button.addEventListener("click", function (e) {
if ($("#form").valid()) {
e.preventDefault();
parent.swal({
title: "Good job!",
text: "We will get back to you shortly after proper validation!",
icon: "success",
button: "OK",
});
}
});
</script>
<script>
var button = document.querySelector("#login");
button.addEventListener("click", function (e) {
if ($("#form1").valid()) {
e.preventDefault();
parent.swal({
title: "Good job!",
text: "You will be logged in when integrated to backend.",
icon: "success",
button: "OK",
});
}
});
</script>
</body>
</html>