Browse Source

feat: fix the error page

master
colorfulberry 4 years ago
parent
commit
3998e6bf2a
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      templates/status/404.tmpl
  2. +1
    -1
      templates/status/500.tmpl

+ 1
- 1
templates/status/404.tmpl View File

@@ -1,6 +1,6 @@
{{template "base/head" .}} {{template "base/head" .}}
{{if .IsRepo}}<div class="repository">{{template "repo/header" .}}</div>{{end}} {{if .IsRepo}}<div class="repository">{{template "repo/header" .}}</div>{{end}}
<div class="ui container center" style="background:url({{StaticUrlPrefix}}/img/404.png) no-repeat center center fixed;margin-bottom:-80px;height: 100%;width:100%;overflow: hidden;background-size: cover;">
<div class="ui container center" style="background:url({{StaticUrlPrefix}}/img/404.png) no-repeat center center fixed;margin-bottom:-80px;height: 100%;width:100%;overflow: hidden;background-size: cover;margin:0!important">
<div style="height:100%;color:white"> <div style="height:100%;color:white">
<div style="padding-top: 50vh"> <div style="padding-top: 50vh">
<div class="ui divider"></div> <div class="ui divider"></div>


+ 1
- 1
templates/status/500.tmpl View File

@@ -1,6 +1,6 @@
{{template "base/head" .}} {{template "base/head" .}}
{{if .IsRepo}}<div class="repository">{{template "repo/header" .}}</div>{{end}} {{if .IsRepo}}<div class="repository">{{template "repo/header" .}}</div>{{end}}
<div class="ui container center" style="background:url({{StaticUrlPrefix}}/img/500.png) no-repeat center center fixed;margin-bottom:-80px;height: 100%;width:100%;overflow: hidden;background-size: cover;">
<div class="ui container center" style="background:url({{StaticUrlPrefix}}/img/500.png) no-repeat center center fixed;margin-bottom:-80px;height: 100%;width:100%;overflow: hidden;background-size: cover;margin:0!important">
<div style="height:100%;color:white"> <div style="height:100%;color:white">
<h1 style="padding-top: 100px;font-size: 180px;color: white;text-align: center;text-shadow: 1px 20px 2px #666; <h1 style="padding-top: 100px;font-size: 180px;color: white;text-align: center;text-shadow: 1px 20px 2px #666;
letter-spacing: 20px;"> letter-spacing: 20px;">


Loading…
Cancel
Save