-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
82 lines (77 loc) · 1.99 KB
/
index.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
<!DOCTYPE html>
<html lang="">
<head>
<title>LOGIN</title>
<style>
h1 {
text-align: center;
}
.form-container {
display: flex;
flex-direction: column;
align-items: center;
}
input[type="text"],
input[type="password"] {
width: 60%;
margin: 8px 0;
padding: 12px 20px;
box-sizing: border-box;
border: 2px solid #ccc;
border-radius: 4px;
}
button {
width: 100%;
margin: 8px 0;
padding: 12px 20px;
box-sizing: border-box;
border: none;
border-radius: 4px;
background-color: deepskyblue;
color: white;
font-size: 16px;
cursor: pointer;
}
.signup-container {
display: flex;
}
.signupbutton {
width: 100%;
margin: 0px 0px;
padding: 10px 10px;
box-sizing: border-box;
border: none;
border-radius: 4px;
background-color: deepskyblue;
color: white;
font-size: 14px;
cursor: pointer;
}
.textClass {
margin: 20px;
}
</style>
</head>
<body>
<form action="login.php" method="post">
<h1>LOGIN</h1>
<?php if (isset($_GET['error'])) { ?>
<p class="error"><?php echo $_GET['error']; ?></p>
<?php } ?>
<div class="form-container">
<input type="text" name="email" placeholder="Email"/>
<input type="password" name="password" placeholder="Password"/>
<div class="button-container">
<button title="submit">Login</button>
</form>
<div class="signup-container">
<p class = "textClass" >Not a member?</p>
<form action="register.php" method="post">
<br>
<button class="signupbutton" type="submit"> Register</button>
</form>
</div>
</div>
</div>
</body>
</html>