-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin.html
More file actions
75 lines (68 loc) · 2.78 KB
/
Copy pathadmin.html
File metadata and controls
75 lines (68 loc) · 2.78 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
<!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" />
<meta name="description" content="Admin dashboard to manage orders, products, and revenue." />
<meta name="robots" content="noindex, nofollow" />
<title>Admin Dashboard</title>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="css/admin.css" />
</head>
<body>
<main class="container my-5">
<header class="text-center mb-5">
<h2 aria-label="Admin Dashboard">Admin Dashboard</h2>
</header>
<!-- Navigation -->
<nav class="mb-4 text-center">
<a href="add-product.html" class="btn btn-outline-dark mx-2">Add Product</a>
<a href="admin-profile.html" class="btn btn-outline-dark mx-2">profile</a>
<a href="admin-products.html" class="btn btn-outline-dark mx-2">All Products</a>
<a href="admin-orders.html" class="btn btn-outline-dark mx-2">order management</a>
<a href="admin-register.html" class="btn btn-outline-dark mx-2">Create an admin</a>
</nav>
<!-- Statistics Cards -->
<section class="row text-center mb-4">
<div class="col-12 col-md-4 mb-3 mb-md-0">
<div class="card shadow">
<div class="card-body">
<h5 class="card-title">Total Orders</h5>
<p class="card-text fs-3 text-muted" id="total-orders">
<span class="spinner-border spinner-border-sm d-none" id="orders-loading"></span> 0
</p>
</div>
</div>
</div>
<div class="col-12 col-md-4 mb-3 mb-md-0">
<div class="card shadow">
<div class="card-body">
<h5 class="card-title">Total Products</h5>
<p class="card-text fs-3 text-muted" id="total-products">
<span class="spinner-border spinner-border-sm d-none" id="products-loading"></span> 0
</p>
</div>
</div>
</div>
<div class="col-12 col-md-4">
<div class="card shadow">
<div class="card-body">
<h5 class="card-title">Total Revenue</h5>
<p class="card-text fs-3 text-muted" id="total-revenue">
<span class="spinner-border spinner-border-sm d-none" id="revenue-loading"></span> $0.00
</p>
</div>
</div>
</div>
</section>
<!-- Status Message -->
<section class="text-center" id="status-message" role="alert" aria-live="polite"></section>
</main>
<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<!-- Custom JS -->
<script src="js/admin.js"></script>
</body>
</html>