1 Star 0 Fork 1.2K

codfans/BookStack

forked from wod_Y/BookStack 
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
error.html 1.49 KB
一键复制 编辑 原始数据 按行查看 历史
TruthHun 提交于 2018-02-22 15:19 +08:00 . 假装第一次提交
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="author" content="Minho" />
<link rel="shortcut icon" href="/favicon.ico">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="renderer" content="webkit" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>服务器异常 - {{.SITE_NAME}}</title>
<link href="/static/fonts/lato-100.css" rel="stylesheet" type="text/css">
<style type="text/css">
html, body {
height: 100%;
}
body {
margin: 0;
padding: 0;
width: 100%;
color: #B0BEC5;
display: table;
font-weight: 100;
font-family: 'Lato';
}
.container {
text-align: center;
display: table-cell;
vertical-align: middle;
}
.content {
text-align: center;
display: inline-block;
}
.title {
font-size: 72px;
margin-bottom: 40px;
}
</style>
</head>
<body>
<div class="container">
<div class="content">
{{if .ErrorMessage}}
{{if .ErrorCode}}
<div class="title">HTTP {{.ErrorCode}} : {{.ErrorMessage}}</div>
{{else}}
<div class="title">HTTP 500 : {{.ErrorMessage}}</div>
{{end}}
{{else}}
<div class="title">HTTP 500 : 服务器异常</div>
{{end}}
</div>
</div>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/gitxman/BookStack.git
git@gitee.com:gitxman/BookStack.git
gitxman
BookStack
BookStack
master

搜索帮助