Files
csocial/pages/login.html
T
2024-10-16 17:52:50 +02:00

33 lines
786 B
HTML

<html>
<head>
<title>Log in</title>
<link rel="stylesheet" media="screen" href="/static/global.css" />
</head>
<body hx-boost="true">
<main>
<nav>
<table>
<tr>
<td><a href="/posts">Posts</a></td>
<td><a href="/users">Users</a></td>
</tr>
</table>
<table>
<tr>
<td><a href="/login">login</a></td>
<td><a href="/signup">signup</a></td>
</tr>
</table>
</nav>
<script src="/static/htmx.js"></script>
<div id="login-error-message"></div>
<form hx-post="/action/login" hx-target="#login-error-message">
<input type="text" name="name" placeholder="name" />
<input type="password" name="pass" placeholder="pass" />
<input type="submit" value="login" />
</form>
</main>
</body>
</html>