annotate public/500.html @ 373:6e3e1e7b0212

Handle unique error in model instead of controller.
author nanaya <me@myconan.net>
date Sat, 06 Jun 2015 22:12:56 +0900
parents 4aa8194a1733
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
1 <!DOCTYPE html>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
2 <html>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
3 <head>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
4 <title>We're sorry, but something went wrong (500)</title>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
5 <style type="text/css">
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
6 body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
7 div.dialog {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
8 width: 25em;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
9 padding: 0 4em;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
10 margin: 4em auto 0 auto;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
11 border: 1px solid #ccc;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
12 border-right-color: #999;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
13 border-bottom-color: #999;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
14 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
15 h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
16 </style>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
17 </head>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
18
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
19 <body>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
20 <!-- This file lives in public/500.html -->
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
21 <div class="dialog">
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
22 <h1>We're sorry, but something went wrong.</h1>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
23 </div>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
24 </body>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
25 </html>