Move replay button next to View Route in packet detail

This commit is contained in:
you
2026-03-19 06:38:54 +00:00
parent 4faf5463f4
commit aefdfd500f
+1 -2
View File
@@ -475,13 +475,12 @@
<dt>Path</dt><dd>${pathHops.length ? renderPath(pathHops) : '—'}</dd>
</dl>
${pathHops.length ? `<button class="detail-map-link" id="viewRouteBtn">🗺️ View route on map</button>` : ''}
<button class="replay-live-btn" title="Replay this packet on the live map">▶ Replay on Live Map</button>
${hasRawHex ? `<div class="hex-legend">${buildHexLegend(ranges)}</div>
<div class="hex-dump">${createColoredHexDump(pkt.raw_hex, ranges)}</div>` : ''}
${hasRawHex ? buildFieldTable(pkt, decoded, pathHops, ranges) : buildDecodedTable(decoded)}
<button class="replay-live-btn" title="Replay this packet on the live map">▶ Replay on Live Map</button>
`;
// Wire up replay button