You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.0 KiB
30 lines
1.0 KiB
15 years ago
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||
|
<head>
|
||
|
<title>KTorrent WebInterface - Login</title>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<link rel="stylesheet" type="text/css" href="style.css" />
|
||
|
<script type="text/javascript">
|
||
|
var was_focused = false;
|
||
|
function try_focus_form()
|
||
|
{
|
||
|
if (!was_focused)
|
||
|
{
|
||
|
document.forms["loginForm"].elements["username"].focus();
|
||
|
was_focused = true;
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="try_focus_form();">
|
||
|
<form id="loginForm" action="interface.php" method="post">
|
||
|
<table style="padding-left:100px; padding-top: 350px;">
|
||
|
<tr><td>Username:</td><td><input type="text" name="username" onfocus="was_focused = true;" /></td></tr>
|
||
|
<tr><td>Password:</td><td><input type="password" name="password" /></td></tr>
|
||
|
<tr><td></td><td><input type="submit" value="Login" /></td></tr>
|
||
|
</table>
|
||
|
</form>
|
||
|
</body>
|
||
|
</html>
|