master分支改为Saker模板引擎

This commit is contained in:
eshengsky
2017-05-08 16:28:24 +08:00
parent beb619e224
commit e0e5b41216
51 changed files with 1461 additions and 1148 deletions

29
views/shared/error.html Normal file
View File

@@ -0,0 +1,29 @@
@{this.layout = null}
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/libs/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="/stylesheets/bootstrap-addon.css" rel="stylesheet">
<link href="/stylesheets/site.css" rel="stylesheet">
<link href="/stylesheets/error.css" rel="stylesheet">
<title></title>
</head>
<body>
<div class="container-fluid back-img">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="error-block">
<h1>@code</h1>
<div class="desc">@message</div>
<a href="/" class="btn btn-green btn-lg">
<i class="fa fa-home"></i> @__("error.back_to_home")
</a>
</div>
</div>
</div>
</div>
</body>
</html>