feat(central-ui): MES badge on live alarm rows and template native-source list (ScadaBridge#102 item 3)

Claude-Session: https://claude.ai/code/session_01GT67AEHd2Acv1YPwGfXEoV
This commit is contained in:
Joseph Doherty
2026-11-09 15:30:12 -05:00
parent 47af424c2e
commit b540d8ac2c
3 changed files with 29 additions and 0 deletions
@@ -24,6 +24,11 @@
<span class="badge bg-info text-dark me-1" aria-label="Suppressed">Suppressed</span>
}
}
@if (Alarm.IsMesReportable)
{
<span class="badge bg-success me-1" data-test="alarm-mes-badge"
title="Reported by the MES alarm-status API" aria-label="MES reportable">MES</span>
}
<span class="font-monospace small text-muted me-1"
aria-label="@($"Severity: {Alarm.Condition.Severity}")">sev @Alarm.Condition.Severity</span>
@if (Alarm.Level != AlarmLevel.None)