##// END OF EJS Templates
Merge pull request #1535 from doerwalter/master...
Merge pull request #1535 from doerwalter/master Fix pretty printing dispatch. This patch fixes a problem mentioned here: http://mail.scipy.org/pipermail/ipython-dev/2012-March/008874.html Search for the best method to use for pretty printing an object now no longer prefers any registered printer in `type_printers` for the class or any of the base classes over a `_repr_pretty_` method defined in the class or any of its base classes. Instead the mro is walked, looking for both registered printers and `_repr_pretty_` methods, so that the inheritance hierarchy will be taken into account.

File last commit:

r6192:a53b1a9f
r6483:81039be0 merge
Show More
page.html
58 lines | 1.7 KiB | text/html | HtmlLexer
Stefan van der Walt
Use template inheritance.
r5324 <!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>{% block title %}IPython Notebook{% end %}</title>
Andrew Straw
use Tornado's handler.static_url() in templates
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
Refactoring templates and top level js/css organization.
r6192 <link rel="stylesheet" href="{{static_url("css/fbm.css") }}" type="text/css" />
<link rel="stylesheet" href="{{static_url("css/page.css") }}" type="text/css"/>
Stefan van der Walt
Use template inheritance.
r5324 {% block stylesheet %}
{% end %}
Stefan van der Walt
Add logout button.
r5325 {% block meta %}
{% end %}
Stefan van der Walt
Use template inheritance.
r5324
</head>
Stefan van der Walt
Add logout button.
r5325 <body {% block params %}{% end %}>
Stefan van der Walt
Use template inheritance.
r5324
<div id="header">
Brian Granger
Refactoring templates and top level js/css organization.
r6192 <span id="ipython_notebook"><h1><a href={{base_project_url}} alt='dashboard'><img src='{{static_url("ipynblogo.png") }}' alt='IPython Notebook'/></a></h1></span>
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>
{% end %}
</span>
{% end %}
Stefan van der Walt
Use template inheritance.
r5324 {% block header %}
{% end %}
</div>
Brian Granger
Refactoring templates and top level js/css organization.
r6192 <div id="site">
{% block site %}
{% end %}
Stefan van der Walt
Use template inheritance.
r5324 </div>
Andrew Straw
use Tornado's handler.static_url() in templates
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
Refactoring templates and top level js/css organization.
r6192 <script src="{{static_url("js/page.js") }}" type="text/javascript" charset="utf-8"></script>
Andrew Straw
use Tornado's handler.static_url() in templates
r6002 <script src="{{static_url("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 %}
{% end %}
</body>
</html>