fix(webui): display an error page in all error cases
This commit is contained in:
parent
c483d909f9
commit
bb11b870d6
5 changed files with 11 additions and 6 deletions
|
@ -19,6 +19,11 @@
|
|||
<i class="material-symbols-outlined">login</i>
|
||||
<span>Login</span>
|
||||
</a>
|
||||
{{ else if eq .Page.Section "error" }}
|
||||
<a href="/">
|
||||
<i class="material-symbols-outlined">mountain_flag</i>
|
||||
<span>TfStated</span>
|
||||
</a>
|
||||
{{ else }}
|
||||
<a href="/states"{{ if eq .Page.Section "states" }} class="primary"{{ end}}>
|
||||
<i class="material-symbols-outlined">home_storage</i>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue