aboutsummaryrefslogtreecommitdiffstats
path: root/templates/status
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-07-26 00:24:27 -0400
committerUnknwon <joe2010xtmf@163.com>2014-07-26 00:24:27 -0400
commit8dd07c0ddd99ae626a1ec8c06f75f27fed51269f (patch)
tree261d3c9911dabc58c1ac54e4e36b3dee24d2032b /templates/status
parent0a739cf9ac901f54484c34bba8322418dedb09b0 (diff)
downloadgitea-8dd07c0ddd99ae626a1ec8c06f75f27fed51269f.tar.gz
gitea-8dd07c0ddd99ae626a1ec8c06f75f27fed51269f.zip
New UI merge in progress
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