-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
71 lines (63 loc) · 2.44 KB
/
index.html
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
<!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="./css/style.css" rel="stylesheet">
<script src="./js/products.js"></script>
<title>Products</title>
</head>
<body>
<div class="container">
<div class="row">
<div class="col">
<div class="card text-dark bg-warning mb-3" style="">
<div class="card-header text-center" style="color: #fff">Products</div>
</div>
</div>
</div>
<div class="row">
<div class="col">
<div class="card">
<div class="card-header">
ADD/EDITAR
</div>
<div class="card-body">
<h5 class="card-title">Adicionar, Editar Produtos Aqui</h5>
<form>
<div class="mb-3">
<label for="productName" class="form-label">Nome do Produto</label>
<input type="text" class="form-control" id="productName" aria-describedby="emailHelp">
</div>
<div class="mb-3">
<label for="productPrice" class="form-label">Preço</label>
<input type="number" class="form-control" id="productPrice">
</div>
<button type="button" onclick="save()" id="btnId" class="btn btn-primary">Salvar</button>
<button type="button" onclick="cleanForm()" class="btn btn-secondary">Cancelar</button>
</form>
</div>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col">
<table class="table table-striped table-hover">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Nome</th>
<th scope="col">Preço</th>
<th scope="col">Ações</th>
</tr>
</thead>
<tbody id="tbody">
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>