diff options
author | José Valim <jose.valim@gmail.com> | 2009-06-16 15:57:14 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-06-19 16:10:42 +0200 |
commit | 720aceeea9083e8139e06be5aaaa3b9db98f344d (patch) | |
tree | 4b44f95f49acd087decf68d4e5a22cfab607356f /railties/lib/generator/templates/app/public/404.html | |
parent | ced68c7430216424419ecb4525d3bc6b6847f9c6 (diff) | |
download | rails-720aceeea9083e8139e06be5aaaa3b9db98f344d.tar.gz rails-720aceeea9083e8139e06be5aaaa3b9db98f344d.tar.bz2 rails-720aceeea9083e8139e06be5aaaa3b9db98f344d.zip |
Send new files too.
Diffstat (limited to 'railties/lib/generator/templates/app/public/404.html')
-rw-r--r-- | railties/lib/generator/templates/app/public/404.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/railties/lib/generator/templates/app/public/404.html b/railties/lib/generator/templates/app/public/404.html new file mode 100644 index 0000000000..eff660b90c --- /dev/null +++ b/railties/lib/generator/templates/app/public/404.html @@ -0,0 +1,30 @@ +<!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> + <!-- 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 |