93 lines
2.5 KiB
HTML
93 lines
2.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Canvas Page Error</title>
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
font-size: 13px;
|
|
line-height: 18px;
|
|
color: #333333;
|
|
background-color: #eee;
|
|
}
|
|
|
|
a {
|
|
color: #0088cc;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
color: #005580;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 22px;
|
|
font-weight: normal;
|
|
border-bottom: 1px solid #ccc;
|
|
margin: 0;
|
|
}
|
|
.centered-div {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
margin: 0;
|
|
padding: 0;
|
|
margin-top: -210px;
|
|
margin-left: -250px;
|
|
width: 500px;
|
|
border: 1px solid #ccc;
|
|
background-color: #fff;
|
|
border-radius: 5px;
|
|
z-index: 1;
|
|
|
|
}
|
|
.centered-div-content {
|
|
padding: 15px 20px;
|
|
}
|
|
body, html {
|
|
margin: 0;
|
|
height: 100%;
|
|
}
|
|
.sticky-footer {
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
margin: 10px;
|
|
z-index: 0;
|
|
}
|
|
a img {
|
|
border: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<form class="centered-div" id="submit_error_form" action="/errors" method="POST">
|
|
<h1 class="centered-div-content">Oops! It Looks Like Something Broke</h1>
|
|
<div class="centered-div-content">
|
|
<p>Please let us know how you got here so we can fix it as soon as possible:</p>
|
|
<input id="error_category" name="error[category]" type="hidden" value="500" />
|
|
<input id="error_url" name="error[url]" type="hidden" value="the value of this field should be changed by javascript on dom ready." />
|
|
<textarea autofocus name="error[comments]" style="width: 100%; min-height: 100px"></textarea>
|
|
Your email address: <input id="error_email" name="error[email]" style="width: 100%" />
|
|
<p>
|
|
If you need more assistance, go to our
|
|
<a href="http://help.instructure.com">support website</a> or
|
|
<a href="mailto:support@instructure.com?subject=Feedback from Canvas page error">send us an email</a>.
|
|
</p>
|
|
<div class="button-container">
|
|
<button type="submit" class="btn">Send Comments</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
<div class="sticky-footer">
|
|
<a href="http://www.instructure.com"><img alt="Powered By Instructure" src="/images/footer-logo.png?1274476615" /></a>
|
|
</div>
|
|
<script>
|
|
document.getElementById('error_url').value = window.location;
|
|
</script>
|
|
</body>
|
|
</html>
|