From fdfbdd50ba81f8440dc66d15c11971a2dcee3bd4 Mon Sep 17 00:00:00 2001 From: Pablo Revilla Date: Tue, 26 Aug 2025 13:23:55 -0700 Subject: [PATCH] Fixed bug with nodegraph.html it was not able to handle some characters on the name_long --- README.md | 4 +- meshview/templates/nodegraph.html | 291 ++++++++++++------------------ 2 files changed, 117 insertions(+), 178 deletions(-) diff --git a/README.md b/README.md index d3d352f..5a6f103 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ The project serves as a real-time monitoring and diagnostic tool for the Meshtas Samples of currently running instances: -- https://meshview.bayme.sh (SF Bay Area) +- https://meshview.bayme.sh (SF Bay Area) - https://www.svme.sh/ (Sacramento Valley) - https://meshview.nyme.sh/ (New York) - https://map.wpamesh.net/ (Western Pennsylvania) @@ -42,7 +42,7 @@ Samples of currently running instances: - https://socalmesh.w4hac.com (Southern California) - https://meshview.lsinfra.de (Hessen - Germany) - https://map.nswmesh.au/ (Sydney - Australia) - +- https://meshview.pvmesh.org/ (Pioneer Valley, Massachusetts) --- ## Installing diff --git a/meshview/templates/nodegraph.html b/meshview/templates/nodegraph.html index 082bd5f..bb8e93c 100644 --- a/meshview/templates/nodegraph.html +++ b/meshview/templates/nodegraph.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% block head %} - + {% endblock %} {% block css %} @@ -11,9 +11,8 @@ border: 1px solid #ddd; background-color: #f8f9fa; border-radius: 10px; - box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); + box-shadow: 0 4px 8px rgba(0,0,0,0.1); } - .search-container { position: absolute; bottom: 100px; @@ -23,7 +22,6 @@ flex-direction: column; gap: 5px; } - .search-container input, .search-container select, .search-container button { @@ -31,45 +29,40 @@ border-radius: 8px; border: 1px solid #ccc; } - .search-container button { background-color: #007bff; color: white; cursor: pointer; } - .search-container button:hover { background-color: #0056b3; } - #node-info { position: absolute; bottom: 10px; right: 10px; - background-color: rgba(255, 255, 255, 0.95); + background-color: rgba(255,255,255,0.95); padding: 12px; border-radius: 8px; border: 1px solid #ccc; - box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); + box-shadow: 0 2px 6px rgba(0,0,0,0.1); font-size: 14px; color: #333; width: 260px; max-height: 250px; overflow-y: auto; } - #legend { position: absolute; bottom: 10px; left: 10px; - background: rgba(255, 255, 255, 0.9); + background: rgba(255,255,255,0.9); padding: 10px; border-radius: 5px; border: 1px solid #ccc; - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); + box-shadow: 0 2px 4px rgba(0,0,0,0.1); font-size: 14px; } - .legend-box { display: inline-block; width: 12px; @@ -83,7 +76,7 @@
- + @@ -97,182 +90,128 @@
-
Traceroute
-
Neighbor
+
Traceroute
+
Neighbor
- {% endblock %}