auth-ui: picocss
diff --git a/core/auth/ui/templates/login.html b/core/auth/ui/templates/login.html
index 285d936..f01f157 100644
--- a/core/auth/ui/templates/login.html
+++ b/core/auth/ui/templates/login.html
@@ -1,20 +1,16 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8" />
- <link rel="stylesheet" type="text/css" href="/static/main.css?v=0.0.1">
- <title>Login</title>
-</head>
-<body>
- <div class="main">
- <form action="" method="POST">
- <input class="field" type="text" name="username" placeholder="Username" autofocus />
- <input class="field" type="password" name="password" placeholder="Password" />
- <input type="submit" value="Sign In" />
- <input type="hidden" name="csrf_token" value="{{.}}" />
- <a href="/registration">Create Account</a>
- </form>
- </div>
-</body>
-</html>
-
+{{ define "title" }}Sign in{{ end }}
+{{ define "main" }}
+<form action="" method="POST">
+ <input type="text" name="username" placeholder="Username" autofocus required />
+ <input type="password" name="password" placeholder="Password" required />
+ <input type="hidden" name="csrf_token" value="{{ . }}" />
+ <button type="submit">Sign In</button>
+</form>
+<nav>
+ <ul>
+ <li>
+ <a href="/register">Create Account</a>
+ </li>
+ </ul>
+</nav>
+{{ end }}