MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / removeScanSubnet

Function removeScanSubnet

web/scripts/ragnar_modern.js:21324–21335  ·  view source on GitHub ↗
(cidr)

Source from the content-addressed store, hash-verified

21322 const networkStats = document.getElementById('network-stats');
21323 if (!networkStats) return;
21324
21325 let html = '';
21326
21327 // Connection summary
21328 html += `
21329 <div class="bg-slate-800 rounded p-3">
21330 <h4 class="font-medium mb-2">Connections</h4>
21331 <div class="text-2xl font-bold text-blue-400">${data.total_connections}</div>
21332 <div class="text-xs text-gray-400">Total active</div>
21333 </div>
21334 `;
21335
21336 // Interface statistics
21337 Object.entries(data.interfaces).slice(0, 4).forEach(([name, stats]) => {
21338 html += `

Callers

nothing calls this directly

Calls 3

errorMethod · 0.80
networkAwareFetchFunction · 0.70
loadScanSubnetsFunction · 0.70

Tested by

no test coverage detected