Uploaded Test files
This commit is contained in:
parent
f584ad9d97
commit
2e81cb7d99
16627 changed files with 2065359 additions and 102444 deletions
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 %}
|
Loading…
Add table
Add a link
Reference in a new issue