forked from jupyter/notebook
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
717 additions
and
263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,43 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>{{page_config['appName'] | e}} - Console</title> | ||
{% block favicon %} | ||
<link rel="icon" type="image/x-icon" href="{{ page_config['fullStaticUrl'] | e }}/favicons/favicon-console.ico" class="favicon"> | ||
{% endblock %} | ||
|
||
{% if custom_css %} | ||
<link rel="stylesheet" type="text/css" href="{{ base_url | escape }}custom/custom.css"> | ||
{% endif %} | ||
</head> | ||
<body class="jp-ThemedContainer"> | ||
|
||
{# Copy so we do not modify the page_config with updates. #} | ||
{% set page_config_full = page_config.copy() %} | ||
|
||
{# Set a dummy variable - we just want the side effect of the update. #} | ||
{% set _ = page_config_full.update(baseUrl=base_url, wsUrl=ws_url) %} | ||
|
||
{# Sentinel value to say that we are on the tree page #} | ||
{% set _ = page_config_full.update(notebookPage='consoles') %} | ||
|
||
<script id="jupyter-config-data" type="application/json"> | ||
{{ page_config_full | tojson }} | ||
</script> | ||
<script src="{{page_config['fullStaticUrl'] | e}}/bundle.js" main="index"></script> | ||
|
||
<script type="text/javascript"> | ||
/* Remove token from URL. */ | ||
(function () { | ||
var parsedUrl = new URL(window.location.href); | ||
if (parsedUrl.searchParams.get('token')) { | ||
parsedUrl.searchParams.delete('token'); | ||
window.history.replaceState({ }, '', parsedUrl.href); | ||
} | ||
})(); | ||
</script> | ||
|
||
</body> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width,initial-scale=1" /> | ||
<title>{{page_config['appName'] | e}} - Console</title> | ||
{% block favicon %} | ||
<link | ||
rel="icon" | ||
type="image/x-icon" | ||
href="{{ page_config['fullStaticUrl'] | e }}/favicons/favicon-console.ico" | ||
class="favicon" | ||
/> | ||
{% endblock %} {% if custom_css %} | ||
<link rel="stylesheet" href="{{ base_url | escape }}custom/custom.css" /> | ||
{% endif %} | ||
<script | ||
defer="defer" | ||
src="{{page_config.fullStaticUrl}}/main.a4b72be68233e26a3717.js?v=a4b72be68233e26a3717" | ||
></script> | ||
</head> | ||
<body class="jp-ThemedContainer"> | ||
{# Copy so we do not modify the page_config with updates. #} {% set | ||
page_config_full = page_config.copy() %} {# Set a dummy variable - we just | ||
want the side effect of the update. #} {% set _ = | ||
page_config_full.update(baseUrl=base_url, wsUrl=ws_url) %} {# Sentinel value | ||
to say that we are on the tree page #} {% set _ = | ||
page_config_full.update(notebookPage='consoles') %} | ||
<script id="jupyter-config-data" type="application/json"> | ||
{{ page_config_full | tojson }} | ||
</script> | ||
<script> | ||
/* Remove token from URL. */ | ||
(function () { | ||
var parsedUrl = new URL(window.location.href); | ||
if (parsedUrl.searchParams.get('token')) { | ||
parsedUrl.searchParams.delete('token'); | ||
window.history.replaceState({}, '', parsedUrl.href); | ||
} | ||
})(); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<title>{{page_config['appName'] | e}} - Console</title> | ||
{% block favicon %} | ||
<link | ||
rel="icon" | ||
type="image/x-icon" | ||
href="{{ page_config['fullStaticUrl'] | e }}/favicons/favicon-console.ico" | ||
class="favicon" | ||
/> | ||
{% endblock %} {% if custom_css %} | ||
<link | ||
rel="stylesheet" | ||
type="text/css" | ||
href="{{ base_url | escape }}custom/custom.css" | ||
/> | ||
{% endif %} | ||
</head> | ||
<body class="jp-ThemedContainer"> | ||
{# Copy so we do not modify the page_config with updates. #} {% set | ||
page_config_full = page_config.copy() %} {# Set a dummy variable - we just | ||
want the side effect of the update. #} {% set _ = | ||
page_config_full.update(baseUrl=base_url, wsUrl=ws_url) %} {# Sentinel value | ||
to say that we are on the tree page #} {% set _ = | ||
page_config_full.update(notebookPage='consoles') %} | ||
|
||
<script id="jupyter-config-data" type="application/json"> | ||
{{ page_config_full | tojson }} | ||
</script> | ||
|
||
<script type="text/javascript"> | ||
/* Remove token from URL. */ | ||
(function () { | ||
var parsedUrl = new URL(window.location.href); | ||
if (parsedUrl.searchParams.get('token')) { | ||
parsedUrl.searchParams.delete('token'); | ||
window.history.replaceState({}, '', parsedUrl.href); | ||
} | ||
})(); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,8 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>{{page_config['appName'] | e}} - Edit</title> | ||
{% block favicon %} | ||
<link rel="icon" type="image/x-icon" href="{{ base_url | escape }}static/favicons/favicon-file.ico" class="favicon"> | ||
{% endblock %} | ||
</head> | ||
<body class="jp-ThemedContainer" data-notebook="edit"> | ||
|
||
{# Copy so we do not modify the page_config with updates. #} | ||
{% set page_config_full = page_config.copy() %} | ||
|
||
{# Set a dummy variable - we just want the side effect of the update. #} | ||
{% set _ = page_config_full.update(baseUrl=base_url, wsUrl=ws_url) %} | ||
|
||
{# Sentinel value to say that we are on the tree page #} | ||
{% set _ = page_config_full.update(notebookPage='edit') %} | ||
|
||
<script id="jupyter-config-data" type="application/json"> | ||
{{ page_config_full | tojson }} | ||
</script> | ||
<script src="{{page_config['fullStaticUrl'] | e}}/bundle.js" main="index"></script> | ||
|
||
<script type="text/javascript"> | ||
/* Remove token from URL. */ | ||
(function () { | ||
var parsedUrl = new URL(window.location.href); | ||
if (parsedUrl.searchParams.get('token')) { | ||
parsedUrl.searchParams.delete('token'); | ||
window.history.replaceState({ }, '', parsedUrl.href); | ||
} | ||
})(); | ||
</script> | ||
|
||
</body> | ||
</html> | ||
<!doctype html><html><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>{{page_config['appName'] | e}} - Edit</title>{% block favicon %}<link rel="icon" type="image/x-icon" href="{{ base_url | escape }}static/favicons/favicon-file.ico" class="favicon"/>{% endblock %}<script defer="defer" src="{{page_config.fullStaticUrl}}/main.a4b72be68233e26a3717.js?v=a4b72be68233e26a3717"></script></head><body class="jp-ThemedContainer" data-notebook="edit">{# Copy so we do not modify the page_config with updates. #} {% set page_config_full = page_config.copy() %} {# Set a dummy variable - we just want the side effect of the update. #} {% set _ = page_config_full.update(baseUrl=base_url, wsUrl=ws_url) %} {# Sentinel value to say that we are on the tree page #} {% set _ = page_config_full.update(notebookPage='edit') %}<script id="jupyter-config-data" type="application/json">{{ page_config_full | tojson }}</script><script>/* Remove token from URL. */ | ||
(function () { | ||
var parsedUrl = new URL(window.location.href); | ||
if (parsedUrl.searchParams.get('token')) { | ||
parsedUrl.searchParams.delete('token'); | ||
window.history.replaceState({}, '', parsedUrl.href); | ||
} | ||
})();</script></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<title>{{page_config['appName'] | e}} - Edit</title> | ||
{% block favicon %} | ||
<link | ||
rel="icon" | ||
type="image/x-icon" | ||
href="{{ base_url | escape }}static/favicons/favicon-file.ico" | ||
class="favicon" | ||
/> | ||
{% endblock %} | ||
</head> | ||
<body class="jp-ThemedContainer" data-notebook="edit"> | ||
{# Copy so we do not modify the page_config with updates. #} {% set | ||
page_config_full = page_config.copy() %} {# Set a dummy variable - we just | ||
want the side effect of the update. #} {% set _ = | ||
page_config_full.update(baseUrl=base_url, wsUrl=ws_url) %} {# Sentinel value | ||
to say that we are on the tree page #} {% set _ = | ||
page_config_full.update(notebookPage='edit') %} | ||
|
||
<script id="jupyter-config-data" type="application/json"> | ||
{{ page_config_full | tojson }} | ||
</script> | ||
|
||
<script type="text/javascript"> | ||
/* Remove token from URL. */ | ||
(function () { | ||
var parsedUrl = new URL(window.location.href); | ||
if (parsedUrl.searchParams.get('token')) { | ||
parsedUrl.searchParams.delete('token'); | ||
window.history.replaceState({}, '', parsedUrl.href); | ||
} | ||
})(); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,10 @@ | ||
<!DOCTYPE html> | ||
<!-- | ||
Copyright (c) Jupyter Development Team. | ||
Distributed under the terms of the Modified BSD License. | ||
--> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
|
||
<title>{% block title %}{{page_title | e}}{% endblock %}</title> | ||
|
||
{% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/favicons/favicon.ico">{% endblock %} | ||
|
||
</head> | ||
|
||
<body class="jp-ThemedContainer"> | ||
|
||
{% block stylesheet %} | ||
<style type="text/css"> | ||
/* disable initial hide */ | ||
<!doctype html><html><head><meta charset="utf-8"><title>{% block title %}{{page_title | e}}{% endblock %}</title>{% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="/static/favicons/favicon.ico">{% endblock %}<script defer="defer" src="{{page_config.fullStaticUrl}}/main.a4b72be68233e26a3717.js?v=a4b72be68233e26a3717"></script></head><body class="jp-ThemedContainer">{% block stylesheet %}<style>/* disable initial hide */ | ||
div#header, div#site { | ||
display: block; | ||
} | ||
</style> | ||
{% endblock %} | ||
{% block site %} | ||
|
||
<div class="error"> | ||
{% block h1_error %} | ||
<h1>{{status_code | e}} : {{status_message | e}}</h1> | ||
{% endblock h1_error %} | ||
{% block error_detail %} | ||
{% if message %} | ||
<p>The error was:</p> | ||
<div class="traceback-wrapper"> | ||
<pre class="traceback">{{message | e}}</pre> | ||
</div> | ||
{% endif %} | ||
{% endblock %} | ||
</header> | ||
|
||
{% endblock %} | ||
|
||
{% block script %} | ||
<script type='text/javascript'> | ||
window.onload = function () { | ||
}</style>{% endblock %} {% block site %}<div class="error">{% block h1_error %}<h1>{{status_code | e}} : {{status_message | e}}</h1>{% endblock h1_error %} {% block error_detail %} {% if message %}<p>The error was:</p><div class="traceback-wrapper"><pre class="traceback">{{message | e}}</pre></div>{% endif %} {% endblock %}{% endblock %} {% block script %}<script>window.onload = function () { | ||
var tb = document.getElementsByClassName('traceback')[0]; | ||
tb.scrollTop = tb.scrollHeight; | ||
{% if message %} | ||
console.error("{{message | e}}") | ||
{% endif %} | ||
}; | ||
</script> | ||
{% endblock script %} | ||
|
||
</body> | ||
|
||
</html> | ||
};</script>{% endblock script %}</div></body></html> |
Oops, something went wrong.