| 1 |
<!DOCTYPE html> |
| 2 |
<!-- |
| 3 |
Copyright (c) Jupyter Development Team. |
| 4 |
Distributed under the terms of the Modified BSD License. |
| 5 |
--> |
| 6 |
<html> |
| 7 |
|
| 8 |
<head> |
| 9 |
<meta charset="utf-8"> |
| 10 |
|
| 11 |
<title>{% block title %}{{page_title | e}}{% endblock %}</title> |
| 12 |
|
| 13 |
{% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/favicons/favicon.ico">{% endblock %} |
| 14 |
|
| 15 |
</head> |
| 16 |
|
| 17 |
<body> |
| 18 |
|
| 19 |
{% block stylesheet %} |
| 20 |
<style type="text/css"> |
| 21 |
/* disable initial hide */ |
| 22 |
div#header, div#site { |
| 23 |
display: block; |
| 24 |
} |
| 25 |
</style> |
| 26 |
{% endblock %} |
| 27 |
{% block site %} |
| 28 |
|
| 29 |
<div class="error"> |
| 30 |
{% block h1_error %} |
| 31 |
<h1>{{status_code | e}} : {{status_message | e}}</h1> |
| 32 |
{% endblock h1_error %} |
| 33 |
{% block error_detail %} |
| 34 |
{% if message %} |
| 35 |
<p>The error was:</p> |
| 36 |
<div class="traceback-wrapper"> |
| 37 |
<pre class="traceback">{{message | e}}</pre> |
| 38 |
</div> |
| 39 |
{% endif %} |
| 40 |
{% endblock %} |
| 41 |
</header> |
| 42 |
|
| 43 |
{% endblock %} |
| 44 |
|
| 45 |
{% block script %} |
| 46 |
<script type='text/javascript'> |
| 47 |
window.onload = function () { |
| 48 |
var tb = document.getElementsByClassName('traceback')[0]; |
| 49 |
tb.scrollTop = tb.scrollHeight; |
| 50 |
{% if message %} |
| 51 |
console.error("{{message | e}}") |
| 52 |
{% endif %} |
| 53 |
}; |
| 54 |
</script> |
| 55 |
{% endblock script %} |
| 56 |
|
| 57 |
</body> |
| 58 |
|
| 59 |
</html> |