Update recover_password.php

We added first increased the padding for the recover button and also added some CSS properties for the hover effect.
SIMPLICITY_link
enockkays 2020-12-25 21:41:34 +08:00 committed by GitHub
parent a877d38e95
commit 6ba6ebe414
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 10 deletions

View File

@ -25,21 +25,15 @@ include 'Header.php';
<div class="list-group-item"> <div class="list-group-item">
<div class="panel-body"> <div class="panel-body">
<form method="post" action="Script.php" > <form method="post" action="Script.php">
<input type="hidden" name="frm_recover_password" value="true"/> <input type="hidden" name="frm_recover_password" value="true"/>
Student number <input type="text" name="sno" placeholder="Enter your student number" class="form-control" value="<?php echo $_SESSION['student_number']; ?>"> Student number <input type="text" name="sno" placeholder="Enter your student number" class="form-control" value="<?php echo $_SESSION['student_number']; ?>">
<br/> <br/>
Email <input type="text" name="email" placeholder="Enter your email address" class="form-control" value="<?php echo $_SESSION['user_email']; ?>"> Email <input type="text" name="email" placeholder="Enter your email address" class="form-control" value="<?php echo $_SESSION['user_email']; ?>">
<br/> <br/>
<input type="submit" class="btn btn-primary" value="Recover"> <input type="submit" class="btn-primary" value="Recover">
<br> * You will need to sign up again after you click the above button.
</form>
</form>
</div>
</div>
</div>
</div>
<?php <?php
@ -49,3 +43,18 @@ if(isset($_SESSION['info_recover_password'])) {
} }
?> ?>
<style>
/*------------------------------------------------------------------
[ Login Button ]*/
.btn-primary {
color: white;
border-radius: 5px;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
background: rgb(75, 184, 240);
padding:5px 195px;
font-family: Poppins-Regular;
font-size: 23px;
line-height: 1.5;
}
</style>