mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-07 00:48:41 +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)
|
$def with (error)
|
||||||
$:render.header(_('Login'))
|
$:render.header(_('Login'))
|
||||||
|
<script language="javascript">
|
||||||
|
window.onload = function () {
|
||||||
|
document.getElementById('pwd').focus();
|
||||||
|
}
|
||||||
|
</script>
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
<h2>$_("Deluge Login")</h2>
|
<h2>$_("Deluge Login")</h2>
|
||||||
|
|
||||||
$if error > 0:
|
$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'>
|
<form method="POST" id="loginform" action='$base/login'>
|
||||||
<input type="hidden" name="redir" value="$get('redir')">
|
<input type="hidden" name="redir" value="$get('redir')">
|
||||||
<div id="loginpanel">
|
<div id="loginpanel">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue