smr/src/pages/login.etlua

32 lines
754 B
Plaintext

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>&#x1f351;</title>
<link href="/_css/style.css" rel="stylesheet">
<link href="/_css/milligram.css" rel="stylesheet">
</head>
<body class="container">
<main class="wrapper">
<h1 class="title">
Login
</h1>
<% if err then %><em class="error"><%= err %></em><% end %>
<form action="/_login" method="post" enctype="multipart/form-data">
<fieldset>
<label for="user">Name:</label>
<input type="text" name="user" id="user" placeholder="name">
<label for="pass">Passfile:</label>
<input type="file" name="pass" id="pass">
<input type="submit">
</fieldset>
</form>
<footer class="footer">
</footer>
</main>
</body>
<body>