-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
84 lines (84 loc) · 3.76 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
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src= "./static/js/cep.js"></script>
<script src= "./static/js/icms.js"></script>
<script src= "./static/js/register_products.js"></script>
<link rel="stylesheet" href="./static/css/style.css">
<!-- Bootstrap CSS via cdn -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<!-- Font from google fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<title>Product Register</title>
</head>
<body>
<nav>
<div class="container-fluid">
<a class="navbar-brand" href="#">
<img src="./static/images/ecommerce.png" alt="" width="30" height="24" class="d-inline-block align-text-top">
<span class="nav-description">My Fake Office e-Commerce - CoderSchool - Register Products page</span>
</a>
</div>
</nav>
<div class="container">
<h1 class="chroma-effect"><span>Product Register</span></h1>
<br/>
<form id="RegisterProducts">
<div class="form-floating mb-1">
<input type="text" class="input_form" id="product" placeholder="Product">
</div>
<div class="form-floating mb-1">
<input type="text" class="input_form" id="unitCost" placeholder="Unit Cost">
</div>
<div class="form-floating mb-1">
<input type="text" class="input_form" id="salePrice" placeholder="Sale Price">
</div>
<div class="form-floating mb-1">
<input type="text" class="input_form" id="cepOrigin" placeholder="CEP Origin Product">
</div>
<div class="form-floating mb-1">
<select class="productClass" id="productClass" aria-label="Product Class">
<option selected>Product Class</option>
<option value="Electronic">Electronic</option>
<option value="Office supplies">Office supplies</option>
<option value="Furniture">Furniture</option>
<option value="Estationary">Estationary</option>
</select>
</div>
<button type="button" class="glow-on-hover" onclick="addProduct()">Cadastrar</button>
</form>
<br/>
<h1 id="budget" class="budget"> Budget Forecast: $0.0</h1>
<br/>
<h1 id="profit_forecast" class="profit_forecast"> Profit Forecast: $0.0</h1>
<br/>
<table id="TableProducts">
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">Product</th>
<th scope="col">Unit Cost</th>
<th scope="col">Class</th>
<th scope="col">Sale Price</th>
<th scope="col">State Origin</th>
<th scope="col">Nacional Taxes</th>
<th scope="col">State Taxes</th>
<th scope="col">Profit</th>
<th scope="col">Profit Margin</th>
<th scope="col">Register Date</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</body>
<footer>
<p><span class="footer-team">Equipe: Felipe Sidooski / Fellype Bardales / Gregorio Abreu</span></p>
</footer>
</html>