-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathtemplate.html
More file actions
84 lines (81 loc) · 3.26 KB
/
template.html
File metadata and controls
84 lines (81 loc) · 3.26 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!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 href="https://use.fontawesome.com/releases/v5.15.1/css/all.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<title>Users</title>
<style>
.gap__actions{
display: grid;
row-gap: 10px;
cursor: pointer;
}
</style>
</head>
<body>
<div class="row p-4">
<div class="alert alert-success d-flex align-items-center" role="alert">
<svg class="bi flex-shrink-0 me-2" width="24" height="24" role="img" aria-label="Success:"><use xlink:href="#check-circle-fill"/></svg>
<div>
An example success alert with an icon
</div>
</div>
<div class="mt-4">
<h2>Crud Users</h2>
</div>
<div class="col-12 col-lg-4">
<form>
<!-- is-invalid if you want valid data -->
<div class="mb-3">
<label for="Email" class="form-label">Email address</label>
<input type="text" class="form-control" name="Email">
</div>
<div class="mb-3">
<label for="Lastname" class="form-label">Lastname</label>
<input type="text" class="form-control" name="Lastname">
</div>
<div class="mb-3">
<label for="Firstname" class="form-label">Firstname</label>
<input type="text" class="form-control" name="Firstname">
</div>
<div class="mb-3">
<label for="Age" class="form-label">Age</label>
<input type="text" class="form-control" name="Age">
</div>
<button class="btn btn-primary">Add user</button>
</form>
</div>
<div class="col-12 col-lg-7">
<table class="table">
<thead>
<tr>
<th scope='col'>Email</th>
<th scope='col'>Lastname</th>
<th scope='col'>Firstname</th>
<th scope='col'>Age</th>
<th scope='col'>Actions</th>
</tr>
</thead>
<tbody>
<tr>
<th>mansouri@live.fr</th>
<td>mansouri</td>
<td>youssef</td>
<td>29</td>
<td class="gap__actions">
<span class="badge bg-info"><a href="/id" class="text-white"><i class="fas fa-edit"></i></a></span>
<span class="badge bg-danger" onClick=""><i
class="fas fa-trash-alt"
></i></span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>