mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
990303f3eb
this model does not work with the comm/widget communication model. We need to be able to load the dependencies before we send the show() message to the widget manager. Otherwise a race condition will exist where the widget manager may recieve the show message before the dependencies have been loaded (happened almost every time).
88 lines
3.0 KiB
HTML
88 lines
3.0 KiB
HTML
|
|
|
|
<!DOCTYPE HTML>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
|
|
<title>{% block title %}IPython Notebook{% endblock %}</title>
|
|
<link rel="shortcut icon" type="image/x-icon" href="{{static_url("base/images/favicon.ico") }}">
|
|
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
|
<link rel="stylesheet" href="{{static_url("components/jquery-ui/themes/smoothness/jquery-ui.min.css") }}" type="text/css" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
{% block stylesheet %}
|
|
<link rel="stylesheet" href="{{ static_url("style/style.min.css") }}" type="text/css"/>
|
|
{% endblock %}
|
|
<link rel="stylesheet" href="{{ static_url("custom/custom.css") }}" type="text/css" />
|
|
<script src="{{static_url("components/requirejs/require.js") }}" type="text/javascript" charset="utf-8"></script>
|
|
<script>
|
|
require.config({
|
|
baseUrl: '{{static_url("")}}',
|
|
paths: {
|
|
nbextensions : '{{ base_project_url }}nbextensions'
|
|
}
|
|
});
|
|
</script>
|
|
|
|
{% block meta %}
|
|
{% endblock %}
|
|
|
|
</head>
|
|
|
|
<body {% block params %}{% endblock %}>
|
|
|
|
<noscript>
|
|
<div id='noscript'>
|
|
IPython Notebook requires JavaScript.<br>
|
|
Please enable it to proceed.
|
|
</div>
|
|
</noscript>
|
|
|
|
<div id="header" class="navbar navbar-static-top">
|
|
<div class="navbar-inner navbar-nobg">
|
|
<div class="container">
|
|
<div id="ipython_notebook" class="nav brand pull-left"><a href="{{base_project_url}}tree/{{notebook_path}}" alt='dashboard'><img src='{{static_url("base/images/ipynblogo.png") }}' alt='IPython Notebook'/></a></div>
|
|
|
|
{% block login_widget %}
|
|
|
|
<span id="login_widget">
|
|
{% if logged_in %}
|
|
<button id="logout">Logout</button>
|
|
{% elif login_available and not logged_in %}
|
|
<button id="login">Login</button>
|
|
{% endif %}
|
|
</span>
|
|
|
|
{% endblock %}
|
|
|
|
{% block header %}
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="site">
|
|
{% block site %}
|
|
{% endblock %}
|
|
</div>
|
|
|
|
<script src="{{static_url("components/jquery/jquery.min.js") }}" type="text/javascript" charset="utf-8"></script>
|
|
<script src="{{static_url("components/jquery-ui/ui/minified/jquery-ui.min.js") }}" type="text/javascript" charset="utf-8"></script>
|
|
<script src="{{static_url("components/bootstrap/bootstrap/js/bootstrap.min.js") }}" type="text/javascript" charset="utf-8"></script>
|
|
<script src="{{static_url("components/underscore/underscore-min.js") }}" type="text/javascript" charset="utf-8"></script>
|
|
<script src="{{static_url("components/backbone/backbone-min.js") }}" type="text/javascript" charset="utf-8"></script>
|
|
<script src="{{static_url("base/js/namespace.js") }}" type="text/javascript" charset="utf-8"></script>
|
|
<script src="{{static_url("base/js/page.js") }}" type="text/javascript" charset="utf-8"></script>
|
|
<script src="{{static_url("auth/js/loginwidget.js") }}" type="text/javascript" charset="utf-8"></script>
|
|
|
|
{% block script %}
|
|
{% endblock %}
|
|
|
|
<script src="{{static_url("custom/custom.js") }}" type="text/javascript" charset="utf-8"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|