html/css work

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2024-08-05 01:28:16 +02:00
parent d01289c068
commit 358fe1099b
18 changed files with 471 additions and 211 deletions

View File

@@ -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>