forked from assembler-institute/php-employee-management-v1
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
67 lines (59 loc) · 2.79 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
<?php
require('./src/library/loginManager.php');
checkUrl($_GET);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-pprn3073KE6tl6bjs2QrFaJGz5/SUsLqktiwsUTF55Jfv3qYSDhgCecCxMW52nD2" crossorigin="anonymous">
</script>
<script type="text/javascript" src="./assets/js/index.js" defer></script>
<script type="text/javascript" src="./assets/js/contactScript.js" def></script>
<link rel="stylesheet" href="./assets/css/loginStyle.css">
<link rel="stylesheet" href="./assets/css/main.css">
<link rel="stylesheet" href="./assets/css/normalize.css">
<link rel="stylesheet" href="./assets/css/contact.css">
<title>Employee management</title>
</head>
<body class="text-center">
<main class="form-signin form__container">
<div class="container">
<img class="onepunch" src="./assets/img/v_50.png">
<section>
<form action="./src/library/loginController.php" method="POST">
<p class="log-in">Employee Management</p>
<div class="input-container">
<input name="username" type="text" placeholder="Username" maxlength="10" required></div>
<div class="input-container">
<input name="password" type="password" placeholder="Password" required>
</div>
<div class="input-container">
<p> Create new account. <a href="./src/library/registerEmployee.php">Employee Account</a></p>
</div>
<div class="input-container">
<button type="submit" class="login-btn">Log in</button>
</div>
</form>
</section>
</div>
<div class="footer-text">
<p class="copy">©Assembler Institute Barcelona all rights reserved 2022.</p>
<a href="https://github.com/jose-cuevas">Jose Cuevas</a> &
<a href="https://github.com/DogSoulDev">Javier Fernández</a>
<div>
<a href="./contact.php">Contact</a>
</div>
</div>
</form>
<?php
?>
</main>
<script src="../../node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>