mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-04 10:58:48 +00:00
Update error page
- Add retry button for GET requests - Only show signin button when it's a session error
This commit is contained in:
parent
089d4ac500
commit
2cb6a515ac
4 changed files with 23 additions and 10 deletions
|
@ -2,10 +2,15 @@
|
|||
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
|
||||
<div class="page-title"> Error </div>
|
||||
|
||||
<div class="error-text"> {{.Error}} </div>
|
||||
<div class="error-text"> {{.Err}} </div>
|
||||
<div>
|
||||
<a href="/timeline/home">Home</a>
|
||||
<a href="/signin" target="_top">Sign In</a>
|
||||
<a href="/timeline/home">home</a>
|
||||
{{if .Retry}}
|
||||
<a href="{{$.Ctx.Referrer}}">retry</a>
|
||||
{{end}}
|
||||
{{if .SessionErr}}
|
||||
<a href="/signin" target="_top">signin</a>
|
||||
{{end}}
|
||||
</div>
|
||||
|
||||
{{template "footer.tmpl"}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue