##// END OF EJS Templates
BUG: Scrolling pager in vsplit on Mac OSX tears....
BUG: Scrolling pager in vsplit on Mac OSX tears. On Mac OS X, scrolling the pager when it is split vertically causes the help text to tear (i.e. the help text is unreadable). This hack attempts to make it a little better although the solution may not be optimal at all.

File last commit:

r5723:8326cad4
r5733:811b7457
Show More
logout.html
28 lines | 495 B | text/html | HtmlLexer
Stefan van der Walt
Add logout button.
r5325 {% extends layout.html %}
{% block content_panel %}
Stefan van der Walt
Split read-only logic into three functions: read_only, logged_in, and login_available. Move display logic from javascript into templates.
r5722 <ul>
{% if read_only or not login_available %}
Proceed to the <a href="/">list of notebooks</a>.</li>
{% else %}
Proceed to the <a href="/login">login page</a>.</li>
{% end %}
</ul>
Stefan van der Walt
Add logout button.
r5325 {% end %}
Stefan van der Walt
On the login page, focus on the password field.
r5720
Stefan van der Walt
Hide top login/logout buttons on login/logout pages.
r5723 {% block login_widget %}
{% end %}
Stefan van der Walt
On the login page, focus on the password field.
r5720 {% block script %}
<script type="text/javascript">
$(document).ready(function() {
IPython.login_widget = new IPython.LoginWidget('span#login_widget');
});
</script>
{% end %}