js client officially done

This commit is contained in:
2024-05-06 18:39:27 +02:00
parent 1e6e576318
commit aaf0fd6623
8 changed files with 374 additions and 264 deletions

View File

@@ -9,9 +9,6 @@
<body>
<h1>Employees</h1>
<br>
<a href="#add" class="bookmark">Want to add a new line?</a>
<br>
<br>
<table class="queryresults">
<thead>
<tr>
@@ -23,36 +20,7 @@
<tbody id="resultarea">
</tbody>
</table>
<h2 id="add">Add a new line</h2>
<table class="inputs">
<tr>
<td>ID</td>
<td class="inputcell"><input type="text" id="in_id"></td>
</tr>
<tr>
<td>Name</td>
<td class="inputcell"><input type="text" id="in_name"></td>
</tr>
<tr>
<td>Email</td>
<td class="inputcell"><input type="text" id="in_email"></td>
</tr>
<tr>
<td>Phone</td>
<td class="inputcell"><input type="text" id="in_phone"></td>
</tr>
<tr>
<td>Maintainer ID</td>
<td class="inputcell"><input type="text" id="in_maintainer_id"></td>
</tr>
<tr>
<td>Manager ID</td>
<td class="inputcell"><input type="text" id="in_manager_id"></td>
</tr>
<tr>
<td colspan="2"><button onclick="addemployee()">Save</button></td>
</tr>
</table>
<h2 id="addresult"></h2>
<div id="forms"></div>
<h2 id="saveresult"></h2>
</body>
</html>