page.html
76 lines
| 2.4 KiB
| text/html
|
HtmlLexer
|
r8350 | |||
|
r5324 | <!DOCTYPE HTML> | ||
|
r8350 | {% macro static_url(name) -%} | ||
|
r8938 | {{ base_project_url }}static/{{ name }} | ||
|
r8350 | {%- endmacro %} | ||
|
r5324 | <html> | ||
<head> | ||||
<meta charset="utf-8"> | ||||
|
r8350 | <title>{% block title %}IPython Notebook{% endblock %}</title> | ||
|
r9092 | <meta http-equiv="X-UA-Compatible" content="chrome=1"> | ||
|
r6002 | <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" /> | ||||
|
r6192 | <link rel="stylesheet" href="{{static_url("css/page.css") }}" type="text/css"/> | ||
|
r9387 | {% block stylesheet %} | ||
|
r9384 | {% block lesscss %} | ||
{% if use_less %} | ||||
<link rel="stylesheet/less" href="{{ static_url("less/style.less") }}" type="text/css" /> | ||||
{% else %} | ||||
<link rel="stylesheet" href="{{ static_url("css/style.min.css") }}" type="text/css"/> | ||||
{% endif %} | ||||
{% endblock lesscss%} | ||||
|
r9386 | {% endblock %} | ||
|
r7925 | <link rel="stylesheet" href="{{ static_url("css/custom.css") }}" type="text/css" /> | ||
|
r5324 | |||
|
r5325 | {% block meta %} | ||
|
r8350 | {% endblock %} | ||
|
r5324 | |||
</head> | ||||
|
r8350 | <body {% block params %}{% endblock %}> | ||
|
r5324 | |||
<div id="header"> | ||||
|
r8938 | <span id="ipython_notebook"><div><a href="{{base_project_url}}" alt='dashboard'><img src='{{static_url("ipynblogo.png") }}' alt='IPython Notebook'/></a></div></span> | ||
|
r5723 | |||
{% 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> | ||||
|
r8350 | {% endif %} | ||
|
r5723 | </span> | ||
|
r8350 | {% endblock %} | ||
|
r5723 | |||
|
r5324 | {% block header %} | ||
|
r8350 | {% endblock %} | ||
|
r5324 | </div> | ||
|
r6192 | <div id="site"> | ||
{% block site %} | ||||
|
r8350 | {% endblock %} | ||
|
r5324 | </div> | ||
|
r6002 | <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> | ||||
|
r6192 | <script src="{{static_url("js/page.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r6002 | <script src="{{static_url("js/loginwidget.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r5856 | |||
|
r5324 | {% block script %} | ||
|
r9384 | {% if use_less %} | ||
|
r10473 | <script src="{{ static_url("external/components/less.js/dist/less-1.3.3.min.js") }}" charset="utf-8"></script> | ||
|
r9384 | {% endif %} | ||
|
r8350 | {% endblock %} | ||
|
r5324 | |||
|
r7925 | <script src="{{static_url("js/custom.js") }}" type="text/javascript" charset="utf-8"></script> | ||
|
r5324 | </body> | ||
</html> | ||||