notfound.html 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <html>
  2. <head>
  3. <meta charset="UTF-8">
  4. <meta name="viewport" content="width=device-width, initial-scale=1.0 user-scalable=no">
  5. <link rel="stylesheet" href="{{root_escape}}script/semantic/semantic.min.css">
  6. <script type="text/javascript" src="{{root_escape}}script/jquery.min.js"></script>
  7. <script type="text/javascript" src="{{root_escape}}script/semantic/semantic.min.js"></script>
  8. <title>Not Found</title>
  9. <style>
  10. #msg{
  11. position: absolute;
  12. top: calc(50% - 150px);
  13. left: calc(50% - 250px);
  14. width: 500px;
  15. height: 300px;
  16. text-align: center;
  17. }
  18. #footer{
  19. position: fixed;
  20. padding: 2em;
  21. padding-left: 5em;
  22. padding-right: 5em;
  23. bottom: 0px;
  24. left: 0px;
  25. width: 100%;
  26. }
  27. </style>
  28. </head>
  29. <body>
  30. <div id="msg">
  31. <h1 style="font-size: 6em; margin-bottom: 0px;">404</h1>
  32. <div>
  33. <h3 class="">Page Not Found</h3>
  34. <div class="ui divider"></div>
  35. <p>The page or resource you are trying to access does not exist. <br><a href="../">Back</a></p>
  36. <div class="ui divider"></div>
  37. <div style="text-align: left;">
  38. <small>Request time: <span id="reqtime"></span></small><br>
  39. <small id="reqURLDisplay">Request URI: {{request_url}}</small>
  40. </div>
  41. </div>
  42. </div>
  43. <script>
  44. $("#reqtime").text(new Date().toLocaleString(undefined, {year: 'numeric', month: '2-digit', day: '2-digit', weekday:"long", hour: '2-digit', hour12: false, minute:'2-digit', second:'2-digit'}));
  45. </script>
  46. </body>
  47. </html>