openfoodfoundation/openfoodnetwork

View on GitHub
public/500.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html>
<head>
  <title>We're sorry, but something went wrong (500)</title>
  <style type="text/css">
    body {
      background-color: #fff;
      color: #666;
      font-family: arial, sans-serif;

    }
    div.dialog {
      width: 600px;
      margin: auto;
    }
    @media only screen
      and (min-width: 320px)
      and (max-width: 568px) {
        div.dialog, div.dialog img {
          width: 95%;
        }
    }
    div.dialog h1 {
      font-size: 1.8em;
    }
  </style>
</head>

<body>
  <!-- This file lives in public/500.html -->
  <div class="dialog">
    <a href="/" ><img src="/500.jpg" /></a>
    <h1>We're sorry, but something went wrong.</h1>
    <b>Please try again</b>
    <p>This might be a temporary problem. Please click the back button to return to the previous screen or go back to <a class="go_home" href="/">Home</a> and try again.</p>
    <b>We're on it</b>
    <p>If you have seen this problem before, we probably already know about it and are working on a fix. We record all the errors that come up.</p>
    <b>Contact support</b>
    <p>If the problem persists or is urgent, please tell us about it. Find our contact details from the global <a href="https://openfoodnetwork.org/ofn-local/" target="blank">Open Food Network Local page</a>.</p>
    <p>It really helps us if you can give as much detail as possible about what you were doing when this error occurred.</p>
  </div>
</body>
</html>