#12249 column secmon

This commit is contained in:
Daniel Cebrian 2023-11-13 15:27:07 +01:00
parent 9f3e09ac10
commit dc714a5b9f
1 changed files with 17 additions and 0 deletions

View File

@ -8249,4 +8249,21 @@ function ui_print_status_vulnerability_div(float $score)
}
return $return;
}
function ui_print_status_secmon_div($status)
{
$class = 'status_rounded_rectangles forced_title';
if (($status) === 'normal') {
return ui_print_div('group_view_ok '.$class, __('normal'));
}
if (($status) === 'warning') {
return ui_print_div('group_view_warn '.$class, __('warning'));
}
if (($status) === 'critical') {
return ui_print_div('group_view_crit '.$class, __('critical'));
}
}