Go + SQLite web app, server-rendered, hackerman theme. Projects with descriptions, searchable notes, todo/doing/done task tracking. Bcrypt login sessions, hashed api keys, full /api/v1 crud. Deploys on straylight via configs/tracker.nix (prebuilt binary).
18 lines
557 B
HTML
18 lines
557 B
HTML
{{template "header" .}}
|
|
|
|
<section class="panel login-panel">
|
|
<h1 class="glow">// access</h1>
|
|
{{if .Error}}<p class="error-msg">{{.Error}}</p>{{end}}
|
|
<form method="post" action="/login" class="stack">
|
|
<label>handle
|
|
<input type="text" name="username" required autofocus autocomplete="username">
|
|
</label>
|
|
<label>passphrase
|
|
<input type="password" name="password" required autocomplete="current-password">
|
|
</label>
|
|
<button type="submit" class="btn primary">jack in ▸</button>
|
|
</form>
|
|
</section>
|
|
|
|
{{template "footer" .}}
|