From: FuXiaoHei Date: Sun, 23 Mar 2014 08:20:47 +0000 (+0800) Subject: 404 and 500 page ui X-Git-Tag: v0.9.99~2377^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=13b6e06943b8cb44bb246e1d57856ed3574f6184;p=gitea.git 404 and 500 page ui --- diff --git a/public/img/404.png b/public/img/404.png new file mode 100644 index 0000000000..1f0ee0ef49 Binary files /dev/null and b/public/img/404.png differ diff --git a/public/img/500.png b/public/img/500.png new file mode 100644 index 0000000000..2c122fde93 Binary files /dev/null and b/public/img/500.png differ diff --git a/templates/status/404.tmpl b/templates/status/404.tmpl index 4e836b228d..c2cafe0c9d 100644 --- a/templates/status/404.tmpl +++ b/templates/status/404.tmpl @@ -1,7 +1,8 @@ {{template "base/head" .}} {{template "base/navbar" .}} -
-

This page is not found !

+
+

404

+

Application Version: {{AppVer}}

{{template "base/footer" .}} \ No newline at end of file diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl index 9a00eb1ff7..f3cd24d696 100644 --- a/templates/status/500.tmpl +++ b/templates/status/500.tmpl @@ -1,7 +1,10 @@ {{template "base/head" .}} {{template "base/navbar" .}} -
+
+

404

+

An error is occurred : {{.ErrorMsg}}

+

Application Version: {{AppVer}}

{{template "base/footer" .}} \ No newline at end of file