2012-08-28 23:58:56 +08:00
|
|
|
|
|
|
|
|
2011-11-19 05:17:36 +08:00
|
|
|
<!DOCTYPE HTML>
|
2012-08-28 23:58:56 +08:00
|
|
|
{% macro static_url(name) -%}
|
2012-12-27 05:51:22 +08:00
|
|
|
{{ base_project_url }}static/{{ name }}
|
2012-08-28 23:58:56 +08:00
|
|
|
{%- endmacro %}
|
2011-11-19 05:17:36 +08:00
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
2012-08-28 23:58:56 +08:00
|
|
|
<title>{% block title %}IPython Notebook{% endblock %}</title>
|
2013-01-15 10:21:22 +08:00
|
|
|
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
2012-01-27 00:15:41 +08:00
|
|
|
<link rel="stylesheet" href="{{static_url("jquery/css/themes/base/jquery-ui.min.css") }}" type="text/css" />
|
|
|
|
<link rel="stylesheet" href="{{static_url("css/boilerplate.css") }}" type="text/css" />
|
2012-02-08 08:05:54 +08:00
|
|
|
<link rel="stylesheet" href="{{static_url("css/page.css") }}" type="text/css"/>
|
2011-11-19 05:17:36 +08:00
|
|
|
{% block stylesheet %}
|
2012-08-28 23:58:56 +08:00
|
|
|
{% endblock %}
|
2012-07-21 01:04:39 +08:00
|
|
|
<link rel="stylesheet" href="{{ static_url("css/custom.css") }}" type="text/css" />
|
|
|
|
|
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
|
|
|
|
|
|
|
<div id="header">
|
2012-12-27 05:51:22 +08:00
|
|
|
<span id="ipython_notebook"><div><a href="{{base_project_url}}" alt='dashboard'><img src='{{static_url("ipynblogo.png") }}' alt='IPython Notebook'/></a></div></span>
|
2011-12-14 09:44:29 +08:00
|
|
|
|
|
|
|
{% 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>
|
2012-08-28 23:58:56 +08:00
|
|
|
{% endif %}
|
2011-12-14 09:44:29 +08:00
|
|
|
</span>
|
|
|
|
|
2012-08-28 23:58:56 +08:00
|
|
|
{% endblock %}
|
2011-12-14 09:44:29 +08:00
|
|
|
|
2011-11-19 05:17:36 +08:00
|
|
|
{% block header %}
|
2012-08-28 23:58:56 +08:00
|
|
|
{% endblock %}
|
2011-11-19 05:17:36 +08:00
|
|
|
</div>
|
|
|
|
|
2012-02-08 08:05:54 +08:00
|
|
|
<div id="site">
|
|
|
|
{% block site %}
|
2012-08-28 23:58:56 +08:00
|
|
|
{% endblock %}
|
2011-11-19 05:17:36 +08:00
|
|
|
</div>
|
|
|
|
|
2012-01-27 00:15:41 +08:00
|
|
|
<script src="{{static_url("jquery/js/jquery-1.7.1.min.js") }}" type="text/javascript" charset="utf-8"></script>
|
|
|
|
<script src="{{static_url("jquery/js/jquery-ui.min.js") }}" type="text/javascript" charset="utf-8"></script>
|
|
|
|
<script src="{{static_url("js/namespace.js") }}" type="text/javascript" charset="utf-8"></script>
|
2012-02-08 08:05:54 +08:00
|
|
|
<script src="{{static_url("js/page.js") }}" type="text/javascript" charset="utf-8"></script>
|
2012-01-27 00:15:41 +08:00
|
|
|
<script src="{{static_url("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 %}
|
2012-08-28 23:58:56 +08:00
|
|
|
{% endblock %}
|
2011-11-19 05:17:36 +08:00
|
|
|
|
2012-07-21 01:04:39 +08:00
|
|
|
<script src="{{static_url("js/custom.js") }}" type="text/javascript" charset="utf-8"></script>
|
|
|
|
|
2011-11-19 05:17:36 +08:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|