login.html
42 lines
| 876 B
| text/html
|
HtmlLexer
Cameron Bates
|
r8896 | {% extends "page.html" %} | ||
Stefan van der Walt
|
r5324 | |||
Brian Granger
|
r6192 | {% block stylesheet %} | ||
Stefan van der Walt
|
r5722 | |||
Brian Granger
|
r6192 | <link rel="stylesheet" href="{{static_url("css/login.css") }}" type="text/css"/> | ||
Cameron Bates
|
r8896 | {% endblock %} | ||
Brian Granger
|
r6192 | |||
{% block login_widget %} | ||||
Cameron Bates
|
r8896 | {% endblock %} | ||
Brian Granger
|
r6192 | |||
{% block site %} | ||||
Stefan van der Walt
|
r5722 | |||
Bussonnier Matthias
|
r9265 | <div id="ipython-main-app"> | ||
Brian Granger
|
r6192 | |||
{% if login_available %} | ||||
Cameron Bates
|
r8896 | <form action="{{base_project_url}}login?next={{next}}" method="post"> | ||
Matthias BUSSONNIER
|
r6840 | Password: <input type="password" class='ui-widget ui-widget-content' name="password" id="password_input"> | ||
Brian Granger
|
r6192 | <input type="submit" value="Log in" id="login_submit"> | ||
Stefan van der Walt
|
r5324 | </form> | ||
Cameron Bates
|
r8896 | {% endif %} | ||
Stefan van der Walt
|
r5722 | |||
Brian Granger
|
r6192 | {% if message %} | ||
{% for key in message %} | ||||
<div class="message {{key}}"> | ||||
{{message[key]}} | ||||
</div> | ||||
Cameron Bates
|
r8896 | {% endfor %} | ||
{% 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 | |||
<script src="{{static_url("js/loginmain.js") }}" type="text/javascript" charset="utf-8"></script> | ||||
Cameron Bates
|
r8896 | {% endblock %} | ||