internal/web/templates/logout.html
cmc web: polish remaining repo sub-views, snippets/queries, and auth/landing pages
28e72be7ab 1 day ago11 lines · 450 bytes
1{{define "width"}}bounded{{end}}
2{{define "title"}}log out · {{.Site}}{{end}}
3{{define "content"}}
4<section class="setcard">
5<h1>Log out</h1>
6<p class="meta">Ends this browser's session as <a href="/{{.Viewer}}">{{.Viewer}}</a>. Keys and tokens are untouched.</p>
7<form method="post" action="/logout">
8<p class="btngroup"><button type="submit" class="danger">Log out</button> <a class="button btn" href="/">Cancel</a></p>
9</form>
10</section>
11{{end}}