2011-11-19 05:17:36 +08:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
2012-08-28 23:58:56 +08:00
|
|
|
<title>{% block title %}IPython Notebook{% endblock %}</title>
|
2013-06-03 03:33:01 +08:00
|
|
|
<link rel="shortcut icon" type="image/x-icon" href="{{static_url("base/images/favicon.ico") }}">
|
2013-01-15 10:21:22 +08:00
|
|
|
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
2013-06-01 06:14:48 +08:00
|
|
|
<link rel="stylesheet" href="{{static_url("components/jquery-ui/themes/smoothness/jquery-ui.min.css") }}" type="text/css" />
|
2013-06-03 03:33:01 +08:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2013-05-31 07:59:49 +08:00
|
|
|
|
2013-01-31 02:06:21 +08:00
|
|
|
{% block stylesheet %}
|
2014-01-14 08:17:50 +08:00
|
|
|
<link rel="stylesheet" href="{{ static_url("style/style.min.css") }}" type="text/css"/>
|
2013-01-31 02:01:33 +08:00
|
|
|
{% endblock %}
|
2013-05-24 12:36:47 +08:00
|
|
|
<link rel="stylesheet" href="{{ static_url("custom/custom.css") }}" type="text/css" />
|
2013-05-27 03:38:25 +08:00
|
|
|
<script src="{{static_url("components/requirejs/require.js") }}" type="text/javascript" charset="utf-8"></script>
|
|
|
|
<script>
|
|
|
|
require.config({
|
2014-02-19 06:08:27 +08:00
|
|
|
baseUrl: '{{static_url("", include_version=False)}}',
|
2013-10-25 06:30:23 +08:00
|
|
|
paths: {
|
2014-02-06 08:16:32 +08:00
|
|
|
nbextensions : '{{ base_url }}nbextensions',
|
2014-06-11 03:42:51 +08:00
|
|
|
underscore : 'components/underscore/underscore-min',
|
|
|
|
backbone : 'components/backbone/backbone-min',
|
2014-06-18 04:55:44 +08:00
|
|
|
jquery: 'components/jquery/jquery.min',
|
2014-07-23 06:53:16 +08:00
|
|
|
bootstrap: 'components/bootstrap/js/bootstrap.min',
|
2014-06-27 01:45:33 +08:00
|
|
|
bootstraptour: 'components/bootstrap-tour/build/js/bootstrap-tour.min',
|
2014-07-03 13:57:27 +08:00
|
|
|
jqueryui: 'components/jquery-ui/ui/minified/jquery-ui.min',
|
2014-07-24 05:13:42 +08:00
|
|
|
highlight: 'components/highlight.js/build/highlight.pack',
|
2014-07-25 04:30:50 +08:00
|
|
|
moment: "components/moment/moment",
|
2014-07-28 02:09:33 +08:00
|
|
|
codemirror: 'components/codemirror',
|
2014-09-30 08:59:54 +08:00
|
|
|
termjs: "components/term.js/src/term"
|
2013-12-31 00:10:51 +08:00
|
|
|
},
|
|
|
|
shim: {
|
|
|
|
underscore: {
|
|
|
|
exports: '_'
|
|
|
|
},
|
|
|
|
backbone: {
|
|
|
|
deps: ["underscore", "jquery"],
|
|
|
|
exports: "Backbone"
|
2014-06-27 01:45:33 +08:00
|
|
|
},
|
2014-07-23 06:53:16 +08:00
|
|
|
bootstrap: {
|
|
|
|
deps: ["jquery"],
|
|
|
|
exports: "bootstrap"
|
|
|
|
},
|
2014-06-27 01:45:33 +08:00
|
|
|
bootstraptour: {
|
2014-07-23 06:53:16 +08:00
|
|
|
deps: ["bootstrap"],
|
2014-06-27 01:45:33 +08:00
|
|
|
exports: "Tour"
|
2014-07-02 03:04:27 +08:00
|
|
|
},
|
2014-07-03 13:57:27 +08:00
|
|
|
jqueryui: {
|
|
|
|
deps: ["jquery"],
|
|
|
|
exports: "$"
|
2014-07-24 05:13:42 +08:00
|
|
|
},
|
|
|
|
highlight: {
|
|
|
|
exports: "hljs"
|
|
|
|
},
|
2013-10-25 06:30:23 +08:00
|
|
|
}
|
2013-05-27 03:38:25 +08:00
|
|
|
});
|
|
|
|
</script>
|
2011-11-19 05:17:36 +08:00
|
|
|
|
2011-11-19 08:59:48 +08:00
|
|
|
{% block meta %}
|
2012-08-28 23:58:56 +08:00
|
|
|
{% endblock %}
|
2011-11-19 05:17:36 +08:00
|
|
|
|
|
|
|
</head>
|
|
|
|
|
2012-08-28 23:58:56 +08:00
|
|
|
<body {% block params %}{% endblock %}>
|
2011-11-19 05:17:36 +08:00
|
|
|
|
2013-06-22 03:43:46 +08:00
|
|
|
<noscript>
|
2013-06-25 05:37:08 +08:00
|
|
|
<div id='noscript'>
|
2013-06-22 03:43:46 +08:00
|
|
|
IPython Notebook requires JavaScript.<br>
|
|
|
|
Please enable it to proceed.
|
|
|
|
</div>
|
|
|
|
</noscript>
|
|
|
|
|
2013-06-03 11:10:24 +08:00
|
|
|
<div id="header" class="navbar navbar-static-top">
|
2014-05-17 04:58:10 +08:00
|
|
|
<div class="container">
|
|
|
|
<div id="ipython_notebook" class="nav navbar-brand pull-left"><a href="{{base_url}}tree/{{notebook_path}}" alt='dashboard'><img src='{{static_url("base/images/ipynblogo.png") }}' alt='IPython Notebook'/></a></div>
|
2011-12-14 09:44:29 +08:00
|
|
|
|
2014-05-17 04:58:10 +08:00
|
|
|
{% block login_widget %}
|
2011-12-14 09:44:29 +08:00
|
|
|
|
2014-05-17 04:58:10 +08:00
|
|
|
<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>
|
2011-12-14 09:44:29 +08:00
|
|
|
|
2014-05-17 04:58:10 +08:00
|
|
|
{% endblock %}
|
2011-12-14 09:44:29 +08:00
|
|
|
|
2014-05-17 04:58:10 +08:00
|
|
|
{% block header %}
|
|
|
|
{% endblock %}
|
2013-06-03 11:10:24 +08:00
|
|
|
</div>
|
2011-11-19 05:17:36 +08:00
|
|
|
</div>
|
|
|
|
|
2013-06-03 11:10:24 +08:00
|
|
|
<div id="site">
|
2012-02-08 08:05:54 +08:00
|
|
|
{% block site %}
|
2012-08-28 23:58:56 +08:00
|
|
|
{% endblock %}
|
2011-11-19 05:17:36 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{% block script %}
|
2012-08-28 23:58:56 +08:00
|
|
|
{% endblock %}
|
2011-11-19 05:17:36 +08:00
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|