mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-06-29 06:21:42 +02:00
CHANGE NAME FROM reach to reliability
This commit is contained in:
@@ -341,7 +341,7 @@
|
||||
<span>🔳</span> <span data-translate-lang="show_qr_code">Show QR Code</span>
|
||||
</button>
|
||||
<button onclick="openReachReport()" id="reachReportBtn">
|
||||
<span>📈</span> <span>Reach</span>
|
||||
<span>📈</span> <span>Reliability</span>
|
||||
</button>
|
||||
<button onclick="toggleCoverage()" id="toggleCoverageBtn" disabled title="Location required for coverage">
|
||||
<span>📡</span> <span data-translate-lang="toggle_coverage">Predicted Coverage</span>
|
||||
@@ -1835,7 +1835,7 @@ function showQrCode() {
|
||||
|
||||
function openReachReport() {
|
||||
if (!fromNodeId) return;
|
||||
window.location.href = `/reach?node_id=${encodeURIComponent(fromNodeId)}`;
|
||||
window.location.href = `/reliability?node_id=${encodeURIComponent(fromNodeId)}`;
|
||||
}
|
||||
|
||||
function closeQrModal() {
|
||||
|
||||
@@ -154,10 +154,10 @@
|
||||
{% block body %}
|
||||
<main class="reach-page">
|
||||
<div class="reach-header">
|
||||
<h1>Reach Report</h1>
|
||||
<h1>Reliability</h1>
|
||||
<p class="text-secondary mb-0">
|
||||
Review how often each gateway hears packets from a selected node. The report uses the
|
||||
latest selected packet sample and calculates reach as heard packets divided by packets
|
||||
latest selected packet sample and calculates reliability as heard packets divided by packets
|
||||
reviewed. The range table groups gateways by reliability bands, while the gateway list
|
||||
shows each gateway's heard count and percentage for the same sample.
|
||||
</p>
|
||||
@@ -227,7 +227,7 @@
|
||||
<tr>
|
||||
<th>Gateway</th>
|
||||
<th>Heard</th>
|
||||
<th>Reach</th>
|
||||
<th>Reliability</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="reach-packet-body-left">
|
||||
@@ -243,7 +243,7 @@
|
||||
<tr>
|
||||
<th>Gateway</th>
|
||||
<th>Heard</th>
|
||||
<th>Reach</th>
|
||||
<th>Reliability</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="reach-packet-body-right">
|
||||
+3
-3
@@ -259,9 +259,9 @@ async def map(request):
|
||||
return web.Response(text=template.render(), content_type="text/html")
|
||||
|
||||
|
||||
@routes.get("/reach")
|
||||
async def reach(request):
|
||||
template = env.get_template("reach.html")
|
||||
@routes.get("/reliability")
|
||||
async def reliability(request):
|
||||
template = env.get_template("reliability.html")
|
||||
return web.Response(text=template.render(), content_type="text/html")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user