-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdashboard.html
More file actions
116 lines (84 loc) · 2.24 KB
/
Copy pathdashboard.html
File metadata and controls
116 lines (84 loc) · 2.24 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FeedLoop AI | Dashboard</title>
<link rel="stylesheet" href="css/style.css">
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
</head>
<body>
<a href="index.html" class="back-btn">← Back</a>
<button id="themeToggle" class="theme-btn">
🌙
</button>
<section class="dashboard-page">
<h2>FeedLoop Analytics Dashboard</h2>
<div class="dashboard-cards">
<div class="dashboard-card">
<h3>Meals Saved</h3>
<p id="foodQuantity">0 Meals</p>
</div>
<div class="dashboard-card">
<h3>NGOs Connected</h3>
<p id="donationCount">0</p>
</div>
<div class="dashboard-card">
<h3>Food Waste Reduced</h3>
<p id="wasteReduced">0 kg</p>
</div>
</div>
<div class="chart-container">
<canvas id="myChart"></canvas>
</div>
</section>
<footer>
<div class="footer-logo">
<img src="images/logo.png" class="footer-logo-img">
<div>
<h2>
<span class="feed">Feed</span><span class="loop-text">Loop</span>
<span class="ai">AI</span>
</h2>
<p class="footer-tagline">
Smart Technology for Zero Food Waste
</p>
</div>
</div>
<p>
AI-powered food redistribution platform connecting restaurants,
hostels and households with NGOs.
</p>
<br>
<p>
Driven by technology. Inspired by sustainability.
Committed to zero food waste.
</p>
<br>
<p>
© 2026 FeedLoop AI • All Rights Reserved.
</p>
</footer>
<script>
const ctx = document.getElementById('myChart');
new Chart(ctx, {
type: 'bar',
data: {
labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May'],
datasets: [{
label: 'Meals Distributed',
data: [120, 250, 300, 450, 600],
borderWidth: 1
}]
},
options: {
responsive: true,
maintainAspectRatio: false
}
});
</script>
<script type="module" src="js/dashboard.js"></script>
<script type="module" src="js/script.js"></script>
<script src="js/theme.js"></script>
</body>
</html>