403.ejs 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <!DOCTYPE html>
  2. <!--
  3. 444444444 000000000 333333333333333
  4. 4::::::::4 00:::::::::00 3:::::::::::::::33
  5. 4:::::::::4 00:::::::::::::00 3::::::33333::::::3
  6. 4::::44::::4 0:::::::000:::::::03333333 3:::::3
  7. 4::::4 4::::4 0::::::0 0::::::0 3:::::3
  8. 4::::4 4::::4 0:::::0 0:::::0 3:::::3
  9. 4::::4 4::::4 0:::::0 0:::::0 33333333:::::3
  10. 4::::444444::::4440:::::0 000 0:::::0 3:::::::::::3
  11. 4::::::::::::::::40:::::0 000 0:::::0 33333333:::::3
  12. 4444444444:::::4440:::::0 0:::::0 3:::::3
  13. 4::::4 0:::::0 0:::::0 3:::::3
  14. 4::::4 0::::::0 0::::::0 3:::::3
  15. 4::::4 0:::::::000:::::::03333333 3:::::3
  16. 44::::::44 00:::::::::::::00 3::::::33333::::::3
  17. 4::::::::4 00:::::::::00 3:::::::::::::::33
  18. 4444444444 000000000 333333333333333
  19. This is the default "403: Forbidden" page.
  20. User agents that don't "Accept" HTML will see a JSON version instead.
  21. You can customize the control logic for your needs in `config/403.js`
  22. You can trigger this response from one of your controllers or policies with:
  23. `return res.forbidden( msg );`
  24. (where `msg` is an optional error message to include in the response)
  25. -->
  26. <html>
  27. <head>
  28. <title>Forbidden</title>
  29. <link href='http://sailsjs.org/styles/fonts.css' rel='stylesheet'/>
  30. <style>
  31. /* Styles included inline since you'll probably be deleting or replacing this page anyway */
  32. html,body{text-align:left;font-size:1em}html,body,img,form,textarea,input,fieldset,div,p,div,ul,li,ol,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,code{margin:0;padding:0}ul,li{list-style:none}img{display:block}a img{border:0}a{text-decoration:none;font-weight:normal;font-family:inherit}*:active,*:focus{outline:0;-moz-outline-style:none}h1,h2,h3,h4,h5,h6,h7{font-weight:normal;font-size:1em}.clearfix:after{clear:both;content:".";display:block;font-size:0;height:0;line-height:0;visibility:hidden}.page .ocean{background:url('http://sailsjs.com/images/waves.png') #0c8da0 no-repeat center 0;height:315px}.page .ocean img{margin-right:auto;margin-left:auto}.page .waves{display:block;padding-top:25px;margin-right:auto;margin-left:auto}.page .main{display:block;margin-top:90px}.page .logo{width:150px;margin-top:3.5em;margin-left:auto;margin-right:auto}.page .fishy{display:block;padding-top:100px}.page .help{padding-top:2em}.page h1{font-family:"Open Sans","Myriad Pro",Arial,sans-serif;font-weight:bold;font-size:1.7em;color:#001c20;text-align:center}.page h2{font-family:"Open Sans","Myriad Pro",Arial,sans-serif;font-weight:300;font-size:1.5em;color:#001c20;text-align:center}.page p{font-family:"Open Sans","Myriad Pro",Arial,sans-serif;font-size:1.25em;color:#001c20;text-align:center}.page a{color:#118798}.page a:hover{color:#b1eef7}
  33. </style>
  34. </head>
  35. <body>
  36. <div class="page">
  37. <div class="ocean">
  38. <img class="fishy" src="http://sailsjs.com/images/image_devInTub.png">
  39. </div>
  40. <div class="main">
  41. <h1>
  42. Forbidden
  43. </h1>
  44. <h2>
  45. <% if (typeof error !== 'undefined') { %>
  46. <%= error %>
  47. <% } else { %>
  48. You don't have permission to see the page you're trying to reach.
  49. <% } %>
  50. </h2>
  51. <p class="help">
  52. <a href="http://en.wikipedia.org/wiki/HTTP_403">Why</a> might this be happening?
  53. </p>
  54. </div>
  55. <div class="logo">
  56. <a href="http://sailsjs.org">
  57. <img src="http://sailsjs.org/images/logo.png">
  58. </a>
  59. </div>
  60. </div>
  61. </body>
  62. </html>