@@ -7,27 +7,29 @@
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>Login</h1>
|
||||
<fieldset id="login">
|
||||
<legend>User credentials</legend>
|
||||
<table>
|
||||
<tr>
|
||||
<th>User name</th>
|
||||
<td><input type="text" id="username" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Password</th>
|
||||
<td><input type="password" id="password" onkeydown="keyDown()"/></td>
|
||||
</tr>
|
||||
<tr id="error" style="display: none">
|
||||
<th>Error</th>
|
||||
<td class="warning">Failed to log in!</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><button type="button" onClick="tryLogin()">Login</button></td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<div id="content">
|
||||
<h1>Login</h1>
|
||||
<fieldset id="login">
|
||||
<legend>User credentials</legend>
|
||||
<table>
|
||||
<tr>
|
||||
<th>User name</th>
|
||||
<td><input type="text" id="username" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Password</th>
|
||||
<td><input type="password" id="password" onkeydown="keyDown()"/></td>
|
||||
</tr>
|
||||
<tr id="error" style="display: none">
|
||||
<th>Error</th>
|
||||
<td class="warning">Failed to log in!</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><button type="button" onClick="tryLogin()">Login</button></td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user