mirror of
https://github.com/aykhans/AzSuicideDataVisualization.git
synced 2025-07-03 14:49:07 +00:00
first commit
This commit is contained in:
42
.venv/Lib/site-packages/notebook/templates/error.html
Normal file
42
.venv/Lib/site-packages/notebook/templates/error.html
Normal file
@ -0,0 +1,42 @@
|
||||
{% extends "page.html" %}
|
||||
|
||||
{% block login_widget %}
|
||||
{% endblock %}
|
||||
|
||||
{% block stylesheet %}
|
||||
{{super()}}
|
||||
<style type="text/css">
|
||||
/* disable initial hide */
|
||||
div#header, div#site {
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
{% block site %}
|
||||
|
||||
<div class="error">
|
||||
{% block h1_error %}
|
||||
<h1>{{status_code}} : {{status_message}}</h1>
|
||||
{% endblock h1_error %}
|
||||
{% block error_detail %}
|
||||
{% if message %}
|
||||
<p>{% trans %}The error was:{% endtrans %}</p>
|
||||
<div class="traceback-wrapper">
|
||||
<pre class="traceback">{{message}}</pre>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
{{super()}}
|
||||
<script type='text/javascript'>
|
||||
require(['jquery'], function($) {
|
||||
// scroll long tracebacks to the bottom
|
||||
var tb = $(".traceback")[0];
|
||||
tb.scrollTop = tb.scrollHeight;
|
||||
});
|
||||
</script>
|
||||
{% endblock script %}
|
Reference in New Issue
Block a user