-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathchangePassword.php
103 lines (80 loc) · 3.57 KB
/
changePassword.php
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
<!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">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Change Password</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Roboto+Condensed' rel='stylesheet' type='text/css'>
<style>
.headerFont{
font-family: 'Ubuntu', sans-serif;
font-size: 24px;
}
.subFont{
font-family: 'Raleway', sans-serif;
font-size: 14px;
}
.specialHead{
font-family: 'Oswald', sans-serif;
}
.normalFont{
font-family: 'Roboto Condensed', sans-serif;
}
</style>
</head>
<body>
<div class="container">
<nav class="navbar navbar-default navbar-fixed-top navbar-inverse
" role="navigation">
<div class="container">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#example-nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="navbar-header">
<a href="cpanel.php" class="navbar-brand headerFont text-lg"><strong>Uttarakhand MATDAAN E-Voting 2022</strong></a>
</div>
<div class="collapse navbar-collapse" id="example-nav-collapse">
<ul class="nav navbar-nav">
</ul>
<button type="submit" class="btn btn-success navbar-right navbar-btn"><span class="normalFont"><strong>Admin Panel</strong></span></button>
</div>
</div> <!-- end of container -->
</nav>
<div class="container" style="padding-top:100px;">
<div class="row">
<div class="col-sm-4"></div>
<div class="col-sm-4" style="border:2px solid gray;padding:50px;">
<div class="page-header">
<h2 class="specialHead">Admin's Password</h2>
</div>
<form action="updatePwd.php" method="POST">
<div class="form-group">
<label for="">Old Password</label><br>
<input type="text" name="existingPassword" placeholder="Enter Old Password" class="form-control"><br>
<label for="">New Password</label><br>
<input type="password" name="newPassword" class="form-control" placeholder="Enter New Password"><br>
<label for="">Retype Password</label><br>
<input type="password" name="retypePassword" class="form-control" placeholder="Enter New Password Again"><br>
<button type="submit" class="btn btn-block span btn-primary "> <span class="glyphicon glyphicon-ok"></span> Change Password</button>
</div>
</form>
</div>
<div class="col-sm-4"></div>
</div>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>