##// END OF EJS Templates
Merge pull request #2839 from minrk/jinja...
Merge pull request #2839 from minrk/jinja add jinja to install docs / setup.py

File last commit:

r8896:889e2426
r9255:e027bb45 merge
Show More
logout.html
40 lines | 774 B | text/html | HtmlLexer
Cameron Bates
fix jinja2 rendering for password protected notebooks
r8896 {% extends "page.html" %}
Stefan van der Walt
Add logout button.
r5325
Brian Granger
Refactoring templates and top level js/css organization.
r6192 {% block stylesheet %}
Stefan van der Walt
Split read-only logic into three functions: read_only, logged_in, and login_available. Move display logic from javascript into templates.
r5722
Brian Granger
Refactoring templates and top level js/css organization.
r6192 <link rel="stylesheet" href="{{static_url("css/logout.css") }}" type="text/css"/>
Stefan van der Walt
Split read-only logic into three functions: read_only, logged_in, and login_available. Move display logic from javascript into templates.
r5722
Cameron Bates
fix jinja2 rendering for password protected notebooks
r8896 {% endblock %}
Brian Granger
Refactoring templates and top level js/css organization.
r6192
{% block login_widget %}
Cameron Bates
fix jinja2 rendering for password protected notebooks
r8896 {% endblock %}
Brian Granger
Refactoring templates and top level js/css organization.
r6192
{% block site %}
Stefan van der Walt
Split read-only logic into three functions: read_only, logged_in, and login_available. Move display logic from javascript into templates.
r5722
Brian Granger
Refactoring templates and top level js/css organization.
r6192 <div id="main_app">
Stefan van der Walt
Split read-only logic into three functions: read_only, logged_in, and login_available. Move display logic from javascript into templates.
r5722
Brian Granger
Refactoring templates and top level js/css organization.
r6192 {% if message %}
{% for key in message %}
<div class="message {{key}}">
{{message[key]}}
</div>
Cameron Bates
fix jinja2 rendering for password protected notebooks
r8896 {% endfor %}
{% endif %}
Stefan van der Walt
Split read-only logic into three functions: read_only, logged_in, and login_available. Move display logic from javascript into templates.
r5722
Brian Granger
Refactoring templates and top level js/css organization.
r6192 {% if read_only or not login_available %}
Matthias BUSSONNIER
use full base_url in html and js
r7800 Proceed to the <a href="{{base_project_url}}">dashboard</a>.
Brian Granger
Refactoring templates and top level js/css organization.
r6192 {% else %}
Matthias BUSSONNIER
use full base_url in html and js
r7800 Proceed to the <a href="{{base_project_url}}login">login page</a>.
Cameron Bates
fix jinja2 rendering for password protected notebooks
r8896 {% endif %}
Stefan van der Walt
Split read-only logic into three functions: read_only, logged_in, and login_available. Move display logic from javascript into templates.
r5722
Stefan van der Walt
On the login page, focus on the password field.
r5720
Brian Granger
Refactoring templates and top level js/css organization.
r6192 <div/>
Cameron Bates
fix jinja2 rendering for password protected notebooks
r8896 {% endblock %}
Stefan van der Walt
Hide top login/logout buttons on login/logout pages.
r5723
Stefan van der Walt
On the login page, focus on the password field.
r5720 {% block script %}
Brian Granger
Refactoring templates and top level js/css organization.
r6192
<script src="{{static_url("js/logoutmain.js") }}" type="text/javascript" charset="utf-8"></script>
Cameron Bates
fix jinja2 rendering for password protected notebooks
r8896 {% endblock %}