Make index.php look better

Bug430-Eden2
Lan Hui 2023-07-31 17:09:21 +08:00
parent f81b98e6aa
commit 24ed22e5b8
1 changed files with 15 additions and 17 deletions

View File

@ -20,10 +20,9 @@ if (isset($_SESSION["user_fullname"])) {
<br><br>
<div style="width:20%; position:relative; right:-90px; font-family: Poppins-Regular;">
<h1>Lab Report Repository</h1>
<br><br>
</div>
</div>
<br>
<div style = "position:relative; left:240px; top:-2px;">
<h4 class="list-group-item active" style="font-weight:normal;font-family: Poppins-Regular;"> Sign in </h4>
<div class="list-group-item">
@ -32,22 +31,24 @@ if (isset($_SESSION["user_fullname"])) {
<form method="post" action="Script.php" name="frm_login">
<input type="hidden" name="frm_login" value="true"/>
Student ID / Instructor Email
<input type="text" name="user" placeholder="Email / Student Number" class="form-control" required="required" id="user_name" />
Account name
<input type="text" name="user" placeholder="Student Number / Email address" class="form-control" required="required" id="user_name" />
<br>
Password
<input type="password" class="form-control" name="password" placeholder="password" required="required" id="user_password" />
<div class="text-center">
<div class="text-left">
<br><input type="submit" class="btn-primary" value="Login" id="login_btn">
</div>
<br> <a href="recover_password.php" style="font-weight:normal;color:#2471A3; font-family: Poppins-Regular;
font-size: 17px;">Reset my password</a>
<div class="text-center">
<br><span class="txt1">Don't have an account?</span>
<div class="text-left">
<span class="txt1">Don't have an account yet?</span>
<a class="txt2" href="signup.php" style="font-weight:normal" id="signup_link">Sign Up</a>
</a>
</div>
<div class="text-left">
<span class="txt1">Forget your password?</span>
<a class="txt2" href="recover_password.php" style="font-weight:normal">Reset my password</a>
</div>
<?php
error_reporting(E_ALL);
@ -70,15 +71,12 @@ if (isset($_SESSION["user_fullname"])) {
$_SESSION['infoChangePassword'] = null;
}
?>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="footer">