-
Notifications
You must be signed in to change notification settings - Fork 2
/
khachhang.html
458 lines (412 loc) · 15.4 KB
/
khachhang.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
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
<!DOCTYPE HTML>
<html>
<head>
<title>dashboard</title>
<link rel="icon" href="./img/HHPC_logo.ico" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="laptop" />
<script
type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- Bootstrap Core CSS -->
<link href="./css/bootstrap.min.css" rel='stylesheet' type='text/css' />
<!-- Custom CSS -->
<link href="./css/style.css" rel='stylesheet' type='text/css' />
<link rel="stylesheet" href="./css/morris.css" type="text/css" />
<!-- Graph CSS -->
<link href="./css/font-awesome.css" rel="stylesheet">
<!-- jQuery -->
<script src="./js/jquery-2.1.4.min.js"></script>
<!-- //jQuery -->
<!-- <link href='.///fonts.googleapis.com/css?family=Roboto:700,500,300,100italic,100,400' rel='stylesheet' type='text/css'/>
<link href='.///fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'> -->
<!-- lined-icons -->
<link rel="stylesheet" href="./css/icon-font.min.css" type='text/css' />
<!-- tables -->
<link rel="stylesheet" type="text/css" href="./css/table-style.css" />
<link rel="stylesheet" type="text/css" href="./css/basictable.css" />
<script type="text/javascript" src="./js/jquery.basictable.min.js"></script>
</head>
<body>
<div class="page-container">
<!--/content-inner-->
<div class="left-content">
<div class="mother-grid-inner">
<!--header start here-->
<div class="header-main">
<div class="profile_details w3l">
<ul>
<li class="dropdown profile_details_drop">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<div class="profile_img">
<span class="prfil-img"><img src="./img/HHPC_logo.ico" alt=""> </span>
<div class="user-name">
<p>Thông tin</p>
<span>Admin</span>
</div>
<i class="fa fa-angle-down"></i>
<i class="fa fa-angle-up"></i>
<div class="clearfix"></div>
</div>
</a>
<ul class="dropdown-menu drp-mnu">
<li> <a href="#"><i class="fa fa-cog"></i> Cài đặt</a> </li>
<li> <a href="#"><i class="fa fa-user"></i> Thông tin</a> </li>
<li> <a href="#"><i class="fa fa-sign-out"></i> Đăng xuất</a> </li>
</ul>
</li>
</ul>
</div>
<div class="clearfix"> </div>
</div>
<!--heder end here-->
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="./admin1.html">Trang chủ</a><i
class="fa fa-angle-right"></i>Sản phẩm</li>
</ol>
<!-- grids -->
<div class="grids">
<div class="agile-calendar-grid">
<div class="page">
<div class="w3l-calendar-left">
<div class="calendar-heading">
<!-- <p>Noi dung</p>
-->
<div class="agile-tables">
<div class="w3l-table-info">
<h2>Thêm khách hàng</h2>
<div class="row">
<div class="col-xs-1 col-sm-1 col-md-1 col-lg-1">
</div>
<div class="col-xs-10 col-sm-10 col-md-10 col-lg-10">
<form action="">
<div class="form-group">
<label for="ma">Mã khách hàng:</label>
<input type="text" class="form-control" id="ma">
</div>
<div class="form-group">
<label for="ten">Họ và tên khách hàng:</label>
<input type="text" class="form-control" id="ten">
</div>
<div class="form-group">
<label for="loai">Chức vụ:</label>
<select name="cboPhuongThucThanhToan"
id="cboPhuongThucThanhToan">
<option value="1">Người mua hàng</option>
</select>
</div>
<div class="form-group">
<label for="nsx">Ngày/Tháng/Năm sinh:</label>
<input type="date" name="" id="">
</div>
<div class="form-group">
<label for="gia">Số điện thoại:</label>
<input type="textarea" class="form-control" id="gia">
</div>
<div class="form-group">
<label for="gia">Địa chỉ nhà:</label>
<input type="textarea" class="form-control" id="gia">
</div>
<button type="submit" class="btn btn-default">Thêm nhân
viên</button>
</form>
</div>
<div class="col-xs-1 col-sm-1 col-md-1 col-lg-1">
</div>
</div>
<h2>Quản lý khách hàng</h2>
<table id="table">
<thead>
<tr>
<th>Mã KH</th>
<th>Họ và tên KH</th>
<th>Địa chỉ nhà</th>
<th>Ngày/Tháng/Năm sinh</th>
<th>Số điện thoại</th>
<th>Chức vụ</th>
<th>Chỉnh sửa</th>
</tr>
</thead>
<tbody>
<tr class="info">
<td>1</td>
<td>Phạm Thế Bảo</td>
<td>
273 An Dương Vương, P.3, Q.5
</td>
<td>30/09/1970</td>
<td>0908282400</td>
<td>Người mua hàng</td>
<td style="text-align: center;">
<span>
<a class="agile-icon" href="#" data-toggle="modal"
data-target="#myModal"><i
class="fa fa-pencil-square-o"></i></a>
</span>
<span>
<a class="agile-icon" href="#" data-toggle="modal"
data-target="#myModal1"><i
class="fa fa-times-circle"></i></a>
</span>
</td>
</tr>
<tr class="info">
<td>2</td>
<td>Đỗ Ngọc Như Loan</td>
<td>
105 Bà Huyện Thanh Quan, Q.3
</td>
<td>20/11/1975</td>
<td>0917771412</td>
<td>Người mua hàng</td>
<td style="text-align: center;">
<span>
<a class="agile-icon" href="#" data-toggle="modal"
data-target="#myModal"><i
class="fa fa-pencil-square-o"></i></a>
</span>
<span>
<a class="agile-icon" href="#" data-toggle="modal"
data-target="#myModal1"><i
class="fa fa-times-circle"></i></a>
</span>
</td>
</tr>
<tr class="info">
<td>3</td>
<td>Phan Tấn Quốc</td>
<td>
28 Nguyễn Thông, Q.3
</td>
<td>30/04/1982</td>
<td>0918178052</td>
<td>Người mua hàng</td>
<td style="text-align: center;">
<span>
<a class="agile-icon" href="#" data-toggle="modal"
data-target="#myModal"><i
class="fa fa-pencil-square-o"></i></a>
</span>
<span>
<a class="agile-icon" href="#" data-toggle="modal"
data-target="#myModal1"><i
class="fa fa-times-circle"></i></a>
</span>
</td>
</tr>
<tr class="info">
<td>4</td>
<td>Nguyễn Hòa</td>
<td>
04 Tôn Đức Thắng, Q.1
</td>
<td>08/03/1985</td>
<td>0918108944</td>
<td>Người mua hàng</td>
<td style="text-align: center;">
<span>
<a class="agile-icon" href="#" data-toggle="modal"
data-target="#myModal"><i
class="fa fa-pencil-square-o"></i></a>
</span>
<span>
<a class="agile-icon" href="#" data-toggle="modal"
data-target="#myModal1"><i
class="fa fa-times-circle"></i></a>
</span>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Modal -->
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close"
data-dismiss="modal">×</button>
<h4 class="modal-title">Cập nhật thông tin khách hàng</h4>
</div>
<div class="modal-body">
<p>Mời bạn nhập thông tin khách hàng: </p>
<form action="">
<div class="form-group">
<label for="ma">Mã khách hàng:</label>
<input type="text" class="form-control" id="ma">
</div>
<div class="form-group">
<label for="ten">Họ và tên khách hàng:</label>
<input type="text" class="form-control" id="ten">
</div>
<div class="form-group">
<label for="comment">Chức vụ:</label>
<select name="cboPhuongThucThanhToan"
id="cboPhuongThucThanhToan">
<option value="1">Người mua hàng</option>
</select>
</div>
<div class="form-group">
<label for="loai">Ngày/Tháng/Năm sinh:</label>
<input type="date" name="" id="">
</div>
<div class="form-group">
<label for="nsx">Số điện thoại:</label>
<input type="text" class="form-control" id="nsx">
</div>
<div class="form-group">
<label for="xuatxu">Địa chỉ nhà:</label>
<input type="textarea" class="form-control" id="xuatxu">
</div>
<button type="submit" class="btn btn-default">Cập
nhật</button>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default"
data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- end mymodal -->
<!-- sanpham -->
<!-- Modal -->
<div class="modal fade" id="myModal1" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close"
data-dismiss="modal">×</button>
<h4 class="modal-title">Bạn có chắc chắn muốn xóa hay không?
</h4>
</div>
<div class="modal-footer">
<form action="">
<button type="submit" class="btn btn-default"
style="margin-left: 43%;">Xóa
</button>
<button type="button" class="btn btn-default"
data-dismiss="modal">Cancel</button>
</form>
</div>
</div>
</div>
</div>
<!-- end modal sanpham -->
</div>
</div>
</div>
<div class="clearfix"> </div>
</div>
</div>
</div>
<!-- //grids -->
<!--photoday-section-->
<div class="col-sm-4 wthree-crd">
<div class="card">
<div class="card-body">
</div>
</div>
</div>
<div class="clearfix"></div>
<!--//photoday-section-->
<!-- script-for sticky-nav -->
<script>
$(document).ready(function () {
var navoffeset = $(".header-main").offset().top;
$(window).scroll(function () {
var scrollpos = $(window).scrollTop();
if (scrollpos >= navoffeset) {
$(".header-main").addClass("fixed");
} else {
$(".header-main").removeClass("fixed");
}
});
});
</script>
<!-- /script-for sticky-nav -->
<!--inner block start here-->
<div class="inner-block">
</div>
<!--inner block end here-->
</div>
</div>
<!--//content-inner-->
<!--/sidebar-menu-->
<div class="sidebar-menu">
<header class="logo1">
<a href="#" class="sidebar-icon"> <span class="fa fa-bars"></span> </a>
</header>
<div style="border-top:1px ridge rgba(255, 255, 255, 0.15)"></div>
<div class="menu">
<ul id="menu">
<li><a href="./admin1.html"><i class="fa fa-tachometer"></i> <span>Trang chủ</span>
<div class="clearfix"></div>
</a></li>
<li id="menu-academico"><a href="./nhanvien.html"><i class="fa fa-user"
aria-hidden="true"></i><span>Quản lý nhân viên</span>
<div class="clearfix"></div>
</a></li>
<li id="menu-academico"><a href="./khachhang.html"><i class="fa fa-users" aria-hidden="true"></i>
<span>Quản lý khách hàng</span>
<div class="clearfix"></div>
</a></li>
<li id="menu-academico"><a href="./donhang.html"><i class="fa fa-envelope nav_icon"></i>
<span>Đơn hàng</span>
<div class="clearfix"></div>
</a></li>
<!-- <li><a href="./gallery.html"><i class="fa fa-picture-o" aria-hidden="true"></i><span>Gallery</span><div class="clearfix"></div></a></li> -->
<li id="menu-academico"><a href="#"><i class="fa fa-list-ul" aria-hidden="true"></i><span>Sản
phẩm</span> <span class="fa fa-angle-right" style="float: right"></span>
<div class="clearfix"></div>
</a>
<ul id="menu-academico-sub">
<li id="menu-academico-avaliacoes"><a href="./sanpham.html">Quản lý sản phẩm</a></li>
<li id="menu-academico-avaliacoes"><a href="./sanpham1.html">Loại sản phẩm</a></li>
<li id="menu-academico-avaliacoes"><a href="./sanpham2.html">Nhà sản xuất</a></li>
</ul>
</li>
<li id="menu-academico"><a href="#"><i class="fa fa-file-text-o"></i> <span>Khác</span> <span
class="fa fa-angle-right" style="float: right"></span>
<div class="clearfix"></div>
</a>
<ul id="menu-academico-sub">
<li id="menu-academico-boletim"><a href="./calendar.html">Lịch</a></li>
<!-- <li id="menu-academico-avaliacoes" ><a href="./signin.html">Đăng nhập</a></li>
<li id="menu-academico-avaliacoes" ><a href="./signup.html">Đăng ký</a></li> -->
</ul>
</li>
</ul>
</div>
</div>
<div class="clearfix"></div>
</div>
<script>
var toggle = true;
$(".sidebar-icon").click(function () {
if (toggle) {
$(".page-container").addClass("sidebar-collapsed").removeClass("sidebar-collapsed-back");
$("#menu span").css({ "position": "absolute" });
}
else {
$(".page-container").removeClass("sidebar-collapsed").addClass("sidebar-collapsed-back");
setTimeout(function () {
$("#menu span").css({ "position": "relative" });
}, 400);
}
toggle = !toggle;
});
</script>
<!--js -->
<script src="./js/jquery.nicescroll.js"></script>
<script src="./js/script.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="./js/bootstrap.min.js"></script>
<!-- /Bootstrap Core JavaScript -->
<!-- morris JavaScript -->
<script src="./js/raphael-min.js"></script>
</body>
</html>