Uploaded Test files
This commit is contained in:
parent
f584ad9d97
commit
2e81cb7d99
16627 changed files with 2065359 additions and 102444 deletions
50
venv/Lib/site-packages/notebook/templates/logout.html
Normal file
50
venv/Lib/site-packages/notebook/templates/logout.html
Normal file
|
@ -0,0 +1,50 @@
|
|||
{% 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()}}
|
||||
<link rel="stylesheet" href="{{ static_url("auth/css/override.css") }}" type="text/css" />
|
||||
{% endblock %}
|
||||
|
||||
{% block login_widget %}
|
||||
{% endblock %}
|
||||
|
||||
{% block site %}
|
||||
|
||||
<div id="ipython-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 %}
|
||||
|
||||
{% block script %}
|
||||
{{super()}}
|
||||
|
||||
<script type="text/javascript">
|
||||
require(["auth/js/main"], function (auth) {
|
||||
auth.logout_main();
|
||||
});
|
||||
</script>
|
||||
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue