-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
112 lines (107 loc) · 5.6 KB
/
index.html
File metadata and controls
112 lines (107 loc) · 5.6 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css"
integrity="sha512-Evv84Mr4kqVGRNSgIGL/F/aIDqQb7xQ2vcrdIwxfjThSH8CSR7PBEakCr51Ck+w+/U6swU2Im1vVX0SVk9ABhg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
</head>
<body>
<div class="container" style="width: 1000px;">
<h1 class="text-center bg-primary text-light p-2 rounded mt-5">PRODUCTS MANAGEMENT</h1>
<div class="inputs mt-5">
<div class="form-floating mb-3">
<input type="text" id="products" name="products" class="form-control form-control-sm" placeholder="">
<label for="products" class="mx-1 for-label">Product</label>
<div id="productValidation" class=""></div>
</div>
<div class="row">
<div class="col form-floating mb-3">
<input oninput="CalculTotal()" type="number" id="price" name="price"
class="form-control form-control-sm" placeholder="">
<label for="price" class="mx-3 for-label">Price</label>
<div id="priceValidation" class=""></div>
</div>
<div class="col form-floating mb-3">
<input oninput="CalculTotal()" type="number" id="taxes" name="taxes"
class="form-control form-control-sm" placeholder="">
<label for="taxes" class="mx-3 for-label">Taxes</label>
</div>
<div class="col form-floating mb-3">
<input oninput="CalculTotal()" type="number" id="ads" name="ads"
class=" form-control form-control-sm" placeholder="">
<label for="ads" class="mx-3 for-label">Ads</label>
</div>
<div class="col form-floating mb-3">
<input oninput="CalculTotal()" type="number" id="discount" name="discount"
class="form-control form-control-sm" placeholder="">
<label for="discount" class="mx-3 for-label">Discount</label>
</div>
<div class="col mb-3">
<small class="form-control align-content-center bg-primary text-light" style="height: 58px;"
id="total">0</small>
</div>
</div>
<div class="form-floating mb-3">
<input type="number" id="count" name="count" class="form-control form-control-sm" placeholder="">
<label for="count" class="for-label">Count</label>
</div>
<div class="form-floating mb-3">
<input type="text" id="category" name="category" class="form-control form-control-sm" placeholder="">
<label for="category" class="for-label">Category</label>
<div id="categoryValidation" class=""></div>
</div>
<div class="mb-3">
<input type="submit" id="create" class="btn btn-primary" style="width: 100%;" value="Create">
</div>
</div>
<div class="outputs mb-3">
<div class="form-floating mb-3">
<input type="search" id="search" name="search" class="form-control form-control-sm" placeholder="">
<label for="search" id="labelSearch" class="for-label">Search</label>
</div>
<div class="row mb-2">
<div class="col form-floating mb-3">
<input onclick="getSearchMood(this.id)" type="button" class="btn btn-primary" style="width: 100%;"
id="searchProduct" value="Search By Product">
</div>
<div class="col form-floating mb-3">
<input onclick="getSearchMood(this.id)" type="button" class="btn btn-primary" style="width: 100%;"
id="searchCategory" value="Search By Category">
</div>
</div>
<input id="deleteAll" type="button" class="btn btn-primary deletehide mb-3 " style="width: 100%;"
value="Delete All">
<div class="rad bg-light ">
<table class="table table-hover table-light radius rad text-center ">
<thead>
<tr>
<th>ID</th>
<th>Product</th>
<th>Price</th>
<th>Taxes</th>
<th>Ads</th>
<th>Discount</th>
<th>Category</th>
<th>Total</th>
<th></th>
<th></th>
</tr>
</thead>
<tbody id="tbody" class="table-hover">
</tbody>
</table>
</div>
</div>
</div>
<script src="./script.js" input></script>
</body>
</html>