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