-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
123 lines (114 loc) · 4.88 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
<!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>Vending Machine Sales</title>
<!-- ======= Styles css ====== -->
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="https://cdn.datatables.net/2.0.8/css/dataTables.dataTables.css" />
</head>
<body>
<!-- =============== Navigation side bar================ -->
<div class="container">
<div class="navigation">
<ul>
<li>
<a href="#">
<span class="icon">
<img src="assets/imgs/vending.svg" width="25px" alt="Vending Icon">
</span>
<span class="title">Vending Machine Sales</span>
</a>
</li>
<li>
<a href="#">
<span class="icon">
<ion-icon name="home-outline"></ion-icon>
</span>
<span class="title">Dashboard</span>
</a>
</li>
</ul>
</div>
<!-- ========================= Main isi konten ==================== -->
<div class="main">
<div class="topbar">
<div class="toggle">
<ion-icon name="menu-outline"></ion-icon>
</div>
<header>
<h1>Dashboard <span>Vending Machine Sales</span></h1>
</header>
<div class="user">
<img src="assets/imgs/logo.png" alt="User Logo">
</div>
</div>
<div class="content-container">
<div class="filters">
<select id="categoryDropdown" >
<option value="all">Search Category</option>
</select>
<select id="productDropdown" >
<option value="all">Search Product</option>
</select>
</div>
<div class="stats">
<div class="stat-card">
<h2>Average Revenue</h2>
<p id="average-revenue"></p>
</div>
<div class="stat-card">
<h2>Top Sales Location</h2>
<p id="top-Sales"></p>
</div>
</div>
<div class="data-section">
<div class="product-list">
<table id="example" class="display">
<thead>
<tr>
<th>Status</th>
<th>Device_ID</th>
<th>Location</th>
<th>Machine</th>
<th>Product</th>
<th>Category</th>
<th>TransDate</th>
<th>Type</th>
<th>TransTotal</th>
</tr>
</thead>
<tbody id="example-body"></tbody>
</table>
</div>
<div class="transaction-type">
<canvas id="transactionTypeChart"></canvas>
</div>
<div class="total-revenue">
<canvas id="revenueChart"></canvas>
</div>
<div class="sales-category">
<canvas id="salesCategoryChart"></canvas>
</div>
<div class="sales-month">
<canvas id="salesMonth"></canvas>
</div>
</div>
</div>
<footer class="footerButtom">
<p>Copyright ©2024; Design by <span class="designer">Team 2 Surabaya</span></p>
</footer>
</div>
</div>
<!-- =========== Scripts ========= -->
<script src="assets/js/main.js"></script>
<!-- ====== ionicons buat icon ======= -->
<script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>
<script src="https://code.jquery.com/jquery-3.7.1.slim.min.js" integrity="sha256-kmHvs0B+OpCW5GVHUNjv9rOmY0IvSIRcf7zGUDTDQM8=" crossorigin="anonymous"></script>
<script src="https://cdn.datatables.net/2.0.8/js/dataTables.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
</body>
</html>