-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin.html
86 lines (83 loc) · 3.52 KB
/
admin.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
<!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">
<title>Shopy!!</title>
<link rel="stylesheet" href="css/admin.css">
<link rel="stylesheet" href="css/bootstrap.css">
</head>
<body class="container mt-4">
<header>
<nav class="navbar navbar-expand-lg bg-light">
<div class="container-fluid">
<a class="navbar-brand" href="#" style="color: orange">Shopy!!</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="main.html">Products</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="admin.html">Admin</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Checkout</a>
</li>
</ul>
</div>
<div class="container-fluid">
<form class="d-flex" role="search">
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn" type="submit">Search</button>
</form>
</div>
</div>
</nav>
</header>
<main>
<!-- form -->
<form id="form">
<div class="mb-3">
<label for="name" class="form-label">Product Name</label>
<input type="text" class="form-control" id="name" required>
</div>
<div class="mb-3">
<label for="image" class="form-label">Product Image</label>
<input type="url" class="form-control" id="image" required>
</div>
<div class="mb-3">
<label for="description" class="form-label">Product Description</label>
<input type="text" class="form-control" id="description" required>
</div>
<div class="mb-3">
<label for="price" class="form-label">Product Price</label>
<input type="number" class="form-control" id="price" required>
</div>
<button class="btn btn-primary" type="submit">Submit form</button>
</form>
<section>
<table class="table mt-4">
<caption>Products Available</caption>
<thead class="table-dark">
<tr>
<th scope="col">Product-id</th>
<th scope="col">Product-name</th>
<th scope="col">Product-description</th>
<th scope="col">Product-image</th>
<th scope="col">Product-price</th>
<th scope="col">Edit-product</th>
<th scope="col">Delete-product</th>
</tr>
</thead>
<tbody id="table-body">
</tbody>
</table>
</section>
</main>
<script src="admin.js"></script>
</body>
</html>