| 1 |
{% extends "page.html" %} |
| 2 |
|
| 3 |
{# This template is rendered in response to an authenticated request, so the |
| 4 |
user is technically logged in. But when the user sees it, the cookie is |
| 5 |
cleared by the Javascript, so we should render this as if the user was logged |
| 6 |
out, without e.g. authentication tokens. |
| 7 |
#} |
| 8 |
{% set logged_in = False %} |
| 9 |
|
| 10 |
{% block stylesheet %} |
| 11 |
{% endblock %} |
| 12 |
|
| 13 |
{% block site %} |
| 14 |
|
| 15 |
<div id="jupyter-main-app" class="container"> |
| 16 |
|
| 17 |
{% if message %} |
| 18 |
{% for key in message %} |
| 19 |
<div class="message {{key}}"> |
| 20 |
{{message[key]}} |
| 21 |
</div> |
| 22 |
{% endfor %} |
| 23 |
{% endif %} |
| 24 |
|
| 25 |
{% if not login_available %} |
| 26 |
{% trans %}Proceed to the <a href="{{base_url}}">dashboard{% endtrans %}</a>. |
| 27 |
{% else %} |
| 28 |
{% trans %}Proceed to the <a href="{{base_url}}login">login page{% endtrans %}</a>. |
| 29 |
{% endif %} |
| 30 |
|
| 31 |
|
| 32 |
<div /> |
| 33 |
|
| 34 |
{% endblock %} |