login.html
42 lines
| 796 B
| text/html
|
HtmlLexer
Brian Granger
|
r6192 | {% 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"/> | ||
{% end %} | ||||
{% block login_widget %} | ||||
{% end %} | ||||
{% block site %} | ||||
Stefan van der Walt
|
r5722 | |||
Brian Granger
|
r6192 | <div id="main_app"> | ||
{% if login_available %} | ||||
Stefan van der Walt
|
r5324 | <form action="/login?next={{url_escape(next)}}" method="post"> | ||
Brian Granger
|
r6192 | Password: <input type="password" name="password" id="password_input"> | ||
<input type="submit" value="Log in" id="login_submit"> | ||||
Stefan van der Walt
|
r5324 | </form> | ||
Brian Granger
|
r6192 | {% end %} | ||
Stefan van der Walt
|
r5722 | |||
Brian Granger
|
r6192 | {% if message %} | ||
{% for key in message %} | ||||
<div class="message {{key}}"> | ||||
{{message[key]}} | ||||
</div> | ||||
{% end %} | ||||
Stefan van der Walt
|
r5722 | {% end %} | ||
Brian Granger
|
r6192 | <div/> | ||
Stefan van der Walt
|
r5720 | |||
Stefan van der Walt
|
r5723 | {% end %} | ||
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> | ||||
Stefan van der Walt
|
r5720 | {% end %} | ||