Files
Prog4_Beadando/WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/index.html

90 lines
2.6 KiB
HTML
Raw Normal View History

2024-04-20 12:26:33 +02:00
<!DOCTYPE html>
<html>
<head>
2024-04-22 10:17:39 +02:00
<title>Company Manager</title>
<link rel="stylesheet" type="text/css" href="style.css">
2024-04-20 12:26:33 +02:00
</head>
<body>
2024-04-23 18:19:57 +02:00
<div class="datatable">
<div class="list">
<h1>Customers:</h1>
<table>
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th colspan="2">Actions</th>
</tr>
</thead>
<tbody id="resultarea">
2024-04-22 14:50:21 +02:00
2024-04-23 18:19:57 +02:00
</tbody>
</table>
</div>
2024-04-22 14:50:21 +02:00
2024-04-23 18:19:57 +02:00
<h2>Create new customer:</h2>
<div class="formdiv">
<table>
<tr>
<td>
<input type="text" id="customername" placeholder="Customer name">
</td>
</tr>
<tr>
<td>
<input type="text" id="customeremail" placeholder="Email address">
</td>
</tr>
<tr>
<td>
<input type="text" id="customerphone" placeholder="Phone number">
</td>
</tr>
<tr>
<td>
<button id="add" onclick="addCustomer()">Add</button>
</td>
</tr>
</table>
</div>
2024-04-22 14:50:21 +02:00
2024-04-23 18:19:57 +02:00
<h2>Edit customer:</h2>
<div class="formdiv">
<table>
<tr>
<td>
<input type="text" id="customerid" placeholder="Customer ID">
</td>
</tr>
<tr>
<td>
<input type="text" id="customername" placeholder="Customer name">
</td>
</tr>
<tr>
<td>
<input type="text" id="customeremail" placeholder="Email address">
</td>
</tr>
<tr>
<td>
<input type="text" id="customerphone" placeholder="Phone number">
</td>
</tr>
<tr>
<td>
<input type="text" id="customerserviceid" placeholder="Service ID">
</td>
</tr>
<tr>
<td>
<button id="add" onclick="editCustomer()">Add</button>
</td>
</tr>
</table>
</div>
</div>
2024-04-22 14:50:21 +02:00
2024-04-22 10:17:39 +02:00
<script src="script.js"></script>
2024-04-20 12:26:33 +02:00
</body>
</html>