-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpwreset.html
280 lines (262 loc) · 19.9 KB
/
pwreset.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="theme-color" content="#262c32" />
<meta name="description" content="Sign Up with email address">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title>ShopSum Signup</title>
<link rel="manifest" href="manifest.json">
<!-- Bootstrap stylesheet -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="style/bootstrap.css">
<link rel="stylesheet" href="style/index.css">
<link rel="stylesheet" href="style/default.css">
<link href="images/icons/512x512.png" rel="icon">
<link href="/images/icons/192x192.png" rel="apple-touch-icon">
<link rel="apple-touch-icon" sizes="152x152" href="images/icons/152px.png">
<link rel="apple-touch-icon" sizes="180x180" href="images/icons/180px.png">
<link rel="apple-touch-icon" sizes="167x167" href="images/icons/167px.png">
<!-- iPhone X (1125px x 2436px) -->
<link rel="apple-touch-startup-image"
media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3)"
href="/images/icons/256x256.png">
<!-- iPhone 8 Plus, 7 Plus, 6s Plus, 6 Plus (1242px x 2208px) -->
<link rel="apple-touch-startup-image"
media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3)"
href="/images/icons/256x256.png">
<!-- iPad Pro 10.5" (1668px x 2224px) -->
<link rel="apple-touch-startup-image"
media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2)"
href="/images/icons/512x512.png">
<!-- iPad Pro 12.9" (2048px x 2732px) -->
<link rel="apple-touch-startup-image"
media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2)"
href="/images/icons/1024x1024.png">
<!-- js scripts -->
<!-- <script src="scripts/pwreset.js" defer type="module"></script> -->
<script src="scripts/pwreset.min.js" defer type="module"></script>
<!-- <script src="scripts/themeswitch.js" defer type="module"></script> -->
<script src="scripts/themeswitch.min.js" defer type="module"></script>
</head>
<body class="p-0 d-flex flex-column min-vh-100">
<nav class="navbar navbar-expand-xxl navbar-dark" style="background-color:#262c32;">
<div class="container-fluid">
<div class="ms-lg-5 ms-2 col-1">
<a class="navbar-brand url" href="index.html" id="BrandLogo">
<img id="navIcon" class="img-fluid" src="images/icons/1024x1024.png" width="62px" height="62px"
alt="Brand logo">
</a>
</div>
<a class="navbar-brand text-end text-md-start col" href="index.html">
<span id="brandName" class="fs-2 fw-bold pt-3 ps-4">ShopSum</span>
</a>
<div class="form-check form-switch col d-flex justify-content-end pe-md-2 pe-3">
<input class="form-check-input" type="checkbox" role="switch" id="themeBtn">
<label class="form-check-label ps-2" for="themeBtn">
<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="#3471b7" id="light"
class="bi bi-brightness-high-fill pb-1 d-none" viewBox="0 0 16 16">
<path
d="M12 8a4 4 0 1 1-8 0 4 4 0 0 1 8 0M8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0m0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13m8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5M3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8m10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0m-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0m9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707M4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708" />
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="white" id="dark"
class="bi bi-moon-fill pb-1" viewBox="0 0 16 16">
<path
d="M6 .278a.77.77 0 0 1 .08.858 7.2 7.2 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277q.792-.001 1.533-.16a.79.79 0 0 1 .81.316.73.73 0 0 1-.031.893A8.35 8.35 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.75.75 0 0 1 6 .278" />
</svg>
</label>
</div>
<!--put data-value="generate" for js code to ignore button press as calculator interaction-->
<button class="navbar-toggler collapsed bg-dark" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end pe-md-2 col-3" id="navbarNavAltMarkup">
<div class="navbar-nav">
<a class="nav-link text-end" href="/" role="link" aria-label="Homepage">Home</a>
<a class="nav-link text-end" href="/emailSignup.html" aria-label="Sign up with email"
role="link">Sign Up</a>
<a class="nav-link text-end active" href="/aboutus.html" aria-label="About Us" role="link">About
Us</a>
<a class="nav-link text-end" href="/feedbackForm.html" aria-label="Feedback page"
role="link">Feedback</a>
<a class="nav-link text-end" href="/termsncons.html" aria-label="Terms and conditions"
role="link">Terms of Use</a>
<a class="nav-link text-end" href="/privacyPolicy.html" aria-label="Privacy Policy"
role="link">Privacy Policy</a>
</div>
</div>
</div>
</nav>
<div class="container mt-auto pt-4 d-none" id="emailverify">
<span id="verified">
<h4>Your Email Address has been verified successfully</h4>
</span>
<span id="continuesignin">Continue to <a href="index.html" class="url">Sign In</a>.</span>
</div>
<div class="container mt-auto d-none" id="passreset">
<span id="userEmail"></span>
<form onsubmit="return false;">
<div class="row">
<div class="col-12 col-md-6">
<div class="mb-3 mt-3 mb-md-5 col-md-8">
<h4><label for="password" class="form-label">New Password</label></h4>
<div class="input-group mb-3">
<input type="password" class="form-control" id="password" placeholder="shh.. it's a secret"
required>
<button class="btn btn-secondary secondarybtn input-group-text" id="bvwpw1">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor"
class="bi bi-eye-slash-fill" id="invisible1" viewBox="0 0 16 16">
<path
d="m10.79 12.912-1.614-1.615a3.5 3.5 0 0 1-4.474-4.474l-2.06-2.06C.938 6.278 0 8 0 8s3 5.5 8 5.5a7 7 0 0 0 2.79-.588M5.21 3.088A7 7 0 0 1 8 2.5c5 0 8 5.5 8 5.5s-.939 1.721-2.641 3.238l-2.062-2.062a3.5 3.5 0 0 0-4.474-4.474z" />
<path
d="M5.525 7.646a2.5 2.5 0 0 0 2.829 2.829zm4.95.708-2.829-2.83a2.5 2.5 0 0 1 2.829 2.829zm3.171 6-12-12 .708-.708 12 12z" />
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor"
class="bi bi-eye-fill d-none" id="visible1" viewBox="0 0 16 16">
<path d="M10.5 8a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0" />
<path
d="M0 8s3-5.5 8-5.5S16 8 16 8s-3 5.5-8 5.5S0 8 0 8m8 3.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7" />
</svg>
</button>
</div>
</div>
<div class="mb-3 mt-3 col-md-8">
<h4><label for="confirmPassword" class="form-label">Confirm New Password</label></h4>
<div class="input-group mb-3">
<input type="password" class="form-control" id="confirmPassword"
placeholder="****************" required>
<button class="btn btn-secondary secondarybtn input-group-text" id="bvwpw2">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor"
class="bi bi-eye-slash-fill" id="invisible2" viewBox="0 0 16 16">
<path
d="m10.79 12.912-1.614-1.615a3.5 3.5 0 0 1-4.474-4.474l-2.06-2.06C.938 6.278 0 8 0 8s3 5.5 8 5.5a7 7 0 0 0 2.79-.588M5.21 3.088A7 7 0 0 1 8 2.5c5 0 8 5.5 8 5.5s-.939 1.721-2.641 3.238l-2.062-2.062a3.5 3.5 0 0 0-4.474-4.474z" />
<path
d="M5.525 7.646a2.5 2.5 0 0 0 2.829 2.829zm4.95.708-2.829-2.83a2.5 2.5 0 0 1 2.829 2.829zm3.171 6-12-12 .708-.708 12 12z" />
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor"
class="bi bi-eye-fill d-none" id="visible2" viewBox="0 0 16 16">
<path d="M10.5 8a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0" />
<path
d="M0 8s3-5.5 8-5.5S16 8 16 8s-3 5.5-8 5.5S0 8 0 8m8 3.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7" />
</svg>
</button>
</div>
</div>
</div>
<div class="col-12 col-md-6 pt-md-3 d-flex justify-content-md-center">
<div class="conditions">
<p>Password must contain:</p>
<p class="con0 url">Must be minimum 8 characters <svg id="con0"
xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="green"
class="bi bi-check-circle-fill d-none" viewBox="0 0 16 16">
<path
d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z" />
</svg></p>
<p class="con1 url">One Lowercase Letter <svg id="con1" xmlns="http://www.w3.org/2000/svg"
width="16" height="16" fill="green" class="bi bi-check-circle-fill d-none"
viewBox="0 0 16 16">
<path
d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z" />
</svg></p>
<p class="con2 url">One Uppercase Letter <svg id="con2" xmlns="http://www.w3.org/2000/svg"
width="16" height="16" fill="green" class="bi bi-check-circle-fill d-none"
viewBox="0 0 16 16">
<path
d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z" />
</svg></p>
<p class="con3 url">One Number <svg id="con3" xmlns="http://www.w3.org/2000/svg" width="16"
height="16" fill="green" class="bi bi-check-circle-fill d-none" viewBox="0 0 16 16">
<path
d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z" />
</svg></p>
<p class="con4 url">One Special Character <svg id="con4" xmlns="http://www.w3.org/2000/svg"
width="16" height="16" fill="green" class="bi bi-check-circle-fill d-none"
viewBox="0 0 16 16">
<path
d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z" />
</svg></p>
</div>
<span id="errormsg"></span>
</div>
<div class="mb-3 mt-3 col-12">
<button type="button" class="btn secondarybtn btn-secondary" id="updatepw" disabled>Update
Password</button>
</div>
<div class="mb-3 mt-3 col-12">
<a href="index.html"><button type="button" class="btn secondarybtn btn-secondary invisible"
id="continuebtn">Continue to Sign In</button></a>
</div>
<p> Having trouble? <a href="forgotpassword.html" class="url"> Try again</a></p>
<p> Already registered? Continue to <a href="index.html" class="url">Sign In</a>.</p>
</div>
</form>
</div>
<footer class="mt-auto pt-2 pt-md-2 pb-2" style="background-color: rgba(0, 0, 0, 0.2);">
<div class="container">
<div class="row text-center text-md-start">
<div class="col col-md-1 pb-md-1 d-md-flex align-items-center" id="socialFB">
<a href="https://github.com/makersmecca/Project-ShopSum" target="_blank">
<!-- <img src="images/icons/social-media-logos/facebook-black-32.png" class="icon bg-light" alt=""> -->
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" fill="white" id="dark"
class="bi bi-facebook" viewBox="0 0 16 16">
<path
d="M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951" />
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" fill="#2e66a5" id="light"
class="bi bi-facebook d-none" viewBox="0 0 16 16">
<path
d="M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951" />
</svg>
</a>
</div>
<div class="col col-md-1 pb-md-2 d-md-flex align-items-center" id="socialTwtr">
<a href="https://github.com/makersmecca/Project-ShopSum" target="_blank">
<!-- <img src="images/icons/social-media-logos/twitter-32.png" id="" alt=""> -->
<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="white" id="dark"
class="bi bi-twitter-x pt-1" viewBox="0 0 16 16">
<path
d="M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z" />
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="#2e66a5" id="light"
class="bi bi-twitter-x pt-1 d-none" viewBox="0 0 16 16">
<path
d="M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z" />
</svg>
</a>
</div>
<div class="col col-md-1 pb-md-1 d-md-flex align-items-center" id="socialGtHb">
<a href="https://github.com/makersmecca/Project-ShopSum" target="_blank">
<!-- <img src="images/icons/social-media-logos/github-black-32.png" class="icon bg-light" alt=""> -->
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" fill="white" id="dark"
class="bi bi-github" viewBox="0 0 16 16">
<path
d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8" />
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" fill="#2e66a5" id="light"
class="bi bi-github d-none" viewBox="0 0 16 16">
<path
d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8" />
</svg>
</a>
</div>
<div class="col-12 col-md-9 d-md-flex justify-content-end pt-3 pt-md-2">
<a class="text-center url" id="appVer" href="/">© 2024 Copyright: ShopSum</a>
</div>
</div>
</div>
</footer>
<!--d-none elements-->
<div id="calculator-cont"></div>
<!-- registering service worker -->
<!-- <script src="scripts/registerSW.js" type="module"></script> -->
<script src="scripts/registerSW.min.js" type="module"></script>
<!-- links for Bootstrap JS-->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
</body>
</html>