The following files exists in this folder. Click to view.
index.php40 lines UTF-8 Unix (LF)
<?php
$mess=isset($_GET['mess']) ? "<p class='text-error'>".$_GET['mess']."</p>": "";
?>
<!DOCTYPE html>
<html lang="sv">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie-edge">
<title>Inloggnignsapplikation</title>
<link rel="stylesheet"
href ="https://unpkg.com/spectre.css/dist/spectre.min.css">
</head>
<body>
<div class="container">
<div class="columns">
<div class="column col-4">
<h1>Inloggnignsapplikationen</h1>
<?php echo $mess; ?>
<form method="POST" action="login.php">
<div class="form-group">
<label class="form-label" for="username">Användarnamn</label>
<input class="form-input" id="username" name="username" type="text" required>
<label class="form-label" for="password">Lösenord</label>
<input class="form-input" id="password" name="password" type="password" required>
<label class="form-checkbox">
<input type="checkbox" name="keep_logged_in">
<i class="form-icon"></i> Håll mig inloggad</label>
<input type="submit" class="btn btn-primary" value="Logga in">
</div>
</form>
</div>
</div>
</div>
</body>
</html>