diff --git a/pandora_console/operation/agentes/estado_generalagente.php b/pandora_console/operation/agentes/estado_generalagente.php index 414cf7571e..641f58c714 100755 --- a/pandora_console/operation/agentes/estado_generalagente.php +++ b/pandora_console/operation/agentes/estado_generalagente.php @@ -708,23 +708,17 @@ if ($last_incident != false) { $table_incident->width = '100%'; $table_incident->cellspacing = 0; $table_incident->cellpadding = 0; - $table_incident->class = 'white_table'; - $table_incident->style = array_fill(0, 3, 'width: 25%;'); + $table_incident->class = 'info_table tactical_table'; - $table_incident->head[0] = ' '.__('Active incident on this agent').''; - $table_incident->head_colspan[0] = 4; + $table_incident->head[0] = ''.__('Author').''; + $table_incident->head[1] = ''.__('Title').''; + $table_incident->head[2] = ''.__('Timestamp').''; + $table_incident->head[3] = ''.__('Priority').''; $data = []; - $data[0] = ''.__('Author').''; - $data[1] = $last_incident['id_creator']; - $data[2] = ''.__('Timestamp').''; - $data[3] = $last_incident['inicio']; - $table_incident->data[] = $data; - - $data = []; - $data[0] = ''.__('Title').''; + $data[0] = $last_incident['id_creator']; $data[1] = ''.$last_incident['titulo'].''; - $data[2] = ''.__('Priority').''; + $data[2] = $last_incident['inicio']; $data[3] = incidents_print_priority_img($last_incident['prioridad'], true); $table_incident->data[] = $data; } @@ -994,8 +988,18 @@ if (empty($agentIncidents) === false) { html_print_div( [ 'class' => 'agent_details_line', - 'content' => $agentIncidents, - ] + 'content' => ui_toggle( + '