diff --git a/public/css/panel.css b/public/css/panel.css index aa0bd1c..8ee99fc 100644 --- a/public/css/panel.css +++ b/public/css/panel.css @@ -341,6 +341,7 @@ .badge-api { background: #1e90cc; } .badge-invitation-only { background: #b87800; } .badge-deprecated { background: #8b3030; } +.badge-nsfw { background: #9b2b9b; } /* OPSEC row layout */ .opsec-row { diff --git a/public/js/arf.js b/public/js/arf.js index 2234b2b..e6fd43b 100644 --- a/public/js/arf.js +++ b/public/js/arf.js @@ -460,6 +460,9 @@ function openPanel(d) { if (d.data.deprecated === true) { badgeHtml += ' Deprecated'; } + if (d.data.nsfw === true) { + badgeHtml += ' NSFW'; + } badgesEl.innerHTML = badgeHtml; badgesEl.classList.remove("empty");