-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
255 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,44 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Login</title> | ||
</head> | ||
<body> | ||
<h1>Login</h1> | ||
<form action="<?=ROOT_DIR?>/login" method="post"> | ||
<?php | ||
require_once('../app/views/layout/header.php'); | ||
|
||
|
||
?> | ||
<div class="login-container"> | ||
<!-- <h1>Login</h1> --> | ||
<form class="login-form" action="<?=ROOT_DIR?>/login" method="post"> | ||
<h2>Login</h2> | ||
|
||
|
||
<?php if(isset($errors)): ?> | ||
<div> <?= implode('<br>', $errors)?> </div> | ||
<?php endif; ?> | ||
|
||
<label for="email">Email</label> | ||
<input type="text" name="email" id="username"> | ||
<label for="password">Password</label> | ||
<input type="password" name="password" id="password"> | ||
<input type="submit" name="submit" value="Login"> | ||
<input type="text" name="email" id="email" placeholder="Email" required> | ||
<label for="password" >Password</label> | ||
<input type="password" name="password" id="password" placeholder="Password" required> | ||
<div class="message-text"> | ||
<a href="#">Forgot your password?</a> | ||
</div> | ||
<input type="submit" name="submit" value="login"> | ||
|
||
<p> | ||
Don't have an account? <a href="<?=ROOT_DIR?>/signup">Signup</a> | ||
<p> | ||
|
||
|
||
</form> | ||
<a href="<?=ROOT_DIR?>/signup" title="Signup">Signup</a> | ||
<a href="<?=ROOT_DIR?>" title="Home">Home</a> | ||
</body> | ||
</html> | ||
<!-- <a href="<?=ROOT_DIR?>/signup" title="Signup">Signup</a> | ||
<a href="<?=ROOT_DIR?>" title="Home">Home</a> --> | ||
</div> | ||
|
||
|
||
|
||
<?php | ||
require_once('../app/views/layout/footer.php'); | ||
|
||
|
||
?> | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
font-family: "Montserrat", sans-serif; | ||
background-color: #f8f8f8; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
} | ||
|
||
.background-square { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 1300px; | ||
height: 600px; | ||
border-radius: 10px; | ||
background: #ECECEC; | ||
backdrop-filter: blur(67px); | ||
} | ||
|
||
.login-form { | ||
max-width: 450px; | ||
padding: 40px; | ||
border-radius: 10px; | ||
background-color: #fff; | ||
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); | ||
} | ||
|
||
.login-form h2 { | ||
text-align: center; | ||
margin-bottom: 20px; | ||
color: #333; | ||
text-transform: uppercase; | ||
letter-spacing: 3px; | ||
} | ||
|
||
.login-form input[type="text"], | ||
.login-form input[type="password"] { | ||
display: block; | ||
background-color: #ECECEC; | ||
width: 350px; | ||
padding: 10px; | ||
margin-bottom: 10px; | ||
border: none; | ||
border-radius: 5px; | ||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
.login-form input[type="submit"] { | ||
display: block; | ||
width: 100%; | ||
padding: 10px; | ||
border: 1px solid #BCAB86; | ||
border-radius: 5px; | ||
background-color: #88915D; | ||
color: #fff; | ||
font-size: 16px; | ||
cursor: pointer; | ||
transition: background-color 0.3s ease; | ||
|
||
} | ||
|
||
.login-form input[type="submit"]:hover { | ||
border: 1px solid #BCAB86; | ||
background-color: #ECECEC; | ||
color: #4C5039; | ||
} | ||
|
||
.login-form p { | ||
text-align: center; | ||
margin-top: 10px; | ||
font-size: 12px; | ||
} | ||
|
||
.login-form a { | ||
color: #333; | ||
text-decoration: none; | ||
transition: color 0.3s ease; | ||
text-align: right; | ||
} | ||
|
||
.login-form a:hover { | ||
color: #88915D; | ||
} | ||
|
||
.message-text { | ||
text-align: right; | ||
margin-top: 10px; | ||
margin-bottom: 10px; | ||
font-size: 10px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<title>Login</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link href="login.css" rel="stylesheet"> | ||
</head> | ||
|
||
<body> | ||
<div class="background-square"> | ||
<form class="login-form"> | ||
<h2>Login</h2> | ||
<input type="text" placeholder="Email" required /> | ||
<input type="password" placeholder="Password" required /> | ||
<div class="message-text"> | ||
<a href="#">Forgot your password?</a> | ||
</div> | ||
|
||
<input type="submit" value="Login" /> | ||
<p> | ||
Don't have an account? <a href="#">Signup</a> | ||
<p> | ||
|
||
</form> | ||
</div> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters