0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 09:24:20 +01:00

404 and 500 page ui

This commit is contained in:
FuXiaoHei 2014-03-23 16:20:47 +08:00
parent 1a16b3e99a
commit 13b6e06943
4 changed files with 7 additions and 3 deletions

BIN
public/img/404.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

BIN
public/img/500.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -1,7 +1,8 @@
{{template "base/head" .}}
{{template "base/navbar" .}}
<div id="gogs-body" class="container">
<h4>This page is not found !</h4>
<div id="gogs-body" class="container text-center">
<p style="margin-top: 80px"><img src="/img/404.png" alt="404"/></p>
<hr/>
<p>Application Version: {{AppVer}}</p>
</div>
{{template "base/footer" .}}

View file

@ -1,7 +1,10 @@
{{template "base/head" .}}
{{template "base/navbar" .}}
<div id="gogs-body" class="container">
<div id="gogs-body" class="container text-center">
<p style="margin-top: 80px"><img src="/img/500.png" alt="404"/></p>
<hr/>
<p>An error is occurred : {{.ErrorMsg}}</p>
<hr/>
<p>Application Version: {{AppVer}}</p>
</div>
{{template "base/footer" .}}