##// END OF EJS Templates
General cleanup of base.js, including indentation fixes and adding view callbacks to the save options dictionary.
General cleanup of base.js, including indentation fixes and adding view callbacks to the save options dictionary.

File last commit:

r14483:6e353ea6
r14501:46d68b6b
Show More
page.html
96 lines | 3.2 KiB | text/html | HtmlLexer
Cameron Bates
Refactor notebook to use Jinja2 instead of tornado templates
r8350
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>
MinRK
use responsive bootstrap
r10900 <link rel="shortcut icon" type="image/x-icon" href="{{static_url("base/images/favicon.ico") }}">
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" />
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({
MinRK
restore use of tornado static_url...
r13896 baseUrl: '{{static_url("")}}',
MinRK
allow `require("nbextensions/extname")` to load from IPYTHONDIR/nbextensions
r13321 paths: {
Jonathan Frederic
Added require.js shims for underscore and backbone...
r14483 nbextensions : '{{ base_project_url }}nbextensions',
underscore : '{{static_url()}}components/underscore/underscore-min',
backbone : '{{static_url()}}components/backbone/backbone-min',
},
shim: {
underscore: {
exports: '_'
},
backbone: {
deps: ["underscore", "jquery"],
exports: "Backbone"
}
MinRK
allow `require("nbextensions/extname")` to load from IPYTHONDIR/nbextensions
r13321 }
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>
MinRK
tweak header styling...
r10906 <div id="header" class="navbar navbar-static-top">
<div class="navbar-inner navbar-nobg">
<div class="container">
MinRK
logo link to current tree level...
r13064 <div id="ipython_notebook" class="nav brand pull-left"><a href="{{base_project_url}}tree/{{notebook_path}}" alt='dashboard'><img src='{{static_url("base/images/ipynblogo.png") }}' alt='IPython Notebook'/></a></div>
Stefan van der Walt
Hide top login/logout buttons on login/logout pages.
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
Refactor notebook to use Jinja2 instead of tornado templates
r8350 {% endif %}
Stefan van der Walt
Hide top login/logout buttons on login/logout pages.
r5723 </span>
Cameron Bates
Refactor notebook to use Jinja2 instead of tornado templates
r8350 {% endblock %}
Stefan van der Walt
Hide top login/logout buttons on login/logout pages.
r5723
Stefan van der Walt
Use template inheritance.
r5324 {% block header %}
Cameron Bates
Refactor notebook to use Jinja2 instead of tornado templates
r8350 {% endblock %}
MinRK
use responsive bootstrap
r10900 </div>
MinRK
tweak header styling...
r10906 </div>
Stefan van der Walt
Use template inheritance.
r5324 </div>
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>
MinRK
start using bootstrap
r10884 <script src="{{static_url("components/jquery/jquery.min.js") }}" type="text/javascript" charset="utf-8"></script>
MinRK
jquery-ui.custom has been renamed
r10887 <script src="{{static_url("components/jquery-ui/ui/minified/jquery-ui.min.js") }}" type="text/javascript" charset="utf-8"></script>
MinRK
start using bootstrap
r10884 <script src="{{static_url("components/bootstrap/bootstrap/js/bootstrap.min.js") }}" type="text/javascript" charset="utf-8"></script>
Brian E. Granger
More work on the less setup.
r10706 <script src="{{static_url("base/js/namespace.js") }}" type="text/javascript" charset="utf-8"></script>
<script src="{{static_url("base/js/page.js") }}" type="text/javascript" charset="utf-8"></script>
<script src="{{static_url("auth/js/loginwidget.js") }}" type="text/javascript" charset="utf-8"></script>
Brian Granger
Initial work to add Wijmo based menu.
r5856
Stefan van der Walt
Use template inheritance.
r5324 {% block script %}
Cameron Bates
Refactor notebook to use Jinja2 instead of tornado templates
r8350 {% endblock %}
Stefan van der Walt
Use template inheritance.
r5324
Brian E. Granger
Removing one level uf subdirs in static/custom.
r10739 <script src="{{static_url("custom/custom.js") }}" type="text/javascript" charset="utf-8"></script>
MinRK
add empty custom.js/css...
r7925
Stefan van der Walt
Use template inheritance.
r5324 </body>
</html>