-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
209 lines (206 loc) · 7.18 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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Team Five Bicycle Dashboard</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/2.0.8/css/dataTables.dataTables.min.css">
<link rel="stylesheet" href="prduct.css" />
<link href='https://fonts.googleapis.com/css?family=Mulish' rel='stylesheet'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link rel="icon" href="assets/revou.png" />
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<script src="https://cdn.datatables.net/2.0.8/js/dataTables.min.js"></script>
</head>
<body>
<!-- Header -->
<header id="header">
<div class="name">
<h1><span>TEAM 5 SURABAYA</span></h1>
<span class="names">Selamat datang di Dashboard Team Five Bicycle!</span>
</div>
<!-- navbar -->
<nav>
<p class="fas fa-envelope" id="contact-button"></p>
<div id="contact-form-container">
<form id="contact-form">
<p class="fas fa-envelope" id="contact-email"></p>
<label for="name">Name:</label>
<input type="text" id="name" name="name" placeholder="enter your name" required />
<label for="email">Email:</label>
<input type="email" id="email" name="email" placeholder="enter your email" required />
<label for="message">Message:</label>
<textarea id="message" name="message" rows="5" cols="30" placeholder="write a message" required></textarea>
<button type="submit">Send</button>
</form>
</div>
</nav>
</header>
<!-- hamburger menu -->
<button id="menu-toggle" class="hamburger">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</button>
<!-- Category Filter -->
<label class="categoryFilter" for="categoryFilter">Categories</label>
<select id="categoryFilter">
<option value="all">All Categories</option>
<option value="bikes">Bikes</option>
<option value="accessories">Accessories</option>
<option value="clothing">Clothing</option>
</select>
<!-- Year Filter -->
<label class="yearFilter" for="yearFilter">Years</label>
<select id="yearFilter">
<option value="all">All Years</option>
<option value="2011">2011</option>
<option value="2012">2012</option>
<option value="2013">2013</option>
</select>
<!-- aside -->
<aside id="aside">
<div class="logo">
<img src="assets/logo.png" alt="Logo" />
</div>
<a href="index.html" class="aside-link active">
<i class="fas fa-tachometer-alt"></i>
<span>Dashboard</span>
</a>
<a href="insights/insights.html" class="aside-link">
<i class="fas fa-chart-line"></i>
<span>Insights</span>
</a>
<!-- Dropdown for Products -->
<button class="aside-link" id="dropdown-product">
<i class="fas fa-shopping-bag"></i>
<span>Products</span>
</button>
<div class="aside-link-products" id="link-products">
<a href="product/accessories.html"></i><span>Accessories</span></a>
<a href="product/bikes.html"></i><span>Bikes</span></a>
<a href="product/clothing.html"></i><span>Clothing</span></a>
</div>
<a href="profit/profit.html" class="aside-link">
<i class="fas fa-dollar-sign"></i>
<span> Profit</span>
</a>
</aside>
<!-- main -->
<main>
<div class="boxes">
<!-- Profit Percentage Box -->
<div class="box box1">
<i class="fas fa-percentage"></i>
<span class="number-container">
<span class="number" data-target="43">0</span><span class="suffix">%</span>
</span>
<span class="text">Percentage Profit</span>
</div>
<!-- Country Box -->
<div class="box box2">
<i class="fas fa-globe-americas"></i>
<span class="number" data-target="6">0</span>
<span class="text">Country</span>
</div>
<!-- Product Box -->
<div class="box box3">
<i class="fas fa-box-open"></i>
<span class="number" data-target="130">0</span>
<span class="text">Product</span>
</div>
<!-- Total Order Box -->
<div class="box box4">
<i class="fas fa-shopping-cart"></i>
<span class="number-container">
<spanclass="prefix"></spanclass=><span class="number" data-target="298">0</span>
<span class="prefix">,</span><span class="number" data-target="679">0</span>
</span>
<span class="text">Total Order</span>
</div>
<!-- Total Cost Box -->
<div class="box box4">
<i class="fas fa-money-bill-alt"></i>
<span class="number-container">
<span class="prefix">$</span><span class="number" data-target="14">0</span>
<span class="prefix">,</span><span class="number" data-target="944">0</span>
<span class="prefix">,</span><span class="number" data-target="199">0</span>
</span>
<span class="text">Total Cost</span>
</div>
<!-- Revenue Box -->
<div class="box box4">
<i class="fas fa-money-check-alt"></i>
<span class="number-container">
<span class="prefix">$</span><span class="number" data-target="26">0</span>
<span class="prefix">,</span><span class="number" data-target="094">0</span>
<span class="prefix">,</span><span class="number" data-target="670">0</span>
</span>
<span class="text">Revenue</span>
</div>
</div>
</main>
<!-- Charts and Table Section -->
<section>
<div class="charts">
<!-- Line Chart for Profit -->
<div class="chart-container">
<p>Profit</p>
<canvas id="lineChart"></canvas>
</div>
<!-- Doughnut Chart for Profit by Country -->
<div class="chart-container">
<p>Profit By Country</p>
<canvas id="doughnutChart"></canvas>
</div>
<!-- Bar Chart for Profit by Product -->
<div class="chart-container">
<p>Profit By Product</p>
<canvas id="barChart"></canvas>
</div>
</div>
</section>
<!-- Table for Top Products -->
<section>
<div class="charts2">
<div class="chart2-containerTable">
<p>Top Product</p>
<table id="DataTable" class="display">
<thead>
<tr>
<th>Product</th>
<th>Product Category</th>
<th>Order Quantity</th>
</tr>
</thead>
<tbody id="example-body">
</tbody>
</table>
</div>
<div class="charts3">
<div class="chart-container3">
<p>Total Cost By Sub Category</p>
<canvas id="barChartDifference"></canvas>
</div>
<!-- Bar Chart for Order Quantity -->
<div class="chart-container3">
<p>Order Quantity</p>
<canvas id="barChartQty"></canvas>
</div>
</div>
</div>
</section>
<br /><br />
<!-- footer -->
<footer>
<span class="footer-container">
<p>© Revou Tech Academy 2024 | Team 5 Surabaya</p>
</span>
</footer>
<!-- Scripts -->
<script src="index.js"></script>
</body>
</html>