login.html
17 lines
| 478 B
| text/html
|
HtmlLexer
Stefan van der Walt
|
r5324 | {% extends layout.html %} | ||
{% block content_panel %} | ||||
<form action="/login?next={{url_escape(next)}}" method="post"> | ||||
Stefan van der Walt
|
r5720 | Password: <input type="password" name="password" id="focus"> | ||
Stefan van der Walt
|
r5324 | <input type="submit" value="Sign in" id="signin"> | ||
</form> | ||||
{% end %} | ||||
Stefan van der Walt
|
r5720 | |||
{% block script %} | ||||
<script type="text/javascript"> | ||||
$(document).ready(function() { | ||||
IPython.login_widget = new IPython.LoginWidget('span#login_widget'); | ||||
$('#focus').focus(); | ||||
}); | ||||
</script> | ||||
{% end %} | ||||