diff options
| author | 2023-02-18 16:47:42 +0100 | |
|---|---|---|
| committer | 2023-02-18 16:47:42 +0100 | |
| commit | 59b2e1078708e212f160c9164a8c623609cdaf39 (patch) | |
| tree | 815980fae68d479c1ec6f4a7e091db6d61703774 /web/template/error.tmpl | |
| parent | [chore] update gruf's libs on readme (#1520) (diff) | |
| download | gotosocial-59b2e1078708e212f160c9164a8c623609cdaf39.tar.xz | |
[bugfix] fix oob token route, update templates+css for oob and errors (#1519)
Diffstat (limited to 'web/template/error.tmpl')
| -rw-r--r-- | web/template/error.tmpl | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/web/template/error.tmpl b/web/template/error.tmpl index 9cc21b296..ab295d00f 100644 --- a/web/template/error.tmpl +++ b/web/template/error.tmpl @@ -17,10 +17,15 @@ */ -}} {{ template "header.tmpl" .}} - <main> - <section class="error"> - <span>❌</span> <pre>{{.error}}</pre> - <span>Request ID</span> <code>{{.requestID}}</code> - </section> - </main> +<main> + <section class="error"> + <h1>An error occured:</h1> + <pre>{{.error}}</pre> + {{if .requestID}} + <div> + <span>Request ID:</span> <code>{{.requestID}}</code> + </div> + {{end}} + </section> +</main> {{ template "footer.tmpl" .}}
\ No newline at end of file |
