-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
188 lines (180 loc) · 8.24 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>eCommerce</title>
<link rel="stylesheet" href="styles/styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
</head>
<body>
<div class="container">
<div class="sidebar">
<div class="logo">
<!--<span class="logo-text">e-</span>-->
<span class="logo-subtext">eCommerce</span>
</div>
<ul>
<li><a href="#" onclick="location.reload();"><i class="fas fa-tachometer-alt"></i> Dashboard</a></li>
<li><a href="#" onclick="location.reload();"><i class="fas fa-shopping-bag"></i> Products</a></li>
<li><a href="#" id="orders-link"><i class="fas fa-clipboard-list"></i> Orders</a></li>
<li><a href="#" id="customers-link"><i class="fas fa-users"></i> Customers</a></li>
<li><a href="#" id="statistics-link"><i class="fas fa-chart-bar"></i> Statistics</a></li>
</ul>
</div>
<div class="location-details">
<h3>Location</h3>
<p>121 Main Street, Nairobi, Kenya</p>
<p>+254 70599 9999</p>
<p>[email protected]</p>
<div class="location-icon">
<i class="fas fa-map-marker-alt" style="color: white;"></i>
</div>
</div>
</div>
<div class="main-content">
<header>
<!--
<div class="search-box">
<input type="text" placeholder="Search">
</div>
-->
<div class="profile">
<img src="https://cdn-icons-png.flaticon.com/512/4715/4715330.png" alt="Profile">
</div>
</header>
<div class="content">
<div class="header-bar">
<h2>eCommerce</h2>
<div class="actions">
<button class="export-btn">Export</button>
<button class="create-btn" id="create-btn">Create</button>
</div>
</div>
<div class="filters">
<input type="text" placeholder="Search">
<select class="filter">
<option value="" disabled selected>Select Category</option>
<option value="Shoes">Shoes</option>
<option value="Watch">Watch</option>
<option value="Clothes">Clothes</option>
<option value="Phones">Phones</option>
<option value="TV & Monitors">TV & Monitors</option>
<option value="Laptops">Laptops</option>
</select>
<select>
<option value="">Last added</option>
</select>
</div>
<div id="product-form" style="display: none;">
<i id="cancel-icon" class="fas fa-times"></i>
<div id="form-content">
<label for="product-name">Product Name</label>
<input type="text" id="product-name" placeholder="Product Name">
<label for="product-price">Product Price</label>
<input type="number" id="product-price" placeholder="Product Price">
<label for="product-image">Image URL</label>
<input type="text" id="product-image" placeholder="Image URL">
<label for="product-category">Category</label>
<select id="product-category">
<option value="" disabled selected>Select Category</option>
<option value="Shoes">Shoes</option>
<option value="Watch">Watch</option>
<option value="Clothes">Clothes</option>
<option value="Phones">Phones</option>
<option value="TV & Monitors">TV & Monitors</option>
<option value="Laptops">Laptops</option>
</select>
<button id="submit-button">Create</button>
</div>
</div>
<div class="products-grid">
<div class="product-card" draggable="true">
<img src="images/shoes/shoe-3.png" alt="T-shirt for Men">
<div class="product-details">
<p>T-shirt for Men</p>
<p>$90.00</p>
<div class="product-actions">
<button class="edit-btn"><i class="fas fa-edit"></i></button>
<button class="delete-btn"><i class="fas fa-trash"></i></button>
</div>
</div>
</div>
<div class="product-card" draggable="true">
<img src="images/shoes/shoe-2.png" alt="Travel Bag Jeans">
<div class="product-details">
<p>Travel Bag Jeans</p>
<p>$19.50</p>
<div class="product-actions">
<button class="edit-btn"><i class="fas fa-edit"></i></button>
<button><i class="fas fa-trash"></i></button>
</div>
</div>
</div>
<div class="product-card" draggable="true">
<img src="images/bags/bag-2.png" alt="Jeans shorts">
<div class="product-details">
<p>Jeans shorts</p>
<p>$70.00</p>
<div class="product-actions">
<button class="edit-btn"><i class="fas fa-edit"></i></button>
<button><i class="fas fa-trash"></i></button>
</div>
</div>
</div>
<!--
<div class="product-card">
<img src="images/bags/bag-3.png" alt="Sofa for interior">
<div class="product-details">
<p>Sofa for interior</p>
<p>$375.00</p>
<div class="product-actions">
<button class="edit-btn"><i class="fas fa-edit"></i></button>
<button><i class="fas fa-trash"></i></button>
</div>
</div>
</div>
<div class="product-card">
<img src="images/shoes/shoe-1.png" alt="Leather Wallet">
<div class="product-details">
<p>Leather Wallet</p>
<p>$375.00</p>
<div class="product-actions">
<button class="edit-btn"><i class="fas fa-edit"></i></button>
<button><i class="fas fa-trash"></i></button>
</div>
</div>
</div>
<div class="product-card">
<img src="images/bags/bag-1.png" alt="Travel Bag Jeans">
<div class="product-details">
<p>Travel Bag Jeans</p>
<p>$375.00</p>
<div class="product-actions">
<button class="edit-btn"><i class="fas fa-edit"></i></button>
<button><i class="fas fa-trash"></i></button>
</div>
</div>
</div>
-->
<!--
<div class="pagination">
<button>Previous</button>
<button>1</button>
<button>2</button>
<button>3</button>
<button>Next</button>
</div>
-->
</div>
</div>
</body>
<script>
document.getElementById('home-button').addEventListener('click', () => {
window.location.href = 'home.html';
});
</script>
<script src="dist/app.js"></script>
<script src="dist/sortable.js"></script>
<script src="dist/sidebar.js"></script>
</html>