-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanager.html
More file actions
288 lines (252 loc) · 8.59 KB
/
manager.html
File metadata and controls
288 lines (252 loc) · 8.59 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
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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Logo and Title -->
<link rel="icon" type="image/png" href="assets/img/icons/tabicon.png" />
<title>Blue Sun Bird</title>
<!-- Main Style -->
<link rel="stylesheet" type="text/css" href="assets/css/main.css">
<!-- Bootstrap -->
<link rel="stylesheet" type="text/css" href="assets/css/bootstrap.min.css">
<!-- Font Awesome -->
<link rel="stylesheet" type="text/css" href="assets/css/all.min.css">
<!-- Jquery UI Json Response -->
<link rel="stylesheet" type="text/css" href="assets/css/jquery-ui.min.css">
<!-- Main Javascript -->
<script src="assets/js/jquery-min.js"></script>
<script src="assets/js/jquery-ui.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/all.min.js"></script>
<script src="assets/js/manager.js"></script>
<!-- Local CSS -->
<style>
body {
background: #FFF;
}
.customAccordion {
background-color: #eee;
color: #444;
cursor: pointer;
padding: 18px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 15px;
transition: 0.4s;
}
.active,
.customAccordion:hover {
background-color: #ccc;
}
.customAccordion:after {
content: '\002B';
color: #777;
font-weight: bold;
float: right;
margin-left: 5px;
}
.active:after {
content: "\2212";
}
.panel {
padding-right: 20px;
background-color: white;
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
}
table {
width: 100%;
text-align: center;
}
.productImg {
height: 60px;
width: 90px;
margin: 10px;
border: 1px solid black;
float: left;
margin-left: 10%;
}
#saveBtn {
margin-top: 10px;
margin-right: 6%;
background-color: #E91E63;
border: #E91E63;
}
#resetBtn {
margin-bottom: 10px;
margin-right: 6%;
background-color: #E91E63;
border: #E91E63;
}
thead {
text-align: center;
}
.productName {
font-size: 13px;
}
.productPrice {
width: 90px;
margin-left: 20px;
margin-right: 20px;
font-size: 13px;
}
thead {
border-bottom: 1px solid black;
}
.btnEdit,
.btnEditItem {
margin-left: 8px;
margin-right: 8px;
font-size: 12px;
}
.btnDelete {
font-size: 12px;
}
.btnDeleteItem {
font-size: 12px;
}
span {
margin-left: 0.3rem;
font-family: sans-serif;
font-size: 13px;
}
.btnAdd,
.btnAddItem {
font-size: 12px;
}
#detailsSubmit {
color: #FFF;
background-color: #E91E63;
border: #E91E63;
margin-left: 5px;
}
.changeText {
text-transform: none !important;
}
label {
background-color: #E91E63;
padding-left: 10px;
padding-right: 10px;
color: #FFF;
margin-bottom: 5px;
margin-top: 5px;
}
@media screen and (max-width: 768px) {
.customAccordion {
font-size: 12px;
margin-right: 0px;
margin-left: 0px;
}
.btnAdd,
.btnEdit,
.btnDelete {
width: 55px;
float: right;
}
.btnEdit {
margin-left: 3px;
margin-right: 3px;
}
.btnAddItem,
.btnEditItem,
.btnDeleteItem {
width: 55px;
}
.productName {
width: 120px;
}
.productPrice {
width: 110%;
margin-left: 3px;
}
.productImg {
width: 50px;
}
.ctgName {
width: 110%;
}
thead {
font-size: 12px;
margin-left: 0px;
}
.panel span {
display: none !important;
}
}
</style>
</head>
<body>
<!-- Product Section Start -->
<section id="allProducts" class="schedule section-padding">
<div class="container">
<div class="row">
<div class="col-12">
<div class="section-title-header text-center">
<h1 class="section-title wow fadeInUp" data-wow-delay="0.2s">Product Details</h1>
<p class="wow fadeInDown" data-wow-delay="0.2s">Add, Update or Delete products here</p>
</div>
</div>
</div>
<div class="d-grid gap-2 d-md-flex justify-content-md-end"><button type="button" class="btn btn-success"
id="resetBtn"><i class="fa-solid fa-rotate-right"></i> Reset</button></div>
<!-- Dynamic Accordion -->
<div id="accordionContainer" ondrop="drop(event)" ondragover="allowDrop(event)">
</div>
<!-- End of Dynamic Accordion -->
<div class="d-grid gap-2 d-md-flex justify-content-md-end"><button type="button" class="btn btn-success"
id="saveBtn"><i class="fa-solid fa-floppy-disk"></i> Save</button></div>
</div>
</section>
<!-- Product Section End -->
<!-- Other Details Section Start -->
<section id="allProducts" class="schedule section-padding">
<div class="container">
<div class="row">
<div class="col-12">
<div class="section-title-header text-center">
<h1 class="section-title wow fadeInUp" data-wow-delay="0.2s">Other Details</h1>
<p class="wow fadeInDown" data-wow-delay="0.2s">Update Other details here</p>
</div>
</div>
<div class="container">
<form id="detailsForm">
<div class="form-row">
<div class="form-group col-md-4">
<label for="inputEmail">Email Address</label>
<input type="email" class="form-control changeText" id="inputEmail">
</div><br>
<div class="form-group col-md-4">
<label for="inputPhone">Phone Number</label>
<input type="tel" class="form-control changeText" id="inputPhone">
</div><br>
<div class="form-group col-md-4">
<label for="inputPhone2">Secondary Number</label>
<input type="tel" class="form-control changeText" id="inputPhone2">
</div><br>
</div>
<div class="form-group col-md-4">
<label for="inputAddress">Shop Address</label>
<textarea type="text" class="form-control changeText" id="inputAddress" rows="4"></textarea>
</div><br>
<div class="form-group col-md-4">
<label for="diwaliDate">Diwali Date</label>
<input type="date" class="form-control" id="diwaliDate" name="diwali">
</div><br>
<div class="d-grid gap-2 d-md-flex">
<button type="button" class="btn btn-success" name="submitBtn" id="detailsSubmit"><i
class="fa-solid fa-pen-to-square"></i> Update
Details</button>
</div>
</form>
</div>
</div>
</div>
</section>
<!-- Other Details Section End -->
</body>
</html>