mirror of
https://github.com/xuhuisheng/lemon.git
synced 2026-10-17 05:21:07 +08:00
67 lines
1.7 KiB
Plaintext
67 lines
1.7 KiB
Plaintext
<%@ page contentType="text/html;charset=UTF-8" isErrorPage="true" %>
|
|
<%@include file="/common/taglibs.jsp"%>
|
|
<%response.setStatus(404);%>
|
|
<!doctype html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<%@include file="/common/meta.jsp"%>
|
|
<title>404 - <spring:message code="core.404.notfound" text="页面不存在"/></title>
|
|
<link href="${cdnPrefix}/public/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
|
|
<link href="${cdnPrefix}/public/bootstrap/3.3.7/css/bootstrap-responsive.min.css" rel="stylesheet">
|
|
<script type="text/javascript" src="${cdnPrefix}/public/jquery/1.12.4/jquery.min.js"></script>
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
$('#targetContentDiv').height($(window).innerHeight() - 150);
|
|
})
|
|
</script>
|
|
<style type="text/css">
|
|
#targetContentDiv {
|
|
background-color: #b8b8b8;
|
|
padding: 70px 0 80px;
|
|
text-align: center;
|
|
}
|
|
|
|
#targetContentDiv h1 {
|
|
font-size: 120px;
|
|
letter-spacing: -2px;
|
|
line-height: 1;
|
|
}
|
|
|
|
#targetContentDiv p {
|
|
font-size: 40px;
|
|
font-weight: 200;
|
|
line-height: 1.25;
|
|
font-weight: bold;
|
|
padding: 10px;
|
|
}
|
|
|
|
#targetContentDiv ul {
|
|
padding-left: 0px;
|
|
}
|
|
|
|
#targetContentDiv li {
|
|
display: inline;
|
|
list-style: none outside none;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="targetContentDiv">
|
|
<div class="container">
|
|
<h1>404</h1>
|
|
<p><spring:message code="core.404.notfound" text="页面不存在"/></p>
|
|
<div style="color:gray;"><%=request.getAttribute("javax.servlet.forward.request_uri")%></div>
|
|
<ul>
|
|
<li><a class="btn btn-default btn-primary" href="${ctx}/">进入首页</a></li>
|
|
<li><a class="btn btn-default" href="javascript:void(0);" onclick="history.back()">返回上一个页面</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|