{% extends "page.html" %} {% block stylesheet %} {{super()}} {% endblock %} {% block login_widget %} {% endblock %} {% block site %}
{% if login_available %} {# login_available means password-login is allowed. Show the form. #}
{% elif login_token_available %}

This notebook server has no password set, but token-authentication is enabled. You need to open the notebook server with its first-time login token in the URL, or enable a password in order to gain access. The command:

jupyter notebook list

will show you the URLs of running servers with their tokens, which you can copy and paste into your browser.

{% else %}

No login available, you shouldn't be seeing this page.

{% endif %} {% if message %}
{% for key in message %}
{{message[key]}}
{% endfor %}
{% endif %}
{% endblock %} {% block script %} {{super()}} {% endblock %}