From 61de37336af8fd0545ef9d48526162d541f8348f Mon Sep 17 00:00:00 2001 From: l5y <220195275+l5yth@users.noreply.github.com> Date: Sat, 13 Sep 2025 10:56:17 +0200 Subject: [PATCH] web: add simple index page (#4) --- web/app.rb | 4 + web/public/index.html | 179 +++--------------------------------------- web/public/nodes.html | 179 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 194 insertions(+), 168 deletions(-) create mode 100644 web/public/nodes.html diff --git a/web/app.rb b/web/app.rb index a931aae..0780d1d 100644 --- a/web/app.rb +++ b/web/app.rb @@ -37,3 +37,7 @@ end get "/" do send_file File.join(settings.public_folder, "index.html") end + +get "/nodes" do + send_file File.join(settings.public_folder, "nodes.html") +end diff --git a/web/public/index.html b/web/public/index.html index 112a448..7692acd 100644 --- a/web/public/index.html +++ b/web/public/index.html @@ -3,177 +3,20 @@
-| Node ID | -Short | -Long Name | -HW Model | -Role | -SNR | -Battery | -Last Seen | -Lat | -Lon | -Pos Time (UTC) | -
|---|
Welcome to the Potato Mesh dashboard.
+