veto

Simple Sinatra voting website.
git clone git://git.knutsen.co/veto
Log | Files | Refs | README | LICENSE

oops.erb (1096B)


<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <title>404 — Veto Vote</title>
    <%= head_tags %>
    <style media="screen">
      .container {
        width: 24em;
      }
      .container p:nth-of-type(2) {
        color: #555;
      }
      h2 {
        font-size: 4rem
      }
      h3 {
        text-align: center;
      }
      h3 span {
        font-family: var(--mono-font);
      }
      a { color: #666; }
      a:hover { color: #555; }
    </style>
  </head>
  <body>
    <div class="container">
      <h1>Oops.</h1>
      <h2>That's a 404.</h2>

      <h3>
        <span>« /poll/<%= request.url.split('/')[-1] %> »</span>
        <br />
        does not exist.
      </h3>
      <p>
        We don't recognise this URL, perhaps you've entered the URL
        incorrectly or you've been given a wrong link.
      </p>
      <p>
        If you believe this link should be correct, and the webservice is
        at fault, please email me
        at <a href="mailto:admin@knutsen.co">admin@knutsen.co</a> with deatils of the problem.
      </p>
    </div>
  </body>
</html>