##// END OF EJS Templates
pass config to subapps...
pass config to subapps closes #3473

File last commit:

r10925:32813e53
r11006:402745a1
Show More
login.html
52 lines | 1.2 KiB | text/html | HtmlLexer
Brian E. Granger
More work on the less setup.
r10706 {% extends "page.html" %}
Stefan van der Walt
Use template inheritance.
r5324
Brian Granger
Refactoring templates and top level js/css organization.
r6192
Brian E. Granger
Creating override.css for each page....
r10723 {% block stylesheet %}
{{super()}}
<link rel="stylesheet" href="{{ static_url("auth/css/override.css") }}" type="text/css" />
Cameron Bates
fix jinja2 rendering for password protected notebooks
r8896 {% endblock %}
Brian Granger
Refactoring templates and top level js/css organization.
r6192
Brian E. Granger
Creating override.css for each page....
r10723 {% block login_widget %}
{% 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
MinRK
ipython-main-app should be a bootstrap container
r10898 <div id="ipython-main-app" class="container">
Brian Granger
Refactoring templates and top level js/css organization.
r6192
{% if login_available %}
MinRK
fix Invalid Password message location
r10925 <div class="row">
MinRK
center login
r10899 <div class="navbar span8 offset2">
MinRK
bootstrap base, auth
r10885 <div class="navbar-inner">
<div class="container">
MinRK
center login
r10899 <div class="center-nav">
<p class="navbar-text nav">Password:</p>
<form action="{{base_project_url}}login?next={{next}}" method="post" class="navbar-form pull-left">
<input type="password" name="password" id="password_input">
<button type="submit" id="login_submit">Log in</button>
</form>
</div>
MinRK
bootstrap base, auth
r10885 </div>
</div>
</div>
MinRK
fix Invalid Password message location
r10925 </div>
Cameron Bates
fix jinja2 rendering for password protected notebooks
r8896 {% endif %}
Brian Granger
Refactoring templates and top level js/css organization.
r6192 {% if message %}
MinRK
fix Invalid Password message location
r10925 <div class="row">
Brian Granger
Refactoring templates and top level js/css organization.
r6192 {% for key in message %}
<div class="message {{key}}">
{{message[key]}}
</div>
Cameron Bates
fix jinja2 rendering for password protected notebooks
r8896 {% endfor %}
MinRK
fix Invalid Password message location
r10925 </div>
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
Brian Granger
Refactoring templates and top level js/css organization.
r6192 <div/>
Stefan van der Walt
On the login page, focus on the password field.
r5720
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
Brian Granger
Refactoring templates and top level js/css organization.
r6192
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
Brian E. Granger
More work on the less setup.
r10706 <script src="{{static_url("auth/js/loginmain.js") }}" type="text/javascript" charset="utf-8"></script>
Brian Granger
Refactoring templates and top level js/css organization.
r6192
Cameron Bates
fix jinja2 rendering for password protected notebooks
r8896 {% endblock %}