tracker: single-binary project tracker with auth, api keys, and json api
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).
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{{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" .}}
|
||||
Reference in New Issue
Block a user