diff --git a/static/dashboard.html b/static/dashboard.html
index 9c2cc0b..dd7a3a7 100644
--- a/static/dashboard.html
+++ b/static/dashboard.html
@@ -13,7 +13,7 @@
SSL
-
-
+
PROFILING
Updated: -
diff --git a/static/dashboard.js b/static/dashboard.js
index 36a0098..91ad179 100644
--- a/static/dashboard.js
+++ b/static/dashboard.js
@@ -267,12 +267,18 @@ function update(d) {
if (sslBadge) {
sslBadge.style.display = d.use_ssl ? 'inline-block' : 'none';
}
- // Check type badge (fallback/secondary indicator)
- var ct = d.checktype || 'unknown';
- var ctBadge = $('checktypeBadge');
- if (ctBadge) {
- ctBadge.textContent = ct.toUpperCase();
- ctBadge.className = 'mode-badge mode-' + ct;
+ // Check type badges (multiple supported)
+ var ctContainer = $('checktypeBadges');
+ if (ctContainer) {
+ var checktypes = (d.checktype || 'unknown').split(',');
+ var badgeColors = {judges: 'blu', head: 'grn', ssl: 'cyn', irc: 'pur', unknown: 'dim'};
+ var html = '';
+ checktypes.forEach(function(ct) {
+ ct = ct.trim();
+ var color = badgeColors[ct] || 'dim';
+ html += '
' + ct.toUpperCase() + '';
+ });
+ ctContainer.innerHTML = html;
}
// Profiling badge
var profBadge = $('profileBadge');