aboutsummaryrefslogtreecommitdiff
path: root/templates/status
diff options
context:
space:
mode:
Diffstat (limited to 'templates/status')
-rw-r--r--templates/status/200.tmpl7
-rw-r--r--templates/status/401.tmpl8
-rw-r--r--templates/status/403.tmpl6
-rw-r--r--templates/status/404.tmpl10
-rw-r--r--templates/status/500.tmpl12
5 files changed, 19 insertions, 24 deletions
diff --git a/templates/status/200.tmpl b/templates/status/200.tmpl
deleted file mode 100644
index 0846ad79..00000000
--- a/templates/status/200.tmpl
+++ /dev/null
@@ -1,7 +0,0 @@
-{{template "base/head" .}}
-{{template "base/navbar" .}}
-<div id="body" class="container">
- <p>An error is occurred : {{.ErrorMsg}}</p>
- <p>Application Version: {{AppVer}}</p>
-</div>
-{{template "base/footer" .}} \ No newline at end of file
diff --git a/templates/status/401.tmpl b/templates/status/401.tmpl
index 98995381..2c38d90f 100644
--- a/templates/status/401.tmpl
+++ b/templates/status/401.tmpl
@@ -1,6 +1,6 @@
-{{template "base/head" .}}
-{{template "base/navbar" .}}
+{{template "ng/base/head" .}}
+{{template "ng/base/header" .}}
<div class="container">
- 401 Unauthorized
+ 401 Unauthorized: {{.ErrorMsg}}
</div>
-{{template "base/footer" .}} \ No newline at end of file
+{{template "ng/base/footer" .}} \ No newline at end of file
diff --git a/templates/status/403.tmpl b/templates/status/403.tmpl
index 03a88479..f2521467 100644
--- a/templates/status/403.tmpl
+++ b/templates/status/403.tmpl
@@ -1,6 +1,6 @@
-{{template "base/head" .}}
-{{template "base/navbar" .}}
+{{template "ng/base/head" .}}
+{{template "ng/base/header" .}}
<div class="container">
403 Forbidden
</div>
-{{template "base/footer" .}} \ No newline at end of file
+{{template "ng/base/footer" .}} \ No newline at end of file
diff --git a/templates/status/404.tmpl b/templates/status/404.tmpl
index 6adb3d71..2d04b559 100644
--- a/templates/status/404.tmpl
+++ b/templates/status/404.tmpl
@@ -1,9 +1,11 @@
-{{template "base/head" .}}
-{{template "base/navbar" .}}
+{{template "ng/base/head" .}}
+{{template "ng/base/header" .}}
<div id="body" class="container text-center">
- <p style="margin-top: 80px"><img src="/img/404.png" alt="404"/></p>
+ <p style="margin-top: 100px"><img src="/img/404.png" alt="404"/></p>
<hr/>
+ <br>
<p>Application Version: {{AppVer}}</p>
<p>If you think this is an error, please open an issue on <a href="https://github.com/gogits/gogs/issues/new">GitHub</a>.</p>
+ <h3>We're currently working on 0.5 beta version, many pages may be missing at this time. Sorry for confusion!</h3>
</div>
-{{template "base/footer" .}}
+{{template "ng/base/footer" .}}
diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl
index 07edd362..b887532d 100644
--- a/templates/status/500.tmpl
+++ b/templates/status/500.tmpl
@@ -1,10 +1,10 @@
-{{template "base/head" .}}
-{{template "base/navbar" .}}
+{{template "ng/base/head" .}}
+{{template "ng/base/header" .}}
<div id="body" class="container text-center">
- <p style="margin-top: 80px"><img src="/img/500.png" alt="404"/></p>
- {{if .ErrorMsg}}<hr/>
- <p>An error is occurred : {{.ErrorMsg}}</p>{{end}}
+ <p style="margin-top: 100px"><img src="/img/500.png" alt="500"/></p>
<hr/>
+ <br>
+ {{if .ErrorMsg}}<p>An error has occurred : {{.ErrorMsg}}</p>{{end}}
<p>Application Version: {{AppVer}}</p>
</div>
-{{template "base/footer" .}} \ No newline at end of file
+{{template "ng/base/footer" .}}