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