login.html
52 lines
| 1.2 KiB
| text/html
|
HtmlLexer
Brian E. Granger
|
r10706 | {% extends "page.html" %} | ||
Stefan van der Walt
|
r5324 | |||
Brian Granger
|
r6192 | |||
Brian E. Granger
|
r10723 | {% block stylesheet %} | ||
{{super()}} | ||||
<link rel="stylesheet" href="{{ static_url("auth/css/override.css") }}" type="text/css" /> | ||||
Cameron Bates
|
r8896 | {% endblock %} | ||
Brian Granger
|
r6192 | |||
Brian E. Granger
|
r10723 | {% block login_widget %} | ||
{% endblock %} | ||||
Brian Granger
|
r6192 | |||
{% block site %} | ||||
Stefan van der Walt
|
r5722 | |||
MinRK
|
r10898 | <div id="ipython-main-app" class="container"> | ||
Brian Granger
|
r6192 | |||
{% if login_available %} | ||||
MinRK
|
r10925 | <div class="row"> | ||
Jonathan Frederic
|
r16938 | <div class="navbar col-md-8 col-md-offset2"> | ||
MinRK
|
r10885 | <div class="navbar-inner"> | ||
<div class="container"> | ||||
MinRK
|
r10899 | <div class="center-nav"> | ||
<p class="navbar-text nav">Password:</p> | ||||
MinRK
|
r15238 | <form action="{{base_url}}login?next={{next}}" method="post" class="navbar-form pull-left"> | ||
MinRK
|
r10899 | <input type="password" name="password" id="password_input"> | ||
<button type="submit" id="login_submit">Log in</button> | ||||
</form> | ||||
</div> | ||||
MinRK
|
r10885 | </div> | ||
</div> | ||||
</div> | ||||
MinRK
|
r10925 | </div> | ||
Cameron Bates
|
r8896 | {% endif %} | ||
Brian Granger
|
r6192 | {% if message %} | ||
MinRK
|
r10925 | <div class="row"> | ||
Brian Granger
|
r6192 | {% for key in message %} | ||
<div class="message {{key}}"> | ||||
{{message[key]}} | ||||
</div> | ||||
Cameron Bates
|
r8896 | {% endfor %} | ||
MinRK
|
r10925 | </div> | ||
Cameron Bates
|
r8896 | {% endif %} | ||
Stefan van der Walt
|
r5722 | |||
Brian Granger
|
r6192 | <div/> | ||
Stefan van der Walt
|
r5720 | |||
Cameron Bates
|
r8896 | {% endblock %} | ||
Stefan van der Walt
|
r5723 | |||
Brian Granger
|
r6192 | |||
Stefan van der Walt
|
r5720 | {% block script %} | ||
Brian Granger
|
r6192 | |||
Brian E. Granger
|
r10706 | <script src="{{static_url("auth/js/loginmain.js") }}" type="text/javascript" charset="utf-8"></script> | ||
Brian Granger
|
r6192 | |||
Cameron Bates
|
r8896 | {% endblock %} | ||