diff --git a/public/nodes.js b/public/nodes.js index 0e20d034..2d80603d 100644 --- a/public/nodes.js +++ b/public/nodes.js @@ -120,7 +120,7 @@ ${hasLoc ? `
` : ''}
${escapeHtml(n.name || '(unnamed)')}
-
${n.role} ${statusLabel}
+
${n.role} ${n.hash_size ? `${n.hash_size}-byte hash` : ''} ${statusLabel}
${n.public_key}
@@ -139,6 +139,7 @@ ${stats.avgSnr != null ? `
Avg SNR
${stats.avgSnr.toFixed(1)} dB
` : ''} ${stats.avgHops ? `
Avg Hops
${stats.avgHops}
` : ''} ${hasLoc ? `
Location
${n.lat.toFixed(5)}, ${n.lon.toFixed(5)}
` : ''} +
Hash Size
${n.hash_size ? n.hash_size + '-byte (' + (n.hash_size * 2) + ' hex chars)' : 'Unknown'}
@@ -500,8 +501,8 @@
${hasLoc ? `
` : ''}
${escapeHtml(n.name || '(unnamed)')}
-
${n.role} ${statusLabel} - +
${n.role} ${n.hash_size ? `${n.hash_size}-byte hash` : ''} ${statusLabel} + 🔍 Details 📊 Analytics
@@ -593,15 +594,6 @@ } catch {} } - // Copy URL - document.getElementById('copyUrlBtn').addEventListener('click', () => { - navigator.clipboard.writeText(nodeUrl).then(() => { - const btn = document.getElementById('copyUrlBtn'); - btn.textContent = '✅ Copied!'; - setTimeout(() => btn.textContent = '📋 Copy URL', 2000); - }).catch(() => {}); - }); - // Fetch paths through this node api('/nodes/' + encodeURIComponent(n.public_key) + '/paths', { ttl: CLIENT_TTL.nodeDetail }).then(pathData => { const el = document.getElementById('pathsContent');