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).
20 lines
623 B
HTML
20 lines
623 B
HTML
{{template "header" .}}
|
|
|
|
<section class="panel">
|
|
<h1 class="glow">// edit: {{.Project.Name}}</h1>
|
|
<form method="post" action="/projects/{{.Project.ID}}/update" class="stack">
|
|
<label>name
|
|
<input type="text" name="name" value="{{.Project.Name}}" required maxlength="120">
|
|
</label>
|
|
<label>description
|
|
<textarea name="description" rows="6">{{.Project.Description}}</textarea>
|
|
</label>
|
|
<div class="row">
|
|
<button type="submit" class="btn primary">save ▸</button>
|
|
<a class="btn" href="/projects/{{.Project.ID}}">cancel</a>
|
|
</div>
|
|
</form>
|
|
</section>
|
|
|
|
{{template "footer" .}}
|