##// END OF EJS Templates
Merge pull request #1332 from astraw/alternate-url-prefix...
Merge pull request #1332 from astraw/alternate-url-prefix notebook - allow prefixes in URL path. This closes #1329. The basic idea is to allow prefixes in the path served. (E.g. serve on http://localhost:8888/ipython/ instead of http://localhost:8888/ ) This is useful for running the ipython notebook behind a proxy serving other content at other URLs. In that case, one would also need to proxy the websockets. Also, clean up some static paths in our html/css files by using template function calls instead of hardcoded paths.

File last commit:

r5723:8326cad4
r6012:69c627ca merge
Show More
logout.html
28 lines | 495 B | text/html | HtmlLexer
{% extends layout.html %}
{% block content_panel %}
<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>
{% end %}
{% block login_widget %}
{% end %}
{% block script %}
<script type="text/javascript">
$(document).ready(function() {
IPython.login_widget = new IPython.LoginWidget('span#login_widget');
});
</script>
{% end %}