File: logout.html

package info (click to toggle)
jupyter-server 2.15.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,068 kB
  • sloc: python: 21,064; makefile: 186; sh: 25; javascript: 14
file content (34 lines) | stat: -rw-r--r-- 823 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{% 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 %}
{% endblock %}

{% block site %}

<div id="jupyter-main-app" class="container">

  {% if message %}
  {% for key in message %}
  <div class="message {{key}}">
    {{message[key]}}
  </div>
  {% endfor %}
  {% endif %}

  {% if not login_available %}
  {% trans %}Proceed to the <a href="{{base_url}}">dashboard{% endtrans %}</a>.
  {% else %}
  {% trans %}Proceed to the <a href="{{base_url}}login">login page{% endtrans %}</a>.
  {% endif %}


  <div />

  {% endblock %}