Making the form a table

Signed-off-by: Eoghan Conlon <eoghanconlon73@skynet.ie>
This commit is contained in:
eoghanconlon73 2023-09-11 12:19:42 +01:00
parent 31b96767ca
commit 272ae7a14c

View file

@ -8,23 +8,36 @@
</head>
<body>
<form id="reset">
<label for="user">Username</label>
<input type="text" id="user" name="user"/> <br/>
<label for="pass">Password</label>
<input type="password" id="pass" name="pass"/> <br/>
<label for="field">Field</label>
<select onchange="selectField()" id="field">
<option value="" selected="selected">Please select an option</option>
<option value="mail">Email</option>
<option value="sshPublicKey">SSH key</option>
<option value="cn">First name & Surname</option>
<option value="sn">Surname</option>
<option value="skDiscord">Discord username</option>
</select>
<br/>
<label for="value">Value</label>
<input type="text" id="value" name="value"/> <br/>
<input type="Submit" value="Submit"/>
<table class="table">
<tr>
<td><label for="user">Username</label></td>
<td><input type="text" id="user" name="user"/> <br/></td>
</tr>
<tr>
<td><label for="pass">Password</label></td>
<td><input type="password" id="pass" name="pass"/> <br/></td>
</tr>
<tr>
<td><label for="field">Field</label> </td>
<td>
<select onchange="selectField()" id="field">
<option value="" selected="selected">Please select an option</option>
<option value="mail">Email</option>
<option value="sshPublicKey">SSH key</option>
<option value="cn">First name & Surname</option>
<option value="sn">Surname</option>
<option value="skDiscord">Discord username</option>
</select>
</td>
</tr>
<tr>
<td><label for="value">Value</label></td>
<td><input type="text" id="value" name="value"/> <br/> </td>
</tr>
<tr>
<td colspan="2"><input type="Submit" value="Submit"/></td>
</tr>
</table>
</form>
<p id="formStatus"></p>
<footer>