-
Notifications
You must be signed in to change notification settings - Fork 223
Expand file tree
/
Copy pathresetpass.html
More file actions
214 lines (197 loc) · 6.55 KB
/
resetpass.html
File metadata and controls
214 lines (197 loc) · 6.55 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Reset Password</title>
<!-- Favicons -->
<link href="../assets/img/logo.webp" rel="icon" />
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Kanit:wght@500&family=Montserrat&family=Noto+Serif&family=Prompt:wght@500&family=Rajdhani:wght@500&display=swap"
rel="stylesheet"
/>
<!-- Bootstrap Script -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css"
integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N"
crossorigin="anonymous"
/>
<script
src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct"
crossorigin="anonymous"
></script>
<!-- Template Main CSS File -->
<link rel="stylesheet" href="../assets/css/style.css" />
<link rel="stylesheet" href="../assets/css/resetpass.css" />
<!-- for overriding the nav css -->
<link rel="stylesheet" href="../assets/css/override.css" />
</head>
<body>
<!-- Header -->
<header
id="header"
class="glassmorphic fixed-top d-flex align-items-center newFlex"
>
<div class="mainContainer container d-flex align-items-center">
<div class="logoAndName">
<img
class="logo1"
src="../assets/img/logo.webp"
width="60px"
height="60px"
alt="logo"
/>
<h1 class="logo me-auto" id="landingPage"><a href="#">OS-CODE</a></h1>
</div>
</div>
<!-- navbar -->
<div id="navbar" class="navbar order-last order-lg-0 me-4">
<ul class="nav-list">
<li>
<a
class="nav-link scrollto"
style="text-decoration: none"
href="/#hero"
>HOME</a
>
</li>
<li>
<a
class="nav-link scrollto"
style="text-decoration: none"
href="/#mainabout"
>ABOUT</a
>
</li>
<li>
<a
class="nav-link scrollto"
style="text-decoration: none"
href="/chapters/chapter.html"
>CHAPTERS</a
>
</li>
<li>
<a
class="nav-link scrollto"
style="text-decoration: none"
href="https://blog.oscode.co.in/"
>BLOGS</a
>
</li>
<li>
<a
class="nav-link scrollto"
style="text-decoration: none"
href="/events/events.html"
>EVENTS</a
>
</li>
<li>
<a
class="nav-link scrollto"
style="text-decoration: none"
href="/#contact"
>CONTACT</a
>
</li>
</ul>
<i class="bi bi-list mobile-nav-toggle"></i>
</div>
<span>
<a
href="/login/login.html"
class="get-started-btn-1 active-get-started-btn-1 scrollto cntctBtn"
></a>
</span>
</header>
<div class="alan-btn"></div>
<!-- resetpass container -->
<div class="resetpass-container min-vh-100">
<div
class="resetpass-box text-white d-flex flex-column align-items-center justify-content-center mx-auto"
>
<h1 class="resetpasstxt text-center p-0">Reset Password</h1>
<!-- resetpass form -->
<form
action="/login/login.html"
method="get"
class="form-container d-flex flex-column"
onSubmit="handleSubmit()"
aria-labelledby="form-label"
>
<!-- inputs -->
<div class="user-box">
<input
type="password"
name="oldpass"
onChange="handleChange()"
required
id="password"
aria-labelledby="oldpass-label"
aria-describedby="passworderr"
/>
<label for="oldpass">Old Password</label>
<span class="error-msg" id="passworderr" role="alert" aria-live="assertive"></span>
</div>
<div class="user-box">
<input
type="password"
name="newpass"
onChange="handleChange()"
required
id="password1"
aria-labelledby="newpass-label"
aria-describedby="password1err"
/>
<label for="newpass">New Password</label>
<span class="error-msg" id="password1err" role="alert" aria-live="assertive"></span>
</div>
<div style="display: flex; align-items: center">
<input id="togglePassword" type="checkbox" aria-labelledby="togglePassword-label"/>
<label style="margin-top: 5px; margin-left: 5px"
>Show password</label
>
</div>
<!-- reset pass button -->
<div class="btn">
<button type="submit" class="submit-button cursor-pointer" onclick="handleSubmit()" aria-labelledby="confirm-button-label">
Confirm
</button>
</div>
</form>
</div>
</div>
<!-- javascript -->
<script src="resetpass.js"></script>
<script type="text/javascript"
src="https://studio.alan.app/web/lib/alan_lib.min.js"></script>
<script>
var alanBtnInstance = alanBtn({
key: "4cc35fadda67f87264a5a62bdae65be32e956eca572e1d8b807a3e2338fdd0dc/stage",
left: '50px',
bottom: '50px',
onCommand: function (commandData) {
if (commandData && commandData.command === 'openURL') {
if (commandData.target === '_blank') {
window.open(commandData.url, '_newtab' + Math.floor(Math.random() * 999999));
} else {
window.location.href = commandData.url;
}
}
},
rootEl: document.getElementById("alan-btn"),
});
</script>
</body>
</html>