-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (68 loc) · 2.31 KB
/
Copy pathindex.html
File metadata and controls
69 lines (68 loc) · 2.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="icon.png">
<title>CRUD-JS</title>
<style>
/* #tb2{ */
/* display: none; */
/* } */
</style>
</head>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Client Management</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
<h1 class="mt-4 mb-4">Ajout Un Client</h1>
<form>
<table class="table table-bordered table-striped">
<tbody>
<tr>
<td>Numéro du client:</td>
<td><input type="number" id="num" class="form-control"></td>
</tr>
<tr>
<td>Nom:</td>
<td><input type="text" id="nom" class="form-control"></td>
</tr>
<tr>
<td>Prénom:</td>
<td><input type="text" id="prenom" class="form-control"></td>
</tr>
<tr>
<td>Salaire:</td>
<td><input type="number" id="salaire" class="form-control"></td>
</tr>
<tr>
<td colspan="2"><button type="button" onclick="remplir()" class="btn btn-primary w-100">Ajouter</button></td>
</tr>
</tbody>
</table>
</form>
<table id="tb2" class="table table-bordered table-striped">
<thead>
<tr>
<th>Numéro</th>
<th>Nom</th>
<th>Prénom</th>
<th>Salaire</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<script src="script.js"></script>
</body>
</html>
</html>