From 69150b2efc21b0163354f24ce8390cba5ea3b9ce Mon Sep 17 00:00:00 2001 From: pablorevilla-meshtastic Date: Sat, 23 May 2026 09:53:21 -0700 Subject: [PATCH] add node to nodelist --- meshview/templates/nodelist.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/meshview/templates/nodelist.html b/meshview/templates/nodelist.html index cd9d632..5002d17 100644 --- a/meshview/templates/nodelist.html +++ b/meshview/templates/nodelist.html @@ -103,6 +103,12 @@ select, .export-btn, .search-box, .clear-btn { font-weight: bold; color: white; } +.node-list-note { + width: 80%; + margin: -4px auto 10px; + color: rgba(255, 255, 255, 0.68); + font-size: 0.9em; +} .node-status { margin-left: 10px; padding: 2px 8px; @@ -252,6 +258,9 @@ select, .export-btn, .search-box, .clear-btn { nodes +
+ Showing all nodes active in the last 3 days. +
@@ -416,7 +425,7 @@ document.addEventListener("DOMContentLoaded", async function() { try { setStatus("Loading nodes…"); await nextFrame(); - const res = await fetch("/api/nodes"); + const res = await fetch("/api/nodes?days_active=3"); if (!res.ok) throw new Error("Failed to fetch nodes"); const data = await res.json();