"Two Step Verification Change Password Form"
Bootstrap 4.1.1 Snippet by kshiti06

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
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="change-password">
<div class="card-header">
<h2>Change Your Password</h2>
</div>
<div class="card-body">
<div class="form-group">
<label for="pwd">Current Password</label>
<input type="password" id="pwd" name="pwd" class="form-control">
</div>
<div class="form-group">
<label for="pwd">New Password</label>
<input type="password" id="pwd" name="pwd" class="form-control">
<span class="form-text small text-muted">The password must be 8-20 characters, and must <em>NOT</em> contain spaces.
</span>
</div>
<div class="form-group">
<label for="pwd">Verify</label>
<input type="password" id="pwd" name="pwd" class="form-control">
<span class="form-text small text-muted">To confirm, type the new password again.
</span>
</div>
<div class="form-group">
<input type="submit" class="btn" data-toggle="modal" data-target="#myModal" Value="Click on this button to verify">
</div>
</div>
</div>
<div class="modal" id="myModal">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title">Please enter the following information.</h3>
<button type="button" class="close" data-dismiss="modal">×</button>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.change-password {
padding: 28%;
margin-top: -29%;
}
.change-password .card-header {
padding: 2.8%;
border: 1px solid #bdbdbd;
}
.change-password .card-body {
background: #ffffff;
border: 1px solid #bdbdbd;
padding: 7%;
text-align: left;
font-size: 13px;
margin-bottom: -78%;
}
.change-password .btn{
width: 100%;
margin-top: 5%;
font-size: 13px;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: