Adjust host status colors

This commit is contained in:
Marliana Lara 2020-02-06 11:21:14 -05:00
parent 4be7cf66ec
commit 028a0a9279
No known key found for this signature in database
GPG Key ID: 38C73B40DFA809EE
2 changed files with 14 additions and 14 deletions

View File

@ -30,24 +30,24 @@ const HostStatusBar = ({ i18n, counts = {} }) => {
const noData = Object.keys(counts).length === 0;
const hostStatus = {
ok: {
color: '#92D400',
color: '#4CB140',
label: i18n._(t`OK`),
},
dark: {
color: '#470000',
label: i18n._(t`Unreachable`),
},
failures: {
color: '#C9190B',
label: i18n._(t`Failed`),
skipped: {
color: '#73BCF7',
label: i18n._(t`Skipped`),
},
changed: {
color: '#F0AB00',
label: i18n._(t`Changed`),
},
skipped: {
color: '#73BCF7',
label: i18n._(t`Skipped`),
failures: {
color: '#C9190B',
label: i18n._(t`Failed`),
},
dark: {
color: '#8B8D8F',
label: i18n._(t`Unreachable`),
},
};

View File

@ -29,10 +29,10 @@ describe('<HostStatusBar />', () => {
const tooltips = wrapper.find('TooltipContent');
const expectedContent = [
{ label: 'OK', count: 5 },
{ label: 'Unreachable', count: 0 },
{ label: 'Failed', count: 0 },
{ label: 'Changed', count: 0 },
{ label: 'Skipped', count: 1 },
{ label: 'Changed', count: 0 },
{ label: 'Failed', count: 0 },
{ label: 'Unreachable', count: 0 },
];
tooltips.forEach((tooltip, index) => {