]> projects.mako.cc - selectricity-live/blobdiff - public/404.html
Both quickvotes and full-size elections use the same partial in views/voter
[selectricity-live] / public / 404.html
index 0e1845619d8d06bf998b2b2aff7c2241c7abd009..eff660b90c3e514c9ed1d8ca788e688fecf5e519 100644 (file)
@@ -1,8 +1,30 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
-   "http://www.w3.org/TR/html4/loose.dtd">
-<html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+
+<head>
+  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+  <title>The page you were looking for doesn't exist (404)</title>
+       <style type="text/css">
+               body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
+               div.dialog {
+                       width: 25em;
+                       padding: 0 4em;
+                       margin: 4em auto 0 auto;
+                       border: 1px solid #ccc;
+                       border-right-color: #999;
+                       border-bottom-color: #999;
+               }
+               h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
+       </style>
+</head>
+
 <body>
-  <h1>File not found</h1>
-  <p>Change this error message for pages not found in public/404.html</p>
+  <!-- This file lives in public/404.html -->
+  <div class="dialog">
+    <h1>The page you were looking for doesn't exist.</h1>
+    <p>You may have mistyped the address or the page may have moved.</p>
+  </div>
 </body>
 </html>
\ No newline at end of file

Benjamin Mako Hill || Want to submit a patch?