500 page now shows a getsatisfaction pane defaulted to problem tab
This commit is contained in:
parent
8a19e9f961
commit
9891577fa5
1 changed files with 73 additions and 15 deletions
|
|
@ -3,24 +3,82 @@
|
|||
<head>
|
||||
<title>We're sorry, but something went wrong (500)</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>
|
||||
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 {
|
||||
color: 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 -->
|
||||
<div class="dialog">
|
||||
<h1>Please, stop that.</h1>
|
||||
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
||||
</div>
|
||||
<header>
|
||||
<img id="diaspora_logo" src="images/diaspora_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">
|
||||
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">
|
||||
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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue