-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin.html
More file actions
174 lines (162 loc) · 5.54 KB
/
admin.html
File metadata and controls
174 lines (162 loc) · 5.54 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ADMIN</title>
<!-- logo -->
<link rel="shortcut icon" href="./img/logo.ico" type="image/x-icon">
<!-- fontawesome -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css"
/>
<!-- Bootstrap -->
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk"
crossorigin="anonymous"
/>
<!-- Main css -->
<link rel="stylesheet" href="./css/main.css" />
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg navbar-light">
<div class="container">
<a class="navbar-brand" href="./index.html"
><img src="./img/logo.png " alt=""
/></a>
<!-- <div class="input-group">
<input
type="text"
oninput="findMobile()"
id="txtSearch"
class="form-control"
placeholder="Tìm sản phẩm theo tên, thương hiệu bạn mong muốn ..."
aria-label="Recipient's username"
aria-describedby="basic-addon2"
/>
<div class="input-group-append">
<span class="input-group-text" id="basic-addon2"
>Tìm kiếm <i class="fa fa-search"></i
></span>
</div>
</div> -->
<div class="btnCart">
<a href="./checkout.html">
<div class="btnCart__cart d-inline-block">
<i class="fa fa-shopping-cart d-inline-block"></i>
<span class="d-inline-block">Giỏ Hàng</span>
<span class="btnCart__text d-inline-block" id="btnAmount"></span>
</div>
</a>
</div>
</div>
</nav>
</header>
<section class="product">
<div class="container">
<h1>Hello ADMIN</h1>
<button
id="btnThemDienThoai"
class="btn btn-success"
data-toggle="modal"
data-target="#myModal"
>
<i class="fa fa-plus mr-1"></i>
Thêm Điện Thoại
</button>
<ul id="tblDanhSachDienThoai">
</div>
</section>
<div class="modal fade" id="myModal">
<div class="modal-dialog">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h4 class="modal-title">Thêm điện thoại</h4>
<button type="button" class="close" data-dismiss="modal">
×
</button>
</div>
<!-- Modal body -->
<div class="modal-body">
<div class="form-group">
<label>Tên điện thoại</label>
<input
id="TenDT"
class="form-control"
placeholder="Nhập vào tên điện thoại"
/>
</div>
<div class="form-group">
<label>Mô tả điện thoại</label>
<input
id="MoTa"
class="form-control"
placeholder="Nhập vào mô tả"
/>
</div>
<div class="form-group">
<label>Hình ảnh</label>
<input
id="HinhAnh"
class="form-control"
placeholder="Link hình ảnh"
/>
</div>
<div class="form-group">
<label for="">Hãng điện thoại: </label>
<select class="form-control" id="HangDT">
<option value="Apple">Apple</option>
<option value="Samsung">Samsung</option>
</select>
</div>
<div class="form-group">
<label>Giá điện thoại</label>
<input
id="GiaTien"
class="form-control"
placeholder="Nhập vào giá tiền"
/>
</div>
<div class="form-group">
<label>Kho hàng</label>
<input
id="KhoHang"
class="form-control"
placeholder="Nhập vào số kho hàng"
/>
</div>
</div>
<!-- Modal footer -->
<div class="modal-footer"></div>
</div>
</div>
</div>
</div>
<script
src="https://code.jquery.com/jquery-3.5.1.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"
></script>
<script
src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"
integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI"
crossorigin="anonymous"
></script>
<script src="./js/loader.js"></script>
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<script src="./js/models/Mobile.js"></script>
<script src="./js/services/axios.js"></script>
<script src="./js/services/MobileServices.js"></script>
<script src="./js/general.js"></script>
<script src="./js/add-phone.js"></script>
</body>