From 3a16ee4e4108e314eacaaa941cfd452a80bd804c Mon Sep 17 00:00:00 2001 From: Fabrizio Milo Date: Tue, 5 May 2020 12:36:53 -0700 Subject: [PATCH] add missing login and logout template pages --- jupyter_server/templates/login.html | 17 +++++++++++++++++ jupyter_server/templates/logout.html | 13 +++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 jupyter_server/templates/login.html create mode 100644 jupyter_server/templates/logout.html diff --git a/jupyter_server/templates/login.html b/jupyter_server/templates/login.html new file mode 100644 index 0000000000..62f362c4ec --- /dev/null +++ b/jupyter_server/templates/login.html @@ -0,0 +1,17 @@ +{% extends "page.html" %} + +{% block site %} +{% if message %} +{% for key in message %} +
+ {{message[key]}} +
+{% endfor %} +{% endif %} +
+ {{ xsrf_form_html() | safe }} + + + +
+{% endblock site %} \ No newline at end of file diff --git a/jupyter_server/templates/logout.html b/jupyter_server/templates/logout.html new file mode 100644 index 0000000000..750701b8fe --- /dev/null +++ b/jupyter_server/templates/logout.html @@ -0,0 +1,13 @@ +{% extends "page.html" %} + +{% block site %} +{% if message %} +{% for key in message %} +
+ {{message[key]}} +
+{% endfor %} +{% endif %} + +{% trans %}Proceed to the login page{% endtrans %}. +{% endblock %} \ No newline at end of file