aboutsummaryrefslogtreecommitdiffstats
path: root/templates/status
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-12-07 23:30:52 +0100
committerAdam Strzelecki <ono@java.pl>2015-12-08 00:57:46 +0100
commitda2585c11e11023ffa7a8c69d21c6fecac520a8e (patch)
tree1c2a575dfc00e0e78f47c497a6d9347b3edeca9a /templates/status
parentdd8a06a397e26c46639eba1313102560dfa49c95 (diff)
downloadgitea-da2585c11e11023ffa7a8c69d21c6fecac520a8e.tar.gz
gitea-da2585c11e11023ffa7a8c69d21c6fecac520a8e.zip
Indent all templates with tabs
This commit improves templates readability, since all of them use consistent indent with all template command blocks indented too. 1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks such as {{if}} {{with}} 2. Cleans all trailing white-space 3. Adds trailing last line-break to each file
Diffstat (limited to 'templates/status')
-rw-r--r--templates/status/404.tmpl10
-rw-r--r--templates/status/500.tmpl10
2 files changed, 10 insertions, 10 deletions
diff --git a/templates/status/404.tmpl b/templates/status/404.tmpl
index a1b632df2a..776f4fb78e 100644
--- a/templates/status/404.tmpl
+++ b/templates/status/404.tmpl
@@ -1,9 +1,9 @@
{{template "base/head" .}}
<div class="ui container center">
- <p style="margin-top: 100px"><img src="{{AppSubUrl}}/img/404.png" alt="404"/></p>
- <div class="ui divider"></div>
- <br>
- {{if .ShowFooterVersion}}<p>Application Version: {{AppVer}}</p>{{end}}
- <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>
+ <p style="margin-top: 100px"><img src="{{AppSubUrl}}/img/404.png" alt="404"/></p>
+ <div class="ui divider"></div>
+ <br>
+ {{if .ShowFooterVersion}}<p>Application Version: {{AppVer}}</p>{{end}}
+ <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" .}}
diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl
index 519a6f60f6..fba069eeb1 100644
--- a/templates/status/500.tmpl
+++ b/templates/status/500.tmpl
@@ -1,9 +1,9 @@
{{template "base/head" .}}
<div class="ui container center">
- <p style="margin-top: 100px"><img src="{{AppSubUrl}}/img/500.png" alt="500"/></p>
- <div class="ui divider"></div>
- <br>
- {{if .ErrorMsg}}<p>An error has occurred : {{.ErrorMsg}}</p>{{end}}
- {{if .ShowFooterVersion}}<p>Application Version: {{AppVer}}</p>{{end}}
+ <p style="margin-top: 100px"><img src="{{AppSubUrl}}/img/500.png" alt="500"/></p>
+ <div class="ui divider"></div>
+ <br>
+ {{if .ErrorMsg}}<p>An error has occurred : {{.ErrorMsg}}</p>{{end}}
+ {{if .ShowFooterVersion}}<p>Application Version: {{AppVer}}</p>{{end}}
</div>
{{template "base/footer" .}}