##// END OF EJS Templates
On the login page, focus on the password field.
On the login page, focus on the password field.

File last commit:

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