Keep default
This commit is contained in:
parent
41f2994c22
commit
aa599cbb10
|
@ -63,10 +63,10 @@ class AttackReport extends React.Component {
|
||||||
return 'collapse-warning';
|
return 'collapse-warning';
|
||||||
case ScanStatus.USED:
|
case ScanStatus.USED:
|
||||||
return 'collapse-danger';
|
return 'collapse-danger';
|
||||||
case ScanStatus.UNSCANNED:
|
|
||||||
return 'collapse-unscanned';
|
|
||||||
case ScanStatus.DISABLED:
|
case ScanStatus.DISABLED:
|
||||||
return 'collapse-disabled';
|
return 'collapse-disabled';
|
||||||
|
default:
|
||||||
|
return 'collapse-default';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,11 +76,11 @@ class AttackReport extends React.Component {
|
||||||
return <FontAwesomeIcon icon={faEye} className={'technique-status-icon'}/>;
|
return <FontAwesomeIcon icon={faEye} className={'technique-status-icon'}/>;
|
||||||
case ScanStatus.USED:
|
case ScanStatus.USED:
|
||||||
return <FontAwesomeIcon icon={faRadiation} className={'technique-status-icon'}/>;
|
return <FontAwesomeIcon icon={faRadiation} className={'technique-status-icon'}/>;
|
||||||
case ScanStatus.UNSCANNED:
|
|
||||||
return <FontAwesomeIcon icon={faEyeSlash} className={'technique-status-icon'}/>;
|
|
||||||
case ScanStatus.DISABLED:
|
case ScanStatus.DISABLED:
|
||||||
return <FontAwesomeIcon icon={faToggleOff} className={'technique-status-icon'}/>;
|
return <FontAwesomeIcon icon={faToggleOff} className={'technique-status-icon'}/>;
|
||||||
}
|
default:
|
||||||
|
return <FontAwesomeIcon icon={faEyeSlash} className={'technique-status-icon'}/>;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
renderLegend() {
|
renderLegend() {
|
||||||
|
|
|
@ -3,7 +3,7 @@ $transition: 300ms cubic-bezier(0.6, 0.3, 0.3, 0.6);
|
||||||
$danger-color: #ebbcba;
|
$danger-color: #ebbcba;
|
||||||
$disabled-color: #b7c2ff;
|
$disabled-color: #b7c2ff;
|
||||||
$info-color: #ade3eb;
|
$info-color: #ade3eb;
|
||||||
$unscanned-color: #e0ddde;
|
$default-color: #e0ddde;
|
||||||
$warning-color: #ffe28d;
|
$warning-color: #ffe28d;
|
||||||
|
|
||||||
.collapse-item button {
|
.collapse-item button {
|
||||||
|
@ -51,8 +51,8 @@ $warning-color: #ffe28d;
|
||||||
background-color: $info-color !important;
|
background-color: $info-color !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.collapse-unscanned {
|
.collapse-default {
|
||||||
background-color: $unscanned-color !important;
|
background-color: $default-color !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.collapse-disabled {
|
.collapse-disabled {
|
||||||
|
|
Loading…
Reference in New Issue