404.ejs 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <!DOCTYPE html>
  2. <!--
  3. 444444444 000000000 444444444
  4. 4::::::::4 00:::::::::00 4::::::::4
  5. 4:::::::::4 00:::::::::::::00 4:::::::::4
  6. 4::::44::::4 0:::::::000:::::::0 4::::44::::4
  7. 4::::4 4::::4 0::::::0 0::::::0 4::::4 4::::4
  8. 4::::4 4::::4 0:::::0 0:::::0 4::::4 4::::4
  9. 4::::4 4::::4 0:::::0 0:::::0 4::::4 4::::4
  10. 4::::444444::::4440:::::0 000 0:::::04::::444444::::444
  11. 4::::::::::::::::40:::::0 000 0:::::04::::::::::::::::4
  12. 4444444444:::::4440:::::0 0:::::04444444444:::::444
  13. 4::::4 0:::::0 0:::::0 4::::4
  14. 4::::4 0::::::0 0::::::0 4::::4
  15. 4::::4 0:::::::000:::::::0 4::::4
  16. 44::::::44 00:::::::::::::00 44::::::44
  17. 4::::::::4 00:::::::::00 4::::::::4
  18. 4444444444 000000000 4444444444
  19. This is the default "404: Not Found" 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/404.js`
  22. Sails considers a request to be in a "404: Not Found" state when a user
  23. requests a URL which doesn't match any of your app's routes or blueprints.
  24. You can also trigger this response from one of your controllers or policies with:
  25. `return res.notFound();`
  26. -->
  27. <html>
  28. <head>
  29. <title>Page Not Found</title>
  30. <link href='http://sailsjs.org/styles/fonts.css' rel='stylesheet'/>
  31. <style>
  32. /* Styles included inline since you'll probably be deleting this page anyway */
  33. 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}.fourohfour .ocean{background:url('http://sailsjs.com/images/waves.png') #0c8da0 no-repeat center 0;height:315px}.fourohfour .ocean img{margin-right:auto;margin-left:auto}.fourohfour .waves{display:block;padding-top:25px;margin-right:auto;margin-left:auto}.fourohfour .main{display:block;margin-top:90px}.fourohfour .logo{width:150px;margin-top:3.5em;margin-left:auto;margin-right:auto}.fourohfour .fishy{display:block;padding-top:27px}.fourohfour .help{padding-top:2em}.fourohfour h1{font-family:"Open Sans","Myriad Pro",Arial,sans-serif;font-weight:bold;font-size:1.7em;color:#001c20;text-align:center}.fourohfour h2{font-family:"Open Sans","Myriad Pro",Arial,sans-serif;font-weight:300;font-size:1.5em;color:#001c20;text-align:center}.fourohfour p{font-family:"Open Sans","Myriad Pro",Arial,sans-serif;font-size:1.25em;color:#001c20;text-align:center}.fourohfour a{color:#118798}.fourohfour a:hover{color:#b1eef7}
  34. </style>
  35. </head>
  36. <body>
  37. <div class="fourohfour">
  38. <div class="ocean">
  39. <img class="fishy" src="http://sailsjs.org/images/fishy4.png">
  40. </div>
  41. <div class="main">
  42. <h1>
  43. Something's fishy here.
  44. </h1>
  45. <h2>
  46. <% if (typeof error!== 'undefined') { %>
  47. <%= error %>
  48. <% } else { %>
  49. The page you were trying to reach doesn't exist.
  50. <% } %>
  51. </h2>
  52. <p class="help">
  53. <a href="http://en.wikipedia.org/wiki/HTTP_404">Why</a> might this be happening?
  54. </p>
  55. </div>
  56. <div class="logo">
  57. <a href="http://sailsjs.org">
  58. <img src="http://sailsjs.org/images/logo.png">
  59. </a>
  60. </div>
  61. </div>
  62. </body>
  63. </html>