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