diff options
Diffstat (limited to 'plugins/webinterface/www/default/login.html')
-rw-r--r-- | plugins/webinterface/www/default/login.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/plugins/webinterface/www/default/login.html b/plugins/webinterface/www/default/login.html new file mode 100644 index 0000000..93ac1e6 --- /dev/null +++ b/plugins/webinterface/www/default/login.html @@ -0,0 +1,29 @@ +<!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> |