(text, classes)
| 6927 | const fmt = r => { |
| 6928 | const [c] = _RAGUARD_VERDICT_STYLE[r.verdict] || _RAGUARD_VERDICT_STYLE.unknown; |
| 6929 | const badge = `<span class="px-1.5 py-0.5 rounded border text-[10px] ${c}">${escapeHtml(r.verdict)}</span>`; |
| 6930 | const red = v => v === 1 ? 'text-red-300' : 'text-gray-400'; |
| 6931 | return `<tr class="border-t border-slate-800"> |
| 6932 | <td class="px-2 py-1 font-mono ${r.virtual ? 'text-gray-500' : 'text-gray-200'}">${escapeHtml(r.iface)}</td> |
| 6933 | <td class="px-2 py-1">${badge}</td> |
| 6934 | <td class="px-2 py-1 font-mono ${red(r.accept_redirects)}">${r.accept_redirects}</td> |
| 6935 | <td class="px-2 py-1 font-mono ${red(r.accept_ra_rtr_pref)}">${r.accept_ra_rtr_pref}</td> |
| 6936 | <td class="px-2 py-1 font-mono text-gray-400">${r.accept_ra}</td> |
| 6937 | </tr>`; |
no outgoing calls
no test coverage detected