forked from diaspora/diaspora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path500.html
89 lines (77 loc) · 2.08 KB
/
500.html
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html>
<head>
<title>We're sorry, but something went wrong (500)</title>
<style type="text/css">
body {
text-align: center;
background-color: rgb(252,252,252);
color: #444;
font-family: 'helvetica neue', 'helvetica', 'arial', sans-serif;
margin: 0;
padding: 1em;
}
header {
height: 100px;
background-color: #333;
position:relative;
}
#diaspora_logo {
position: relative;
margin-top: 50px;
}
h1 {
font-size: 100%;
color: #444;
line-height: 1.5em;
}
#satisfaction {
display:inline-block;
width: 800px;
margin-top: 50px;
background-color: #fff;
position: relative;
padding: 12px;
background-color: white;
-webkit-box-shadow: 0 1px 3px #333333;
-moz-box-shadow: 0 1px 3px #333333;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
border-bottom: 1px solid #cccccc;
border-top: 1px solid white;
max-height: 300px;
}
</style>
</head>
<body>
<!-- This file lives in public/500.html -->
<header>
<img id="diaspora_logo" src="/images/logo_large.png"/>
</header>
<h1>
500: Internal server error.
</h1>
<h3>
Our bad! Want to tell us how you got here?
</h3>
<div id="satisfaction">
<script type="text/javascript" charset="utf-8">
if(window.location.hostname == 'joindiaspora.com'){
var is_ssl = ("https:" == document.location.protocol);
var asset_host = is_ssl ? "https://s3.amazonaws.com/getsatisfaction.com/" : "http://s3.amazonaws.com/getsatisfaction.com/";
document.write(unescape("%3Cscript src='" + asset_host + "javascripts/feedback-v2.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
<script type="text/javascript" charset="utf-8">
if(window.location.hostname == 'joindiaspora.com'){
var feedback_widget_options = {};
feedback_widget_options.display = "inline";
feedback_widget_options.company = "diaspora";
feedback_widget_options.style = 'problem';
var feedback_widget = new GSFN.feedback_widget(feedback_widget_options);
}
</script>
</div>
</body>
</html>