page.html
119 lines
| 3.6 KiB
| text/html
|
HtmlLexer
|
r5324 | <!DOCTYPE HTML> | ||
<html> | ||||
<head> | ||||
<meta charset="utf-8"> | ||||
|
r8350 | <title>{% block title %}IPython Notebook{% endblock %}</title> | ||
|
r19187 | {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="{{static_url("base/images/favicon.ico") }}">{% endblock %} | ||
|
r19477 | <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
|
r10894 | <link rel="stylesheet" href="{{static_url("components/jquery-ui/themes/smoothness/jquery-ui.min.css") }}" type="text/css" /> | ||
|
r10900 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
|
r10884 | |||
|
r9387 | {% block stylesheet %} | ||
|
r14176 | <link rel="stylesheet" href="{{ static_url("style/style.min.css") }}" type="text/css"/> | ||
|
r9386 | {% endblock %} | ||
|
r10739 | <link rel="stylesheet" href="{{ static_url("custom/custom.css") }}" type="text/css" /> | ||
|
r18857 | <script src="{{static_url("components/es6-promise/promise.min.js")}}" type="text/javascript" charset="utf-8"></script> | ||
|
r10758 | <script src="{{static_url("components/requirejs/require.js") }}" type="text/javascript" charset="utf-8"></script> | ||
<script> | ||||
require.config({ | ||||
|
r19069 | {% if version_hash %} | ||
urlArgs: "v={{version_hash}}", | ||||
{% endif %} | ||||
|
r15352 | baseUrl: '{{static_url("", include_version=False)}}', | ||
|
r13321 | paths: { | ||
|
r15238 | nbextensions : '{{ base_url }}nbextensions', | ||
|
r19404 | kernelspecs : '{{ base_url }}kernelspecs', | ||
|
r17188 | underscore : 'components/underscore/underscore-min', | ||
backbone : 'components/backbone/backbone-min', | ||||
|
r17200 | jquery: 'components/jquery/jquery.min', | ||
|
r17312 | bootstrap: 'components/bootstrap/js/bootstrap.min', | ||
|
r17212 | bootstraptour: 'components/bootstrap-tour/build/js/bootstrap-tour.min', | ||
|
r17215 | jqueryui: 'components/jquery-ui/ui/minified/jquery-ui.min', | ||
|
r18908 | moment: 'components/moment/moment', | ||
|
r18280 | codemirror: 'components/codemirror', | ||
|
r18908 | termjs: 'components/term.js/src/term', | ||
|
r14483 | }, | ||
shim: { | ||||
underscore: { | ||||
exports: '_' | ||||
}, | ||||
backbone: { | ||||
deps: ["underscore", "jquery"], | ||||
exports: "Backbone" | ||||
|
r17212 | }, | ||
|
r17312 | bootstrap: { | ||
deps: ["jquery"], | ||||
exports: "bootstrap" | ||||
}, | ||||
|
r17212 | bootstraptour: { | ||
|
r17312 | deps: ["bootstrap"], | ||
|
r17212 | exports: "Tour" | ||
|
r17214 | }, | ||
|
r17215 | jqueryui: { | ||
deps: ["jquery"], | ||||
exports: "$" | ||||
|
r18864 | } | ||
|
r13321 | } | ||
|
r10758 | }); | ||
|
r19072 | |||
require.config({ | ||||
map: { | ||||
'*':{ | ||||
'contents': '{{ contents_js_source }}', | ||||
} | ||||
} | ||||
}); | ||||
|
r10758 | </script> | ||
|
r5324 | |||
|
r5325 | {% block meta %} | ||
|
r8350 | {% endblock %} | ||
|
r5324 | |||
</head> | ||||
|
r19841 | <body class="{% block bodyclasses %}{% endblock %}" {% block params %}{% endblock %}> | ||
|
r5324 | |||
|
r10981 | <noscript> | ||
|
r10988 | <div id='noscript'> | ||
|
r10981 | IPython Notebook requires JavaScript.<br> | ||
Please enable it to proceed. | ||||
</div> | ||||
</noscript> | ||||
|
r20050 | <div id="header"> | ||
|
r19179 | <div id="header-container" class="container"> | ||
|
r20213 | <div id="ipython_notebook" class="nav navbar-brand pull-left"><a href="{{default_url}}" title='dashboard'>{% block logo %}<img src='{{static_url("base/images/logo.png") }}' alt='Jupyter Notebook'/>{% endblock %}</a></div> | ||
|
r5723 | |||
|
r16950 | {% block login_widget %} | ||
|
r5723 | |||
|
r16950 | <span id="login_widget"> | ||
{% if logged_in %} | ||||
|
r19298 | <button id="logout" class="btn btn-sm navbar-btn">Logout</button> | ||
|
r16950 | {% elif login_available and not logged_in %} | ||
|
r19298 | <button id="login" class="btn btn-sm navbar-btn">Login</button> | ||
|
r16950 | {% endif %} | ||
</span> | ||||
|
r5723 | |||
|
r16950 | {% endblock %} | ||
|
r5723 | |||
|
r19179 | {% block headercontainer %} | ||
|
r16950 | {% endblock %} | ||
|
r10906 | </div> | ||
|
r19179 | <div class="header-bar"></div> | ||
{% block header %} | ||||
{% endblock %} | ||||
|
r5324 | </div> | ||
|
r19660 | |||
|
r10906 | <div id="site"> | ||
|
r6192 | {% block site %} | ||
|
r8350 | {% endblock %} | ||
|
r5324 | </div> | ||
{% block script %} | ||||
|
r8350 | {% endblock %} | ||
|
r5324 | |||
</body> | ||||
</html> | ||||