forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
500.html
92 lines (88 loc) · 2.48 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
90
91
92
<!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:[email protected]?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>