Alarm Table text bold if 'Style with severity' is checked
Description
Lucidchart Diagrams
Activity

Benjamin Reed December 3, 2018 at 8:44 PM
Agreed, the bold fonts on severity-selected rows looks odd.
This change is part of the ranger/helm-3-improvements branch that will include a few other HELM-* issues as well. WIP here: https://github.com/OpenNMS/opennms-helm/tree/ranger/helm-3-improvements

msr September 26, 2018 at 10:12 AM
For those willing this to be as described, as workaround just remove from CSS table.dark.css and table.light.css the font-weight:600 and replace by font-weight:normal in all severity class.
Described example also sets severity color pallete to match OpenNMS UI.
.severity .indeterminate
{
font-weight:normal;
color: black;
background-color: #ebebcd;
}
.severity .cleared
{
font-weight:normal;
color: black;
background-color: #eeeeee;
}
.severity .normal
{
font-weight:normal;
color: black;
background-color: #d7e1cd;
}
.severity .warning
{
font-weight:normal;
color: black;
background-color: #fff5cd;
}
.severity .minor
{
font-weight:normal;
color: black;
background-color: blanchedalmond;
}
.severity .major
{
font-weight:normal;
color: black;
background-color: #ffd7cd;
}
.severity .critical
{
font-weight:normal;
color: black;
background-color: #f5cdcd;
}
Details
Details
Assignee

Reporter

Labels
Components
Sprint
Fix versions
Priority
PagerDuty
PagerDuty Incident
PagerDuty

Alarm Table text is all being displayed as Bold if using 'Style with severity' mode.
Is it possible to disable such default bold format when using 'Sanitize HTML' together with 'Style with severity'? (Either with some configuration in HELM plugin or grafana)
When deselecting 'Style with severity' we have expected behavior, in which text is not bold except if defined as HTML code in Log Message field (Requires 'Sanitize HTML' option).
We use a lot HTML bold in alarm LogMsg to highlight most important parts of description.