- If no password has been configured, you need to open the notebook
- server with its login token in the URL, or paste it above.
- This requirement will be lifted if you
-
- enable a password.
-
-
- 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. For example:
-
-
Currently running servers:
-http://localhost:8888/?token=c8de56fa... :: /Users/you/notebooks
-
-
- or you can paste just the token value into the password field on this
- page.
-
- Cookies are required for authenticated access to notebooks.
-
- {% if allow_password_change %}
-
{% trans %}Setup a Password{% endtrans %}
-
You can also setup a password by entering your token and a new password
- on the fields below:
-
- {% endif %}
-
-
- {% endblock token_message %}
- {% endif %}
-
-
-{% endblock %}
-
-
-{% block script %}
-{{super()}}
-
-
-
-{% endblock %}
diff --git a/jupyter_server/templates/logout.html b/jupyter_server/templates/logout.html
deleted file mode 100644
index 3a58875c22..0000000000
--- a/jupyter_server/templates/logout.html
+++ /dev/null
@@ -1,50 +0,0 @@
-{% extends "page.html" %}
-
-{# This template is rendered in response to an authenticated request, so the
- user is technically logged in. But when the user sees it, the cookie is
- cleared by the Javascript, so we should render this as if the user was logged
- out, without e.g. authentication tokens.
-#}
-{% set logged_in = False %}
-
-{% block stylesheet %}
-{{super()}}
-
-{% endblock %}
-
-{% block login_widget %}
-{% endblock %}
-
-{% block site %}
-
-
-
- {% if message %}
- {% for key in message %}
-
- {{message[key]}}
-
- {% endfor %}
- {% endif %}
-
- {% if not login_available %}
- {% trans %}Proceed to the dashboard{% endtrans %}.
- {% else %}
- {% trans %}Proceed to the login page{% endtrans %}.
- {% endif %}
-
-
-
-
-{% endblock %}
-
-{% block script %}
-{{super()}}
-
-
-
-{% endblock %}
diff --git a/jupyter_server/templates/main.html b/jupyter_server/templates/main.html
new file mode 100644
index 0000000000..98b72e9fee
--- /dev/null
+++ b/jupyter_server/templates/main.html
@@ -0,0 +1,5 @@
+{% extends "page.html" %}
+
+{% block site %}
+
-
- {% set
- sections = (
- (
- ("http://nbviewer.jupyter.org/github/ipython/ipython/blob/3.x/examples/Notebook/Index.ipynb", _("Notebook Help"), True),
- ("https://help.github.com/articles/markdown-basics/",_("Markdown"),True),
- ),
- )
- %}
-
- {% set openmsg = _("Opens in a new window") %}
- {% for helplinks in sections %}
- {% for link in helplinks %}
-
{% trans %}There are no notebooks running.{% endtrans %}
-
-
-
-
-
-
-
-
- {% trans %}Clusters tab is now provided by IPython parallel.{% endtrans %}
- {% trans %}See 'IPython parallel' for installation details.{% endtrans %}
-