-
Notifications
You must be signed in to change notification settings - Fork 0
/
main_html.txt
172 lines (169 loc) · 6.56 KB
/
main_html.txt
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<!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" />
<title>CRUDS</title>
<!-- 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=Open+Sans:wght@300;400;500;600;700;800&display=swap"
rel="stylesheet"
/>
<!-- Custom Styles -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css"
/>
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/main.css" />
</head>
<body>
<div class="crud">
<!-- Heading Page -->
<div class="head">
<div class="container">
<h1>CRUDS</h1>
<h6>SYSTEM TO PRODUCT MANAGEMENT</h6>
<hr />
<h6 id="refresh" style="color: red; padding: 0; margin: 0; display: none">
-- Refresh --
</h6>
<hr />
</div>
</div>
<!-- inputs -->
<div class="inputs">
<div class="container">
<input
class="inp-name-product 992px"
type="text"
placeholder="Name Product.."
id="title"
/>
<!-- Price, Ads, Tax, Discount, inputs -->
<div class="flex-inputs">
<input
class="992px cust-input placeholder"
type="number"
placeholder="Price"
id="price"
onkeyup="getTotal()"
/>
<input
class="992px cust-input placeholder"
type="number"
placeholder="Ads"
id="ads"
onkeyup="getTotal()"
/>
<input
class="992px cust-input placeholder"
type="number"
placeholder="Tax"
id="tax"
onkeyup="getTotal()"
/>
<input
class="992px cust-input placeholder"
type="number"
placeholder="Discount"
id="discount"
onkeyup="getTotal()"
/>
</div>
<div class="total-price">
Total is :
<span style="color: red" id="total_price">00.00</span
><span>$</span>
</div>
<div class="other-inputs">
<input
class="992px cust-input"
placeholder="Cont.."
type="number"
id="cont"
/>
<input
class="992px cust-input"
placeholder="Category.."
type="text"
id="category"
/>
</div>
<button
style="
width: 100%;
background-color: #1134a6;
margin-top: 30px;
font-size: 20px;
"
class="992px hov btn btn-primary"
id="create"
>
Create Product
</button>
</div>
</div>
<!-- Outputs -->
<div class="outputs">
<div class="container">
<div class="search">
<input
style="opacity: 1"
class="992px cust-input placeholder search-input"
placeholder="Search.."
type="text"
id="search_bar"
/>
</div>
<div class="flex-buttons">
<button
class="hov 992px btn search-btn"
type="submit"
id="search_title"
>
Search Title
</button>
<button
class="992px btn search-btn"
type="submit"
id="search_category"
>
Search Category
</button>
<button
style="width: 100%; margin-top: 30px"
class="992px hov btn search-btn"
type="submit"
id="delete_all"
>
Delete All (<span id="num_pro">0</span>)
</button>
</div>
<div class="div-table">
<table>
<tr>
<th>id</th>
<th>title</th>
<th>price</th>
<th>taxes</th>
<th>ads</th>
<th>discon</th>
<th>total</th>
<th>category</th>
<th>update</th>
<th>delete</th>
</tr>
<tbody id="tbody"></tbody>
</table>
</div>
</div>
</div>
</div>
<!-- Project.Js -->
<script src="js/main.js"></script>
</body>
</html>