2022-11-10 15:07:38 +01:00
|
|
|
<!--
|
|
|
|
This file isn't automatically served anywhere, it's just here to populate the directory
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<title>Login</title>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div class="main-container">
|
|
|
|
|
2022-11-10 15:25:57 +01:00
|
|
|
<h2>Log in</h2>
|
|
|
|
<form action="/api/login" method="post">
|
2022-11-10 15:07:38 +01:00
|
|
|
<label for="username">Username: </label>
|
2022-11-10 19:47:08 +01:00
|
|
|
<input id="username" name="username" type="text" autocomplete="off" required><br />
|
2022-11-10 15:07:38 +01:00
|
|
|
<label for="password">Password: </label>
|
2022-11-10 15:25:57 +01:00
|
|
|
<input id="password" name="password" type="password" required><br />
|
|
|
|
<input type="submit" value="Log in">
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<h2>Register</h2>
|
|
|
|
<form action="/api/register" method="post">
|
|
|
|
<label for="username">Username: </label>
|
2022-11-10 19:47:08 +01:00
|
|
|
<input id="username" name="username" type="text" autocomplete="off" required><br />
|
2022-11-10 15:25:57 +01:00
|
|
|
<label for="password">Password: </label>
|
|
|
|
<input id="password" name="password" type="password" required><br />
|
|
|
|
<input type="submit" value="Register">
|
2022-11-10 15:07:38 +01:00
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|