mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
focus on pwd field;patch from #365 by dasnyderx
This commit is contained in:
parent
92574feeb4
commit
2f8c10b7ba
1 changed files with 6 additions and 2 deletions
|
@ -1,11 +1,15 @@
|
|||
$def with (error)
|
||||
$:render.header(_('Login'))
|
||||
<script language="javascript">
|
||||
window.onload = function () {
|
||||
document.getElementById('pwd').focus();
|
||||
}
|
||||
</script>
|
||||
<div class="panel">
|
||||
<h2>$_("Deluge Login")</h2>
|
||||
|
||||
$if error > 0:
|
||||
<div class="error">$_("Password is invalid,try again")</div>
|
||||
|
||||
<div class="error">$_("Password is invalid, try again")</div>
|
||||
<form method="POST" id="loginform" action='$base/login'>
|
||||
<input type="hidden" name="redir" value="$get('redir')">
|
||||
<div id="loginpanel">
|
||||
|
|
Loading…
Add table
Reference in a new issue