summaryrefslogtreecommitdiffstats
path: root/templates/status
diff options
context:
space:
mode:
Diffstat (limited to 'templates/status')
-rw-r--r--templates/status/401.tmpl4
-rw-r--r--templates/status/403.tmpl6
-rw-r--r--templates/status/404.tmpl9
-rw-r--r--templates/status/500.tmpl12
4 files changed, 16 insertions, 15 deletions
diff --git a/templates/status/401.tmpl b/templates/status/401.tmpl
index 98995381af..6e24302fef 100644
--- a/templates/status/401.tmpl
+++ b/templates/status/401.tmpl
@@ -1,6 +1,6 @@
{{template "base/head" .}}
-{{template "base/navbar" .}}
+{{template "base/header" .}}
<div class="container">
- 401 Unauthorized
+ 401 Unauthorized: {{.ErrorMsg}}
</div>
{{template "base/footer" .}} \ No newline at end of file
diff --git a/templates/status/403.tmpl b/templates/status/403.tmpl
index 03a88479dd..f252146773 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 6adb3d7163..7062fb122e 100644
--- a/templates/status/404.tmpl
+++ b/templates/status/404.tmpl
@@ -1,9 +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/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>
</div>
-{{template "base/footer" .}}
+{{template "ng/base/footer" .}}
diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl
index 07edd3620a..692525aa40 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 is occurred : {{.ErrorMsg}}</p>{{end}}
<p>Application Version: {{AppVer}}</p>
</div>
-{{template "base/footer" .}} \ No newline at end of file
+{{template "ng/base/footer" .}} \ No newline at end of file