page.html
76 lines
| 2.4 KiB
| text/html
|
HtmlLexer
Cameron Bates
|
r8350 | |||
Stefan van der Walt
|
r5324 | <!DOCTYPE HTML> | ||
Cameron Bates
|
r8350 | {% macro static_url(name) -%} | ||
Bussonnier Matthias
|
r8938 | {{ base_project_url }}static/{{ name }} | ||
Cameron Bates
|
r8350 | {%- endmacro %} | ||
Stefan van der Walt
|
r5324 | <html> | ||
<head> | ||||
<meta charset="utf-8"> | ||||
Cameron Bates
|
r8350 | <title>{% block title %}IPython Notebook{% endblock %}</title> | ||
debjan
|
r9092 | <meta http-equiv="X-UA-Compatible" content="chrome=1"> | ||
Andrew Straw
|
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" /> | ||||
Brian Granger
|
r6192 | <link rel="stylesheet" href="{{static_url("css/page.css") }}" type="text/css"/> | ||
Matthias BUSSONNIER
|
r9387 | {% block stylesheet %} | ||
Matthias BUSSONNIER
|
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%} | ||||
Matthias BUSSONNIER
|
r9386 | {% endblock %} | ||
MinRK
|
r7925 | <link rel="stylesheet" href="{{ static_url("css/custom.css") }}" type="text/css" /> | ||
Stefan van der Walt
|
r5324 | |||
Stefan van der Walt
|
r5325 | {% block meta %} | ||
Cameron Bates
|
r8350 | {% endblock %} | ||
Stefan van der Walt
|
r5324 | |||
</head> | ||||
Cameron Bates
|
r8350 | <body {% block params %}{% endblock %}> | ||
Stefan van der Walt
|
r5324 | |||
<div id="header"> | ||||
Bussonnier Matthias
|
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> | ||
Stefan van der Walt
|
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> | ||||
Cameron Bates
|
r8350 | {% endif %} | ||
Stefan van der Walt
|
r5723 | </span> | ||
Cameron Bates
|
r8350 | {% endblock %} | ||
Stefan van der Walt
|
r5723 | |||
Stefan van der Walt
|
r5324 | {% block header %} | ||
Cameron Bates
|
r8350 | {% endblock %} | ||
Stefan van der Walt
|
r5324 | </div> | ||
Brian Granger
|
r6192 | <div id="site"> | ||
{% block site %} | ||||
Cameron Bates
|
r8350 | {% endblock %} | ||
Stefan van der Walt
|
r5324 | </div> | ||
Andrew Straw
|
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> | ||||
Brian Granger
|
r6192 | <script src="{{static_url("js/page.js") }}" type="text/javascript" charset="utf-8"></script> | ||
Andrew Straw
|
r6002 | <script src="{{static_url("js/loginwidget.js") }}" type="text/javascript" charset="utf-8"></script> | ||
Brian Granger
|
r5856 | |||
Stefan van der Walt
|
r5324 | {% block script %} | ||
Matthias BUSSONNIER
|
r9384 | {% if use_less %} | ||
<script src="{{ static_url("components/less.js/dist/less-1.3.3.min.js") }}" charset="utf-8"></script> | ||||
{% endif %} | ||||
Cameron Bates
|
r8350 | {% endblock %} | ||
Stefan van der Walt
|
r5324 | |||
MinRK
|
r7925 | <script src="{{static_url("js/custom.js") }}" type="text/javascript" charset="utf-8"></script> | ||
Stefan van der Walt
|
r5324 | </body> | ||
</html> | ||||