notebook/IPython/html/templates/page.html

97 lines
3.2 KiB
HTML
Raw Normal View History

2011-11-19 05:17:36 +08:00
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<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 %}
<link rel="stylesheet" href="{{ static_url("style/style.min.css") }}" type="text/css"/>
2013-01-31 02:01:33 +08:00
{% 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',
underscore : '{{static_url("components/underscore/underscore-min")}}',
backbone : '{{static_url("components/backbone/backbone-min")}}',
},
shim: {
underscore: {
exports: '_'
},
backbone: {
deps: ["underscore", "jquery"],
exports: "Backbone"
}
}
});
</script>
2011-11-19 05:17:36 +08:00
2011-11-19 08:59:48 +08:00
{% block meta %}
{% endblock %}
2011-11-19 05:17:36 +08:00
</head>
<body {% block params %}{% endblock %}>
2011-11-19 05:17:36 +08:00
<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 %}
2011-11-19 05:17:36 +08:00
{% block header %}
{% endblock %}
2013-06-03 03:33:01 +08:00
</div>
</div>
2011-11-19 05:17:36 +08:00
</div>
<div id="site">
{% block site %}
{% endblock %}
2011-11-19 05:17:36 +08:00
</div>
2013-05-31 07:59:49 +08:00
<script src="{{static_url("components/jquery/jquery.min.js") }}" type="text/javascript" charset="utf-8"></script>
2013-06-01 03:39:20 +08:00
<script src="{{static_url("components/jquery-ui/ui/minified/jquery-ui.min.js") }}" type="text/javascript" charset="utf-8"></script>
2013-05-31 07:59:49 +08:00
<script src="{{static_url("components/bootstrap/bootstrap/js/bootstrap.min.js") }}" type="text/javascript" charset="utf-8"></script>
2013-05-16 07:21:39 +08:00
<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>
2012-01-07 06:13:30 +08:00
2011-11-19 05:17:36 +08:00
{% block script %}
{% endblock %}
2011-11-19 05:17:36 +08:00
<script src="{{static_url("custom/custom.js") }}" type="text/javascript" charset="utf-8"></script>
2011-11-19 05:17:36 +08:00
</body>
</html>