401.jsp 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <%@ page contentType="text/html;charset=UTF-8" isErrorPage="true" %>
  2. <%@include file="/common/taglibs.jsp"%>
  3. <%response.setStatus(200);%>
  4. <!doctype html>
  5. <html lang="en">
  6. <head>
  7. <%@include file="/common/meta.jsp"%>
  8. <title>401 - <spring:message code="core.401.failed" text="认证失败"/></title>
  9. <link href="${ctx}/s/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  10. <link href="${ctx}/s/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet">
  11. <script type="text/javascript" src="${ctx}/s/jquery/jquery.min.js"></script>
  12. <script type="text/javascript">
  13. $(function() {
  14. $('#targetContentDiv').height($(window).innerHeight() - 150);
  15. })
  16. </script>
  17. <style type="text/css">
  18. #targetContentDiv {
  19. background-color: #b8b8b8;
  20. padding: 70px 0 80px;
  21. text-align: center;
  22. }
  23. #targetContentDiv h1 {
  24. font-size: 120px;
  25. letter-spacing: -2px;
  26. line-height: 1;
  27. }
  28. #targetContentDiv p {
  29. font-size: 40px;
  30. font-weight: 200;
  31. line-height: 1.25;
  32. font-weight: bold;
  33. padding: 10px;
  34. }
  35. #targetContentDiv li {
  36. display: inline;
  37. list-style: none outside none;
  38. }
  39. </style>
  40. </head>
  41. <body>
  42. <div id="targetContentDiv">
  43. <div class="container">
  44. <h1>401</h1>
  45. <p><spring:message code="core.401.failed" text="认证失败"/></p>
  46. <ul>
  47. <li><a class="btn btn-primary" href="javascript:void(0);" onclick="history.back()"><spring:message code="core.401.back" text="返回"/></a></li>
  48. </ul>
  49. </div>
  50. </div>
  51. </body>
  52. </html>