forked from neelmani0/internal-mark-2946
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAdminorder.html
211 lines (178 loc) · 4.98 KB
/
Adminorder.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>E-commerce Admin Dashboard</title>
<link rel="shortcut icon" href="./logo.jpeg" type="image/x-icon">
<link rel="stylesheet" href="style.css">
<style>
/* Global Styles */
h2 {
margin-left: 50px;
}
body {
margin: 0;
padding: 0;
font-family: sans-serif;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
background-color: rgb(25, 23, 23);
color: #fff;
padding: 20px;
position: fixed;
top: 0;
left: 0;
right: 0;
}
nav {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #9e9f9d;
width: 20%;
position: fixed;
top: 70px;
bottom: 0;
left: 0;
overflow-y: auto;
padding: 20px;
margin-bottom: 50px;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
margin-bottom: 10px;
}
nav ul li a {
display: block;
padding: 10px 15px;
background-color: #ddd;
color: #333;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.2s ease;
}
nav ul li a:hover {
background-color: #51524f;
color: #fff;
}
main {
margin: 100px 0 0 20%;
padding: 20px;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
margin-left: 20px;
}
table th,
table td {
padding: 10px;
text-align: left;
border: 1px solid #ddd;
}
table th {
background-color: #333;
color: #fff;
}
table tr:nth-child(even) {
background-color: #f2f2f2;
}
h1 {
margin-bottom: 20px;
text-align: center;
font-size: 36px;
color: #fbf5f5;
margin-left: 500px;
}
a {
color: #333;
text-decoration: none;
transition: color 0.2s ease;
}
a:hover {
color: #666;
}
.active {
background-color: #333;
color: #fff;
}
@media (max-width: 767px) {
main {
max-width: 960px;
margin: 2rem auto;
display: grid;
grid-template-columns: 1fr;
grid-gap: 2rem;
}
}
@media only screen and (max-width: 768px) {
header {
flex-direction: column;
align-items: center;
text-align: center;
}
header h2 {
margin-top: 10px;
}
nav {
width: 100%;
height: auto;
position: relative;
top: 70px;
padding: 0;
}
main {
margin: 100px 0 0 0;
padding: 20px;
}
}
</style>
</head>
<body>
<header>
<h1>Daily Life Admin's Orders</h1>
<nav>
<ul>
<li><a href="AdminDashbord.html">Dashbord</a></li>
<li><a href="AdminOrders.html">Order</a></li>
</ul>
</nav>
</header>
<main>
<section class="order-section">
<h2>Orders</h2>
<table>
<thead>
<tr>
<th>Order ID</th>
<th>Product Name</th>
<th>Quantity</th>
<th>Status</th>
</tr>
</thead>
<tbody id="t1">
</tbody>
<tbody id="t2">
</tbody>
</table>
</section>
</main>
<footer>
<p>© 2023 E-commerce Admin Dashboard</p>
</footer>
<script src="Adminorder.js"></script>
</body>
</html>
Footer © 2023 GitHub, Inc. Footer navigation Terms Privacy Security Status Docs Contact GitHub Pricing API Training Blog About