mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-27 11:45:44 +00:00
focus on pwd field;patch from #365 by dasnyderx
This commit is contained in:
parent
92574feeb4
commit
2f8c10b7ba
@ -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…
x
Reference in New Issue
Block a user