error.jsp 2.23 KB
Newer Older
1
2
<!DOCTYPE html>

3
<%@ include file="/WEB-INF/jsp/init.jsp" %>
4
5
6

<html>
<head>
Matija Obreza's avatar
Matija Obreza committed
7
<title><spring:message code="http-error.${pageContext.response.status}" /></title>
8
<style type="text/css">
Taisiya Glushko's avatar
Taisiya Glushko committed
9
10
11
12
13
14
15
    body {background:#e7e5df;}
    /** {margin:0; padding:0; outline:none; font-family:Arial, Helvetica, sans-serif; font-size:16px;}
    .container {margin:0 auto; width:1170px;}
    .header {background:#4d4c46; height: 70px;}
    .header .logo {display:block; padding:0 0 5px 0;}
    .menu {background:#2b2924; border-bottom:10px solid #fff;}
    .menu a {background:#2b2924; color:#fff; display:block; font-weight:bold; padding:10px 50px; text-decoration:none; text-transform:uppercase;}
16
    .content {background:url('<c:url value="${cdnServers.next}/html/1/images/bg_error.jpg" />') no-repeat; min-height:500px; margin-top:20px; position:relative; width:990px;}
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
  .content .error-title {
    color:#88ba42;
    font-size:50px;
    font-weight:bold;
    line-height:130%;
    padding-top:50px;
    position:absolute;
    top:57px;
    left:50px;
    text-align:center;
    height:235px;
    width:235px;
  }
  .content .error-title span {display:block; font-size:90px;}
  .content .error-msg {float:right; margin:60px 40px 0 0; width:560px;}
  .content .error-msg h1 {color:#fff; font-size:48px; padding:0 0 30px 0;}
  .content .error-msg p {color:#fff; font-size:20px; padding:0 0 15px 0;}
  .content .error-msg p small {font-size:16px;}
  .content .error-msg ul {background:rgba(255, 255, 255, 0.2); padding:10px 0 10px 30px; width:300px;}
Taisiya Glushko's avatar
Taisiya Glushko committed
36
  .content .error-msg ul li {color:#fff; font-style:italic; padding:3px 0;}*/
37
38
</style>
</head>
Taisiya Glushko's avatar
Taisiya Glushko committed
39
40
<body class="error-page">
    <div class="container error-wrapper">
41
      <div class="content">
Matija Obreza's avatar
Matija Obreza committed
42
        <div class="error-title"><span><c:out value="${pageContext.response.status}" /></span> error</div>
43
        <div class="error-msg">
Matija Obreza's avatar
Matija Obreza committed
44
45
          <h1><c:out value="${pageContext.response.status}" /> - <spring:message code="http-error.${pageContext.response.status}" /></h1>
          <p><spring:message code="http-error.${pageContext.response.status}.text" htmlEscape="false" /></p>
46
          <c:if test="${exception !=null }">
Taisiya Glushko's avatar
Taisiya Glushko committed
47
            <p><c:out value="${exception.message}" /></p>
48
49
50
51
52
53
          </c:if>
        </div>
      </div>
    </div>
</body>
</html>