From 13b6e06943b8cb44bb246e1d57856ed3574f6184 Mon Sep 17 00:00:00 2001 From: FuXiaoHei Date: Sun, 23 Mar 2014 16:20:47 +0800 Subject: 404 and 500 page ui --- public/img/404.png | Bin 0 -> 9776 bytes public/img/500.png | Bin 0 -> 12087 bytes templates/status/404.tmpl | 5 +++-- templates/status/500.tmpl | 5 ++++- 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 public/img/404.png create mode 100644 public/img/500.png diff --git a/public/img/404.png b/public/img/404.png new file mode 100644 index 00000000..1f0ee0ef 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 00000000..2c122fde Binary files /dev/null and b/public/img/500.png differ diff --git a/templates/status/404.tmpl b/templates/status/404.tmpl index 4e836b22..c2cafe0c 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 9a00eb1f..f3cd24d6 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 -- cgit v1.2.3