-
Notifications
You must be signed in to change notification settings - Fork 0
/
storage_tinyenroll.html
314 lines (275 loc) · 15.4 KB
/
storage_tinyenroll.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
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
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
<!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="assets/bootstrap-5.0.2/css/bootstrap.css" rel="stylesheet">
<link rel="stylesheet" href="assets/css/main.css">
<link rel="stylesheet" href="assets/css/storage.css">
<title>Document</title>
</head>
<body>
<div class="bd-layout">
<!-- side menu bar -->
<aside class="bd-sidebar shadow">
<div class="logo">
<img src="assets/src/owereLogo.png" alt="o`were">
</div>
<div class="searchForm">
<div class="ps-2">
<img src="assets/src/searchIcon.png">
</div>
<div>
<form class="searchBox">
<input type="text" placeholder="검색">
</form>
</div>
</div>
<nav class="bd-links mb-auto">
<ul class="sidebarList list-unstyled ps-0">
<li class="">
<button class="btn btn-normal align-items-center rounded collapsed" data-bs-toggle="collapse" data-bs-target="#reservation-collapse" aria-expanded="false" onclick="location.href='reservationMonthly.html'" id="asideForm">
예약
</button>
</li>
<li>
<button class="btn btn-toggle align-items-center rounded" data-bs-toggle="collapse" data-bs-target="#stock-collapse" aria-expanded="true" onclick="location.href='storage.html'" id="asideForm">
재고
</button>
<div class="" id="stock-collapse">
<ul class="btn-toggle-nav list-unstyled fw-normal pb-1 small">
<li><a href="storage.html" class="link-dark rounded " id="asideForm">재고 현황</a></li>
<li><a href="storage_tinyenroll.html" class="link-dark rounded activeButton" id="asideForm">개별 재고 등록</a></li>
<li><a href="storage_hugeenroll.html" class="link-dark rounded" id="asideForm">대량 재고 등록</a></li>
</ul>
</div>
</li>
<li>
<button class="btn btn-normal align-items-center rounded collapsed" data-bs-toggle="collapse" data-bs-target="#chatting-collapse" aria-expanded="false" onclick="location.href='chatting.html'" id="asideForm">
채팅
</button>
</li>
<li>
<button class="btn btn-toggle align-items-center rounded collapsed" data-bs-toggle="collapse" data-bs-target="#salon-collapse" aria-expanded="false" onclick="location.href='profile.html'" id="asideForm">
내 미용실
</button>
<div class="collapse" id="salon-collapse">
<ul class="btn-toggle-nav list-unstyled fw-normal pb-1 small">
<li><a href="profile.html" class="link-dark rounded" id="asideForm">MY</a></li>
<li><a href="registrationTimeSeat.html" class="link-dark rounded" id="asideForm">시간 및 좌석 등록</a></li>
<li><a href="reView.html" class="link-dark rounded" id="asideForm">리뷰 관리</a></li>
</ul>
</div>
</li>
<li>
<button class="btn btn-toggle align-items-center rounded collapsed" data-bs-toggle="collapse" data-bs-target="#recruitment-collapse" aria-expanded="false" onclick="location.href='designer.html'" id="asideForm">
디자이너 관리
</button>
<div class="collapse" id="recruitment-collapse">
<ul class="btn-toggle-nav list-unstyled fw-normal pb-1 small">
<li><a href="designer.html" class="link-dark rounded" id="asideForm">디자이너 목록 관리</a></li>
<li><a href="reservationManage.html" class="link-dark rounded" id="asideForm">예약 관리</a></li>
</ul>
</div>
</li>
<li>
<button class="btn btn-normal align-items-center rounded collapsed" data-bs-toggle="collapse" data-bs-target="#calculate-collapse" aria-expanded="false" onclick="location.href='calculate.html'" id="asideForm">
정산
</button>
</li>
</ul>
</nav>
<div class="bottomNav">
<ul class="list-unstyled border-top py-2 mb-0">
<li class="my-2">
<a href="setting.html">설정</a>
</li>
<li class="my-1">
<a href="#">도움말</a>
</li>
</ul>
</div>
<div class="bottomNav border-top pt-2 my-2">로그아웃</div>
</aside>
<main class="bd-main">
<div class="bd-navTop">
<div class="st-actionContainer right-bottom">
<div class="st-btn-container right-bottom">
<div class="st-button-main">
<img src="assets/src/icon/notificationIcon.png">
</div>
</div>
<div class="st-panel">
<div class="st-panel-header">
<div>알림</div>
<div>
<input type="checkbox">모두읽음</span>
</div>
</div>
<div class="st-panel-contents">
<div class="d-flex text-muted pt-3">
<svg class="bd-placeholder-img flex-shrink-0 me-2 rounded" width="32" height="32" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: 32x32" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#007bff"/><text x="50%" y="50%" fill="#007bff" dy=".3em">32x32</text></svg>
<div class="pb-3 mb-0 small lh-sm border-bottom w-100">
<div class="d-flex justify-content-between">
<strong class="text-gray-dark">Full Name</strong>
<a href="#">Follow</a>
</div>
<span class="d-block">@username</span>
</div>
</div>
<div class="d-flex text-muted pt-3">
<svg class="bd-placeholder-img flex-shrink-0 me-2 rounded" width="32" height="32" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: 32x32" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#007bff"/><text x="50%" y="50%" fill="#007bff" dy=".3em">32x32</text></svg>
<div class="pb-3 mb-0 small lh-sm border-bottom w-100">
<div class="d-flex justify-content-between">
<strong class="text-gray-dark">Full Name</strong>
<a href="#">Follow</a>
</div>
<span class="d-block">@username</span>
</div>
</div>
<div class="d-flex text-muted pt-3">
<svg class="bd-placeholder-img flex-shrink-0 me-2 rounded" width="32" height="32" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: 32x32" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#007bff"/><text x="50%" y="50%" fill="#007bff" dy=".3em">32x32</text></svg>
<div class="pb-3 mb-0 small lh-sm border-bottom w-100">
<div class="d-flex justify-content-between">
<strong class="text-gray-dark">Full Name</strong>
<a href="#">Follow</a>
</div>
<span class="d-block">@username</span>
</div>
</div>
</div>
</div>
</div>
<!-- <button class="btn">menu list</button> -->
</div>
<div class="bd-mainContent">
<div class="d-flex">
<h5>개별 재고 등록</h5>
<!-- Button trigger modal -->
<button type="button" class="btn btn-normal border btn-sm mx-3 fw-normal" data-bs-toggle="modal" data-bs-target="#staticBackdrop">
카테고리 수정
</button>
<!-- Modal -->
<div class="modal fade" id="staticBackdrop" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h6 class="modal-title" id="staticBackdropLabel">카테고리 목록 수정</h6>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="text-end">
<button type="button" class="btn fw-normal ms-auto btn-outline-secondary">
목록 추가
</button>
</div>
<div class="border rounded my-2 p-2 d-flex">
시세이도
<button type="button" class="btn-close ms-auto" aria-label="Close"></button>
</div>
<div class="border rounded my-2 p-2 d-flex">
로레알
<button type="button" class="btn-close ms-auto" aria-label="Close"></button>
</div>
<div class="border rounded my-2 p-2 d-flex">
소망
<button type="button" class="btn-close ms-auto" aria-label="Close"></button>
</div>
<div class="border rounded my-2 p-2 d-flex">
아이몬프로페셔널
<button type="button" class="btn-close ms-auto" aria-label="Close"></button>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">취소</button>
<button type="button" class="btn btn-primary">저장하기</button>
</div>
</div>
</div>
</div>
<div name="_correction_" class=" ms-auto ">
<div class="d-grid gap-2 d-md-flex justify-content-md-end ms-auto" >
<button class="btn btn-sm border btn-normal me-md-2" type="reset" for="storageTable"onclick=correctionStorageTable(3)>취소</button>
<button class="btn btn-sm btn-main" type="submit" onclick=correctionStorageTable(2) >등록하기</button>
</div>
</div>
</div>
<fieldset id="storageTable" class="shadowingBox" >
<table class="table">
<thead>
<tr>
<th scope="col" id="category">카테고리</th>
<th scope="col" id="productName">제품명</th>
<th scope="col" id="uploadDate">등록일자</th>
<th scope="col" id="price">단가</th>
<th class="col" id="availableStock">재고수량</th>
<th class="col" id="safetyStock">안전재고</th>
<th class="col" id="isSoldOut">품절여부</th>
<td name="_correction_" class="col" id="deleteRow">삭제</td>
</tr>
</thead>
<tbody class="storageTable" id="storageHugeTable" >
<tr>
<td>
<select class="" aria-label="Default select">
<option selected>선택</option>
<option value="시세이도">시세이도</option>
<option value="로레알">로레알</option>
<option value="소망">소망</option>
<option value="아이몬프로페셔널">아이몬프로페셔널</option>
<option value="아이몬프로페셔널">
</option>
</select>
</td>
<td>
<input type="text">
</td>
<td>
<input type="date">
</td>
<td>
<input type="number" onkeyup="inputNumberFormat(this)">
</td>
<td><input type="number" min="0" maxlength="3"></td>
<td><input type="number" min="0" size="40"></td>
<td>
<div class="isExist">
<input class="form-check-input" type="radio" name="isExist" id="exist" checked >
<label class="form-check-label" for="exist">
X
</label>
<input class="form-check-input" type="radio" name="isExist" id="nonExist">
<label class="form-check-label" for="nonExist">
O
</label>
</div>
</td>
<!-- <td name="_correction_" class=""><input type="checkbox" name="_selected_" value="1"></td> -->
</tr>
</tbody>
</table>
</fieldset>
<div class="text-end">
<button class="btn btn-sm border btn-normal me-md-2" onclick=addStorageRowhugeVer()>항목 추가하기</button>
</div>
</div>
</main>
</div>
<script src="assets/js/jquery-3.6.0.min.js"></script>
<script src="assets/bootstrap-5.0.2/js/bootstrap.js"></script>
<script src="assets/js/main.js"></script>
<script src="assets/js/storage_tinyenroll.js"></script>
<!-- <script>
const menuArr = document.querySelectorAll('#asideForm');
menuArr.forEach(function(element){
element.addEventListener('click', event => {
element.classList.add('activeButton');
});
})
$(document).ready(function () {
console.log(menuArr);
})
</script> -->
</body>
</html>