oficina / base Public

Clone
git clone https://amadan.net/oficina/base

Plain git — no account needed to clone.

Download

Download this file

1{{define "title"}}{{.Tab}} · {{.Name}}{{end}}
2{{define "main"}}{{$p := .Page}}<main class="signin">
3<div class="card glass">
4<div class="wordmark">base</div>
5<h2>{{$p.Title}}</h2>
6<p>{{$p.Body}}</p>
7{{with $p.Address}}<p class="addr"><bdi>{{.}}</bdi></p>
8{{end}}{{if $p.PostAction}}<form method="post" action="{{$p.Action}}"><button class="btn" type="submit">{{$p.ActionLabel}}</button></form>
9{{else}}<a class="btn full" href="{{$p.Action}}">{{$p.ActionLabel}}</a>
10{{end}}{{with $p.CancelLabel}}<a class="btn ghost full" href="{{$.Back}}">{{.}}</a>
11{{end}}</div>
12</main>{{end}}
13