forked from PankajkandpalL/Project1MG-TATA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
forget.html
138 lines (134 loc) · 6.35 KB
/
forget.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link
rel="icon"
type="image/x-icon"
href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAgVBMVEX/b2EAAAD/cWP/c2W4UEbAVEn/cWKHOzNjKyZ2My2PPjZPIx7uaFvlZFfbX1O1T0WsS0HQWk/4bF6LPTUdDQsjDw3tZ1qVQTlEHhrGVktnLSfNWU4zFhOlSD8pEhA8GhcSCAedRDx9NzBUJCAtExFcKCNAHBhlLCYWCQg2FxUfDgy/R+/lAAAHtklEQVR4nO2daXuqPBCGMVFcCuLS4lbb2lNP6/v/f+Arm8wTEsWeMhWveb51ApKb7GEm9TyRSCQSiUQikUgkEolEIpFIJBKJRCKRSCQSiUQikUgkEolEIpFIJBIdFQelYv/q29WM3B/MGsig47mTznl1VXahHoC5r/Mf8C/c38nv98ZoZkNU0YUM9vIczgx78QP+4/n7n4o39I727fW1oFlCf2fYi7KtS+gZ9kdtz9CvEeoXw/6gryJUPTNhylSIdQnHlYT4KkL9x0wYMhViTUKzFR01UtcQBtUUpr6mbhlaUvwrCNWumjJR7myxE6quJWWlri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aFfN8rSlC7ehRBzPONtgkoadUVPUwHo75J9yNESYztXA7KPuc5XzltXhB4ZB/nLCNp6vVZhwkDny/nZ2m5DccxiUSiUQikUgkEolEIpFIJBKJRCKRSCQSiUQikUgkEolEIpFIJBKJWqj/AX/GerQran0bAAAAAElFTkSuQmCC"
/>
<style>
body {
display: flex;
position: relative;
background-image: url(https://www.curtainsjs.com/images/intro-background.jpg);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "segoe ui", verdana, helvetica, arial, sans-serif;
font-size: 16px;
}
h1 {
text-align: center;
font-size: 20px;
}
.row {
background-color: snow;
color: black;
text-align: left;
padding: 20px 20px 0.5em;
width: 25%;
margin: 150px auto;
border-radius: 20px;
}
.information-text {
font-size: smaller;
margin-top: 20px;
color: grey;
}
.form-group > button {
border: 1px solid #ff6f61;
background-color: #ff6f61;
margin-bottom: 40px;
margin-top: 40px;
color: white;
border-radius: 20px;
padding: 10px 20px 10px 20px;
}
.form-group > input {
margin-top: 10px;
text-align: left;
}
.footer > p {
color: grey;
font: size 6px;
}
a {
text-decoration: none;
}
#email {
border-radius: 8px;
padding: 6px;
width: 20%;
position: absolute;
top: 235px;
left: 615px;
transition: all 400ms ease-in-out;
}
#email:hover {
transform: scale(1.2);
}
button {
width: 130px;
position: absolute;
top: 258px;
left: 700px;
transition: all 400ms ease-in-out;
}
button:hover {
transform: scale(1.1);
box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset,
rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}
#TC {
text-align: center;
}
</style>
</head>
<body>
<div class="row">
<h1>Forgot Password?</h1>
<h6 class="information-text">
Enter your registered E-mail Id to reset your password
</h6>
<div class="form-group">
<input
type="email"
placeholder="Enter Email ID"
id="email"
/><br /><br /><br /><br /><br />
<!-- <p><label for="username">Email</label></p> -->
<div id="fdiv1"></div>
<button onclick="resetpass()">Submit</button><br />
</div>
<div class="footer">
<h5>New here? <a href="Signup.html">Sign Up</a></h5>
<h5>Already have an account? <a href="#">Sign In</a></h5>
<br />
<p id="TC">
By Signing Up You agree to our
<a href="https://www.1mg.com/tnc">Terms and Conditions</a>&
<a href="https://www.1mg.com/privacypolicy">Privacy Policy</a>
</p>
</div>
</div>
</body>
</html>
<script>
var signupdata = JSON.parse(localStorage.getItem("signupdata"));
function resetpass() {
var email = document.querySelector("#email");
if (email.value != signupdata.email) {
alert("User Doesn't Exist,Please Create An Acccount First");
window.location.href = "Signup.html";
} else if (email.value == signupdata.email) {
alert("Enter OTP");
window.location.href = "otp.html";
}
}
</script>