webserver-framework/files/index.html

39 lines
1.1 KiB
HTML
Raw Normal View History

<!--
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">
<label for="username">Username: </label>
2022-11-10 15:25:57 +01:00
<input id="username" name="username" type="text" required><br/>
<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>
<input id="username" name="username" type="text" required><br />
<label for="password">Password: </label>
<input id="password" name="password" type="password" required><br />
<input type="submit" value="Register">
</form>
</div>
</body>
</html>