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).
30 lines
869 B
HTML
30 lines
869 B
HTML
{{define "header"}}<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<title>{{.Title}} ∷ TRACKER</title>
|
||
<link rel="stylesheet" href="/static/style.css">
|
||
</head>
|
||
<body>
|
||
<div class="scanlines" aria-hidden="true"></div>
|
||
<nav class="topbar">
|
||
<a class="logo" href="/">❯ tracker<span class="cursor">▊</span></a>
|
||
<form class="searchbar" action="/search" method="get">
|
||
<input type="search" name="q" placeholder="grep the grid…" value="" autocomplete="off">
|
||
</form>
|
||
<div class="nav">
|
||
<a href="/keys">keys</a>
|
||
<form method="post" action="/logout"><button type="submit" class="btn ghost">logout</button></form>
|
||
</div>
|
||
</nav>
|
||
<main class="wrap">
|
||
{{end}}
|
||
|
||
{{define "footer"}}
|
||
</main>
|
||
<footer class="foot">// signal intact · {{.Title}}</footer>
|
||
</body>
|
||
</html>
|
||
{{end}}
|