##// END OF EJS Templates
allow selecting codemirror keymap in menu
allow selecting codemirror keymap in menu

File last commit:

r19298:d8390523
r19306:46d6da0d
Show More
page.html
119 lines | 3.6 KiB | text/html | HtmlLexer
Stefan van der Walt
Use template inheritance.
r5324 <!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
Cameron Bates
Refactor notebook to use Jinja2 instead of tornado templates
r8350 <title>{% block title %}IPython Notebook{% endblock %}</title>
Jason Grout
Make the favicon a template block
r19187 {% block favicon %}<link rel="shortcut icon" type="image/x-icon" href="{{static_url("base/images/favicon.ico") }}">{% endblock %}
debjan
Chrome frame awareness
r9092 <meta http-equiv="X-UA-Compatible" content="chrome=1">
MinRK
use components jquery-ui
r10894 <link rel="stylesheet" href="{{static_url("components/jquery-ui/themes/smoothness/jquery-ui.min.css") }}" type="text/css" />
MinRK
use responsive bootstrap
r10900 <meta name="viewport" content="width=device-width, initial-scale=1.0">
MinRK
start using bootstrap
r10884
Matthias BUSSONNIER
use super in templates
r9387 {% block stylesheet %}
MinRK
we don't bundle lessc anymore, remove its vestiges
r14176 <link rel="stylesheet" href="{{ static_url("style/style.min.css") }}" type="text/css"/>
Matthias BUSSONNIER
re-fix cluster list
r9386 {% endblock %}
Brian E. Granger
Removing one level uf subdirs in static/custom.
r10739 <link rel="stylesheet" href="{{ static_url("custom/custom.css") }}" type="text/css" />
Thomas Kluyver
Load promises polyfill from a script tag...
r18857 <script src="{{static_url("components/es6-promise/promise.min.js")}}" type="text/javascript" charset="utf-8"></script>
Matthias BUSSONNIER
Inject requirejs in notebook and start using it.
r10758 <script src="{{static_url("components/requirejs/require.js") }}" type="text/javascript" charset="utf-8"></script>
<script>
require.config({
Min RK
add '?v=<date>' to require URLs...
r19069 {% if version_hash %}
urlArgs: "v={{version_hash}}",
{% endif %}
MinRK
Some template static_url tweaks...
r15352 baseUrl: '{{static_url("", include_version=False)}}',
MinRK
allow `require("nbextensions/extname")` to load from IPYTHONDIR/nbextensions
r13321 paths: {
MinRK
s/base_project_url/base_url/...
r15238 nbextensions : '{{ base_url }}nbextensions',
Jonathan Frederic
Make page.html require.js friendly.
r17188 underscore : 'components/underscore/underscore-min',
backbone : 'components/backbone/backbone-min',
Jonathan Frederic
MWE,...
r17200 jquery: 'components/jquery/jquery.min',
MinRK
add bootstrap shim for require...
r17312 bootstrap: 'components/bootstrap/js/bootstrap.min',
Jonathan Frederic
Some JS test fixes
r17212 bootstraptour: 'components/bootstrap-tour/build/js/bootstrap-tour.min',
Jonathan Frederic
More requirejs fixes
r17215 jqueryui: 'components/jquery-ui/ui/minified/jquery-ui.min',
Jonathan Frederic
Use es6-promise polyfill
r18908 moment: 'components/moment/moment',
Matthias BUSSONNIER
Update to codemirror 4...
r18280 codemirror: 'components/codemirror',
Jonathan Frederic
Use es6-promise polyfill
r18908 termjs: 'components/term.js/src/term',
Jonathan Frederic
Added require.js shims for underscore and backbone...
r14483 },
shim: {
underscore: {
exports: '_'
},
backbone: {
deps: ["underscore", "jquery"],
exports: "Backbone"
Jonathan Frederic
Some JS test fixes
r17212 },
MinRK
add bootstrap shim for require...
r17312 bootstrap: {
deps: ["jquery"],
exports: "bootstrap"
},
Jonathan Frederic
Some JS test fixes
r17212 bootstraptour: {
MinRK
add bootstrap shim for require...
r17312 deps: ["bootstrap"],
Jonathan Frederic
Some JS test fixes
r17212 exports: "Tour"
Jonathan Frederic
More review changes
r17214 },
Jonathan Frederic
More requirejs fixes
r17215 jqueryui: {
deps: ["jquery"],
exports: "$"
MinRK
use CodeMirror.runMode to highlight in markdown...
r18864 }
MinRK
allow `require("nbextensions/extname")` to load from IPYTHONDIR/nbextensions
r13321 }
Matthias BUSSONNIER
Inject requirejs in notebook and start using it.
r10758 });
Bussonnier Matthias
Use map instead of hacking path to our need....
r19072
require.config({
map: {
'*':{
'contents': '{{ contents_js_source }}',
}
}
});
Matthias BUSSONNIER
Inject requirejs in notebook and start using it.
r10758 </script>
Stefan van der Walt
Use template inheritance.
r5324
Stefan van der Walt
Add logout button.
r5325 {% block meta %}
Cameron Bates
Refactor notebook to use Jinja2 instead of tornado templates
r8350 {% endblock %}
Stefan van der Walt
Use template inheritance.
r5324
</head>
Cameron Bates
Refactor notebook to use Jinja2 instead of tornado templates
r8350 <body {% block params %}{% endblock %}>
Stefan van der Walt
Use template inheritance.
r5324
Paul Ivanov
Notice for users who disable javascript
r10981 <noscript>
Paul Ivanov
use less.css for the style of the noscript message
r10988 <div id='noscript'>
Paul Ivanov
Notice for users who disable javascript
r10981 IPython Notebook requires JavaScript.<br>
Please enable it to proceed.
</div>
</noscript>
Min RK
remove some custom css...
r19298 <div id="header" class="navbar navbar-fixed-top">
Jonathan Frederic
Kill the layout manager
r19179 <div id="header-container" class="container">
Min RK
use Jupyter logo in the notebook header...
r19024 <div id="ipython_notebook" class="nav navbar-brand pull-left"><a href="{{base_url}}tree" alt='dashboard'>{% block logo %}<img src='{{static_url("base/images/logo.png") }}' alt='Jupyter Notebook'/>{% endblock %}</a></div>
Stefan van der Walt
Hide top login/logout buttons on login/logout pages.
r5723
Jonathan Frederic
Post discussion with @ellisonbg
r16950 {% block login_widget %}
Stefan van der Walt
Hide top login/logout buttons on login/logout pages.
r5723
Jonathan Frederic
Post discussion with @ellisonbg
r16950 <span id="login_widget">
{% if logged_in %}
Min RK
remove some custom css...
r19298 <button id="logout" class="btn btn-sm navbar-btn">Logout</button>
Jonathan Frederic
Post discussion with @ellisonbg
r16950 {% elif login_available and not logged_in %}
Min RK
remove some custom css...
r19298 <button id="login" class="btn btn-sm navbar-btn">Login</button>
Jonathan Frederic
Post discussion with @ellisonbg
r16950 {% endif %}
</span>
Stefan van der Walt
Hide top login/logout buttons on login/logout pages.
r5723
Jonathan Frederic
Post discussion with @ellisonbg
r16950 {% endblock %}
Stefan van der Walt
Hide top login/logout buttons on login/logout pages.
r5723
Jonathan Frederic
Kill the layout manager
r19179 {% block headercontainer %}
Jonathan Frederic
Post discussion with @ellisonbg
r16950 {% endblock %}
MinRK
tweak header styling...
r10906 </div>
Jonathan Frederic
Kill the layout manager
r19179 <div class="header-bar"></div>
{% block header %}
{% endblock %}
Stefan van der Walt
Use template inheritance.
r5324 </div>
Jonathan Frederic
Kill the layout manager
r19179 <div id="header-spacer"></div>
Stefan van der Walt
Use template inheritance.
r5324
MinRK
tweak header styling...
r10906 <div id="site">
Brian Granger
Refactoring templates and top level js/css organization.
r6192 {% block site %}
Cameron Bates
Refactor notebook to use Jinja2 instead of tornado templates
r8350 {% endblock %}
Stefan van der Walt
Use template inheritance.
r5324 </div>
{% block script %}
Cameron Bates
Refactor notebook to use Jinja2 instead of tornado templates
r8350 {% endblock %}
Stefan van der Walt
Use template inheritance.
r5324
</body>
</html>