aboutsummaryrefslogtreecommitdiffstats
path: root/railties/html/500.html
blob: 7a2af943d918a1388266fb7ff4ec9a18ef5a0729 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!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">
    div.dialog {
    	margin: 0;
    	padding: 10px;
    	text-align: left;
    	border: 1px solid #ccc;
    	border-right: 1px solid #999;
    	border-bottom: 1px solid #999;
    	background-color: #fff;
    	}

  	div.outer {
  		position: absolute;
  		left: 50%;
  		top: 50%;
  		width: 500px;
  		height: 300px;
  		margin-left: -260px; 
  		margin-top: -150px;
  	}

  	body { background-color: #fff; }
	</style>
</head>

<body>

<div class="outer">
  <!-- This file lives in public/500.html -->

  <div class="dialog" style="text-align: center;">
    <div style="text-align: center; width: 200px; margin: 0 auto;">
    <p style="color: red; font-size: 16px; line-height: 20px;">We're sorry, but something went wrong.</p>
    <p style="color: #666;">We've been notified about this issue and we'll take a look at it shortly.</p>
  </div>
</div>

</body>
</html>