v0.0.1 Added the first files and made a login system.

This commit is contained in:
Victor
2021-06-01 11:29:56 +02:00
parent 78df7dd754
commit dfb9103157
20 changed files with 223 additions and 26 deletions
+12
View File
@@ -0,0 +1,12 @@
<?php require "../Backend/controller/accessControl.php"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Home</title>
</head>
<body>
<p>Logget in</p>
<a href="../Backend/controller/logout.php">Log ud</a>
</body>
</html>
+14
View File
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Login</title>
</head>
<body>
<form action="../Backend/controller/login.php" method="POST">
<input type="text" name="username" placeholder="Username">
<input type="password" name="password" placeholder="Password">
<input type="submit" name="loginsubmit" placeholder="login">
</form>
</body>
</html>