diff --git a/meshview/templates/stats.html b/meshview/templates/stats.html
index d544073..b246d11 100644
--- a/meshview/templates/stats.html
+++ b/meshview/templates/stats.html
@@ -1,330 +1,375 @@
{% extends "base.html" %}
{% block css %}
- #packet_details {
- height: 95vh;
- overflow: auto;
- }
+#packet_details {
+ height: 95vh;
+ overflow: auto;
+}
- .main-container, .container {
- max-width: 900px;
- margin: 0 auto;
- text-align: center;
- }
+.main-container, .container {
+ max-width: 900px;
+ margin: 0 auto;
+ text-align: center;
+}
- .card-section {
- background-color: #272b2f;
- border: 1px solid #474b4e;
- padding: 15px 20px;
- margin-bottom: 20px;
- border-radius: 10px;
- transition: background-color 0.2s ease;
- }
+.card-section {
+ background-color: #272b2f;
+ border: 1px solid #474b4e;
+ padding: 15px 20px;
+ margin-bottom: 20px;
+ border-radius: 10px;
+ transition: background-color 0.2s ease;
+}
- .card-section:hover {
- background-color: #2f3338;
- }
+.card-section:hover {
+ background-color: #2f3338;
+}
- .section-header {
- font-size: 16px;
- margin: 0 0 6px 0;
- font-weight: 500;
- color: #fff;
- }
+.section-header {
+ font-size: 16px;
+ margin: 0 0 6px 0;
+ font-weight: 500;
+ color: #fff;
+}
- .main-header {
- font-size: 22px;
- margin-bottom: 20px;
- font-weight: 600;
- }
+.main-header {
+ font-size: 22px;
+ margin-bottom: 20px;
+ font-weight: 600;
+}
- .chart {
- height: 400px;
- margin-top: 10px;
- }
+.chart {
+ height: 400px;
+ margin-top: 10px;
+}
- .total-count {
- color: #ccc;
- font-size: 14px;
- margin-bottom: 8px;
- }
+.total-count {
+ color: #ccc;
+ font-size: 14px;
+ margin-bottom: 8px;
+}
+
+.expand-btn, .export-btn {
+ margin-bottom: 8px;
+ padding: 4px 8px;
+ cursor: pointer;
+ background-color: #444;
+ color: #fff;
+ border: none;
+ border-radius: 4px;
+ font-size: 12px;
+}
+
+.expand-btn:hover { background-color: #666; }
+.export-btn:hover { background-color: #777; }
{% endblock %}
{% block head %}
-
+
{% endblock %}
{% block body %}
Mesh Statistics - Hourly Packet Counts (Last 24 Hours)
-
+ {# Daily Charts #}
Total: 0
+
+
-
Total: 0
+
+
-
+ {# Hourly Charts #}
Total: 0
+
+
-
Total: 0
+
+
Total: 0
+
+
Total: 0
+
+
Total: 0
+
+
Total: 0
+
+
Total: 0
+
+
-
+ {# Node breakdown charts #}
+
+
-
+
+
-
+
+
+{# Modal for expanded charts #}
+