]> projects.mako.cc - selectricity/blobdiff - public/500.html
fixed up the results page in a number of ways
[selectricity] / public / 500.html
old mode 100755 (executable)
new mode 100644 (file)
index ab95f74..f0aee0e
@@ -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>We're sorry, but something went wrong</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>Application error</h1>
-  <p>Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html</p>
+  <!-- This file lives in public/500.html -->
+  <div class="dialog">
+    <h1>We're sorry, but something went wrong.</h1>
+    <p>We've been notified about this issue and we'll take a look at it shortly.</p>
+  </div>
 </body>
 </html>
\ No newline at end of file

Benjamin Mako Hill || Want to submit a patch?