diff options
Diffstat (limited to 'templates/status/404.tmpl')
-rw-r--r-- | templates/status/404.tmpl | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/templates/status/404.tmpl b/templates/status/404.tmpl index bd739280d7..c5f549bf54 100644 --- a/templates/status/404.tmpl +++ b/templates/status/404.tmpl @@ -1,10 +1,12 @@ {{template "base/head" .}} -{{if .IsRepo}}<div class="repository">{{template "repo/header" .}}</div>{{end}} -<div class="ui container center"> - <p style="margin-top: 100px"><img class="ui centered image" src="{{StaticUrlPrefix}}/img/404.png" alt="404"/></p> - <div class="ui divider"></div> - <br> - <p>{{.i18n.Tr "error404" | Safe}} - {{if .ShowFooterVersion}}<p>{{.i18n.Tr "admin.config.app_ver"}}: {{AppVer}}</p>{{end}} +<div class="page-content ui container center {{if .IsRepo}}repository{{end}}"> + {{if .IsRepo}}{{template "repo/header" .}}{{end}} + <div class="ui container center"> + <p style="margin-top: 100px"><img class="ui centered image" src="{{StaticUrlPrefix}}/img/404.png" alt="404"/></p> + <div class="ui divider"></div> + <br> + <p>{{.i18n.Tr "error404" | Safe}} + {{if .ShowFooterVersion}}<p>{{.i18n.Tr "admin.config.app_ver"}}: {{AppVer}}</p>{{end}} + </div> </div> {{template "base/footer" .}} |