diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-02 18:37:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-06 12:43:06 +0900 |
| commit | bb099158e6c9fd0f1c2771cb9350d3b0a0b51a27 (patch) | |
| tree | 598156ab1f71ee857c8e1f233f0292e13f36fa28 /src/plugins/webinterface/www/default/login.html | |
| parent | 7271fa27ac1881beb5326ca8c9c83471695d8487 (diff) | |
| download | ktorrent-bb099158.tar.gz ktorrent-bb099158.zip | |
Restructure source files into 'src' subfolder
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 44ef0bd5fe47a43e47aec5f7981b6c1d728dd9a8)
Diffstat (limited to 'src/plugins/webinterface/www/default/login.html')
| -rw-r--r-- | src/plugins/webinterface/www/default/login.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/plugins/webinterface/www/default/login.html b/src/plugins/webinterface/www/default/login.html new file mode 100644 index 0000000..93ac1e6 --- /dev/null +++ b/src/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> |
