-
Notifications
You must be signed in to change notification settings - Fork 4
/
login.php
61 lines (48 loc) · 1.56 KB
/
login.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
<?php
//Guard
require_once '_guards.php';
Guard::guestOnly();
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Point of Sale System - Login</title>
<link rel="stylesheet" type="text/css" href="./css/main.css">
<link rel="stylesheet" type="text/css" href="./css/login.css">
<link rel="stylesheet" type="text/css" href="./css/util.css">
</head>
<body>
<div class="login card">
<div class="card-header">
<div class="card-title">Login First</div>
</div>
<div class="card-content">
<form method="POST" action="api/login_controller.php">
<?php displayFlashMessage('login') ?>
<div class="form-control">
<label>Email</label>
<input
type="text"
name="email"
placeholder="Enter your email here"
required="true"
/>
</div>
<div class="form-control mt-16">
<label>Password</label>
<input
type="password"
name="password"
placeholder="Enter your password here"
required="true"
/>
</div>
<div class="mt-16 flex justify-end">
<button class="btn btn-primary" type="submit">Submit</button>
</div>
</form>
</div>
</div>
</body>
</html>