organized files

This commit is contained in:
2024-04-30 13:16:26 +02:00
parent 7eae092b06
commit dc7867fa72
10 changed files with 8 additions and 101 deletions

View File

@@ -0,0 +1,54 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Customers</title>
<link rel="stylesheet" type="text/css" href="../style.css">
<script src="customers.js"></script>
</head>
<body>
<h1>Customers</h1>
<br>
<a href="#add" class="bookmark">Want to add a new line?</a>
<br>
<br>
<table class="queryresults">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th colspan="2">Actions</th>
</tr>
</thead>
<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>Service ID</td>
<td class="inputcell"><input type="text" id="in_service_id"></td>
</tr>
<tr>
<td colspan="2"><button onclick="addcustomer()">Save</button></td>
</tr>
</table>
<h2 id="addresult"></h2>
</body>
</html>