(sort)
| 13194 | |
| 13195 | function _showPwnConfigAlert(el, msg, type) { |
| 13196 | if (!el) return; |
| 13197 | el.classList.remove('hidden'); |
| 13198 | el.textContent = msg; |
| 13199 | if (type === 'success') { |
| 13200 | el.className = 'mb-4 p-3 rounded-lg text-sm bg-green-900/40 text-green-300 border border-green-700'; |
| 13201 | } else { |
| 13202 | el.className = 'mb-4 p-3 rounded-lg text-sm bg-red-900/40 text-red-300 border border-red-700'; |
| 13203 | } |
| 13204 | } |
| 13205 | |
| 13206 | function _pwnBadgesHTML(net) { |
| 13207 | let badges = ''; |
| 13208 | if (net.has_handshake) { |
| 13209 | const types = (net.handshake_types || []).join(', '); |
nothing calls this directly
no test coverage detected