This repository has been archived by the owner on Jul 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
arialChangepasswordJF.html
245 lines (201 loc) · 10.3 KB
/
arialChangepasswordJF.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>My Account - Change password</title>
<!-- Required meta tags always come first -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<!-- Bootstrap CSS -->
<link rel="stylesheet" type="text/css" href="Bootstrap/dist/css/bootstrap-reboot.css">
<link rel="stylesheet" type="text/css" href="Bootstrap/dist/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="Bootstrap/dist/css/bootstrap-grid.css">
<!-- Theme Styles CSS -->
<link rel="stylesheet" type="text/css" href="css/theme-styles.css">
<link rel="stylesheet" type="text/css" href="css/blocks.css">
<!-- Main Font -->
<script src="js/webfontloader.min.js"></script>
<script>
WebFont.load({
google: {
families: ['Roboto:300,400,500,700:latin']
}
});
</script>
<!-- <link rel="stylesheet" type="text/css" href="css/fonts.css"> -->
<!-- Styles for plugins -->
<link rel="stylesheet" type="text/css" href="css/daterangepicker.css">
<link rel="stylesheet" type="text/css" href="css/jquery.mCustomScrollbar.min.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap-select.css">
<!-- Styles from index page -->
<link href="assets/fonts/font-awesome.css" rel="stylesheet" type="text/css">
<link href="assets/fonts/elegant-fonts.css" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Lato:400,300,700,900,400italic' rel='stylesheet' type='text/css'>
<!-- <link rel="stylesheet" href="assets/bootstrap/css/bootstrap.css" type="text/css"> -->
<!-- <link rel="stylesheet" href="assets/css/zabuto_calendar.min.css" type="text/css">
<link rel="stylesheet" href="assets/css/owl.carousel.css" type="text/css"> -->
<!-- <link rel="stylesheet" href="assets/css/trackpad-scroll-emulator.css" type="text/css"> -->
<link rel="stylesheet" href="css/navstyle.css" type="text/css">
</head>
<body>
<header id="page-header">
<nav>
<div class="left">
<a class="brand"><img src="img/cclogo.png" width="35" height="35"> CultureConnect</a>
</div>
<!--end left-->
<div class="right">
<div class="primary-nav has-mega-menu">
<ul class="navigation">
<li><a href="arialHomeJF.html">Home</a></li>
<li><a href="arial_events.html">Events</a></li>
<li><a href="about.html">About</a></li>
<li class="has-child"><a class="promoted">My Profile</a>
<div class="wrapper">
<div id="nav-homepages" class="nav-wrapper">
<ul>
<li><a href="arialProfileJF.html">Personal Info</a></li>
<li><a href="arialAccountsettingsJF.html">Account setting</a></li>
<li><a class="promoted">Change Password</a></li>
</ul>
</div>
</div>
</li>
<li class="has-child"><a>My Events</a>
<div class="wrapper">
<div id="nav-homepages" class="nav-wrapper">
<ul>
<li>
<a href="photographyarialJF_joined.html">Photography</a>
</li>
<li>
<a href="csse3002arialJF_joined.html">CSSE3002</a>
</li>
<li>
<a href="kabukiarialJF_joined.html">Kabuki</a>
</li>
<li>
<a href="japanesearial_joined.html">Japanese Food</a>
</li>
<li>
<span><a href="submitevent.html"><i class="fa fa-plus"></i>Add Your Own</a></span>
</li>
</ul>
</div>
</div>
</li>
<li><a href="index.html">Log out</a></li>
</ul>
<!--end navigation-->
</div>
<!--end nav-btn-->
</div>
<!--end right-->
</nav>
<!--end nav-->
</header>
<!--end page-header-->
<div class="header-spacer header-spacer-small"></div>
<!-- My Account -->
<div class="container">
<div class="row">
<div class="col-xl-9 order-xl-2 col-lg-9 order-lg-2 col-md-12 order-md-1 col-sm-12 col-xs-12">
<div class="ui-block">
<div class="ui-block-title">
<h6 class="title">Change password</h6>
</div>
<div class="ui-block-content">
<form name="validPassword" onsubmit="return validatePForm()">
<div class="row">
<div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="description-toggle">
<div class="description-toggle-content">
<div class="h6">Old password</div>
<input type="password" class="form-control" name="opassword" placeholder="Old password" required>
</div>
</div>
<div class="description-toggle">
<div class="description-toggle-content">
<div class="h6">New password</div>
<input type="password" class="form-control" name="npassword" placeholder="New password" required>
</div>
</div>
</div>
<div style="margin: 5px auto; width:30%;">
<button type="submit" class="btn btn-primary btn-lg full-width">Confirm new password</button>
</div>
</div>
</form>
</div>
</div>
</div>
<div class="col-xl-3 order-xl-1 col-lg-3 order-lg-1 col-md-12 order-md-2 col-sm-12 col-xs-12 responsive-display-none">
<div class="ui-block">
<div class="your-profile">
<div class="ui-block-title ui-block-title-small">
<h4 class="title">Your Profile</h6>
</div>
<div id="accordion" role="tablist" aria-multiselectable="true">
<div class="card">
<div class="card-header" role="tab" id="headingOne">
<h6 class="mb-0">
<a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
Profile Settings
<svg class="olymp-dropdown-arrow-icon"><use xlink:href="icons/icons.svg#olymp-dropdown-arrow-icon"></use></svg>
</a>
</h6>
</div>
<div id="collapseOne" class="collapse show" role="tabpanel" aria-labelledby="headingOne">
<ul class="your-profile-menu">
<li>
<a href="arialProfile.html">Personal Information</a>
</li>
<li>
<a href="arialAccountsettings.html">Account Settings</a>
</li>
<li>
<a class="promoted">Change Password</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- ... end Your Account Personal Information -->
<!-- jQuery first, then Other JS. -->
<script src="js/jquery-3.2.0.min.js"></script>
<!-- Js effects for material design. + Tooltips -->
<script src="js/material.min.js"></script>
<!-- Helper scripts (Tabs, Equal height, Scrollbar, etc) -->
<script src="js/theme-plugins.js"></script>
<!-- Init functions -->
<script src="js/main.js"></script>
<!-- Select / Sorting script -->
<script src="js/selectize.min.js"></script>
<!-- Datepicker input field script-->
<script src="js/moment.min.js"></script>
<script src="js/daterangepicker.min.js"></script>
<script src="js/mediaelement-and-player.min.js"></script>
<script src="js/mediaelement-playlist-plugin.min.js"></script>
<style>
</style>
<script>
function validatePForm() {
var oldPassword = document.forms["validPassword"]["opassword"].value;
var newPassword = document.forms["validPassword"]["npassword"].value;
if (oldPassword != newPassword) {
alert("Password successfully changed")
return true;
} else {
alert("New password can't be the same as the old password!")
return false;
}
}
</script>
</body>
</html>