oficina / estilo Public

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

Plain git — no account needed to clone.

Download

Download this file

1{{/* estilo-error: the body of an error page, inside the app's normal
2 layout and bar. It emits rastrillo's rst-error markup, which is already
3 styled; it exists because the caller must name the way back.
4 Data: chrome.ErrorPage. */}}
5{{define "estilo-error"}}<div rst-error>
6 <p rst-error-status>{{.Status}}</p>
7 <h1 rst-error-title>{{.Title}}</h1>
8 <p rst-error-body>{{.Body}}</p>
9 <p rst-error-cta><a rst-btn="primary" href="{{.Home.Href}}">{{.Home.Label}}</a>
10 {{- with .Back}} <a rst-btn href="{{.Href}}">{{.Label}}</a>{{end}}</p>
11 {{- with .Ref}}
12 <p class="rst-mono" rst-error-ref dir="auto">{{$.RefLabel}} {{.}}</p>
13 {{- end}}
14</div>{{end}}
15