mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
Add form tag to allow autocomplete of username and password. (#42)
This commit is contained in:
@@ -44,30 +44,32 @@
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="login-box">
|
||||
<div id="login">
|
||||
<table>
|
||||
<tr>
|
||||
<td>Username:</td>
|
||||
<td>
|
||||
<input type="text" id="user-input">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Password:</td>
|
||||
<td>
|
||||
<input type="password" id="passwd-input">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<button class="key" id="login-button">Login</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form action="javascript:void(0)">
|
||||
<div id="login-box">
|
||||
<div id="login">
|
||||
<table>
|
||||
<tr>
|
||||
<td>Username:</td>
|
||||
<td>
|
||||
<input type="text" id="user-input">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Password:</td>
|
||||
<td>
|
||||
<input type="password" id="passwd-input">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
<button class="key" id="login-button">Login</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<ul class="footer">
|
||||
<li class="footer-left">This site is actively using JavaScript.<br>
|
||||
It doesn't contain ads, but is blocked by some ad filters.<br>
|
||||
|
||||
@@ -6,18 +6,19 @@ append vars
|
||||
- css_list = css_list.concat(["window", "modal", "login/login"])
|
||||
|
||||
block body
|
||||
div(id="login-box")
|
||||
div(id="login")
|
||||
table
|
||||
tr
|
||||
td Username:
|
||||
td #[input(type="text" id="user-input")]
|
||||
tr
|
||||
td Password:
|
||||
td #[input(type="password" id="passwd-input")]
|
||||
tr
|
||||
td
|
||||
td #[button(id="login-button" class="key") Login]
|
||||
form(action="javascript:void(0)")
|
||||
div(id="login-box")
|
||||
div(id="login")
|
||||
table
|
||||
tr
|
||||
td Username:
|
||||
td #[input(type="text" id="user-input")]
|
||||
tr
|
||||
td Password:
|
||||
td #[input(type="password" id="passwd-input")]
|
||||
tr
|
||||
td
|
||||
td #[button(id="login-button" class="key") Login]
|
||||
|
||||
ul(class="footer")
|
||||
li(class="footer-left")
|
||||
|
||||
Reference in New Issue
Block a user