summaryrefslogtreecommitdiffstats
path: root/warehouse/src/main/webapp/WEB-INF/pages/other/500.jsp
blob: f2c325e594c2346b80486486da78d0592d021678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path;
String header = request.getHeader("referer");
%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>AGL</title>
	<link href="<%=basePath%>/css/bootstrap.min.css" rel="stylesheet">
	<link href="<%=basePath%>/css/styles.css" rel="stylesheet">
	<link rel="shortcut icon" href="<%=basePath%>/img/favicon.ico" type="images/x-icon" />
	<link rel="icon" href="<%=basePath%>/img/favicon.ico" type="images/x-icon" />
	
	<style>
	body {
		width: 100%;
		background: #363D4D none repeat scroll 0% 0% !important;
		font-size: 16px;
		font-family: miranafont,"Hiragino Sans GB",STXihei,"Microsoft YaHei",SimSun,sans-serif;
		line-height: 1.82;
	}

	#error404 {
		color: #505C73;
		text-align: center;
		font-size: 22px;
	}
	
	p.errorfour {
		margin: 100px auto 50px;
		width: 504px;
		height: 215px;
		font-size: 200px;
	}
	
	p {
		margin: 20px 0px;
	}
	
	#error404 a {
		display: inline-block;
		margin-top: 80px;
		width: 200px;
		height: 50px;
		border: 1px solid #475266;
		border-radius: 5px;
		color: #505C73;
		text-align: center;
		font-size: 20px;
		line-height: 50px;
		transition: all 0.3s linear 0s;
	}
	
	#error404 a:hover {
		border: 1px solid #737F99;
		color: #737F99;
	}
	</style>
</head>
	<div id="error404">
		<p class="errorfour">500</p>
		<p>${message}</p>
		<a href="<%=header%>">Jump to the home page</a>
	</div>
<body>

</body>
<script src="<%=basePath%>/js/jquery-1.11.1.min.js"></script>
</html>