diff --git a/pandora_console/godmode/agentes/fields_manager.php b/pandora_console/godmode/agentes/fields_manager.php index ed5f2dcd68..aed5bc69a3 100644 --- a/pandora_console/godmode/agentes/fields_manager.php +++ b/pandora_console/godmode/agentes/fields_manager.php @@ -174,7 +174,7 @@ foreach ($fields as $field) { $data[1] = $field['name']; $data[2] = html_print_image( - ((bool) $field['display_on_front'] === true) ? 'images/validate.svg' : 'images/icono_stop.png', + ((bool) $field['display_on_front'] === true) ? 'images/validate.svg' : 'images/fail@svg.svg', true, ['class' => 'main_menu_icon invert_filter'] ); diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php index 01b259fe7b..ca6d948117 100755 --- a/pandora_console/include/ajax/module.php +++ b/pandora_console/include/ajax/module.php @@ -1279,14 +1279,14 @@ if (check_login()) { $linkCaption = __('Refresh'); } - $moduleActionButtons[] = html_print_button( - $linkCaption, - 'additional_action_for_'.$idAgenteModulo, - false, - 'window.location.assign("index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente='.$id_agente.'&id_agente_modulo='.$module['id_agente_modulo'].'&refr=60'.$addedLinkParams.'")', + $moduleActionButtons[] = html_print_anchor( [ - 'mode' => 'link', - 'style' => 'justify-content: flex-end;', + 'href' => 'index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente='.$id_agente.'&id_agente_modulo='.$module['id_agente_modulo'].'&refr=60'.$addedLinkParams.'"', + 'content' => html_print_image( + 'images/go-back@svg.svg', + true, + [ 'class' => 'main_menu_icon' ] + ), ], true ); @@ -1296,14 +1296,14 @@ if (check_login()) { if ((bool) check_acl($config['id_user'], $id_grupo, 'AW') === true && $cluster_view === false ) { - $moduleActionButtons[] = html_print_button( - __('Edit'), - 'edit_module_'.$idAgenteModulo, - false, - 'window.location.assign("index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente='.$id_agente.'&tab=module&id_agent_module='.$module['id_agente_modulo'].'&edit_module='.$module['id_modulo'].'")', + $moduleActionButtons[] = html_print_anchor( [ - 'mode' => 'link', - 'style' => 'justify-content: flex-end;', + 'href' => 'index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&id_agente='.$id_agente.'&tab=module&id_agent_module='.$module['id_agente_modulo'].'&edit_module='.$module['id_modulo'].'"', + 'content' => html_print_image( + 'images/edit.svg', + true, + [ 'class' => 'main_menu_icon' ] + ), ], true ); diff --git a/pandora_console/include/styles/pandora_black.css b/pandora_console/include/styles/pandora_black.css index 9a0a6ac63e..4ff0e5b7ce 100644 --- a/pandora_console/include/styles/pandora_black.css +++ b/pandora_console/include/styles/pandora_black.css @@ -774,6 +774,11 @@ form ul.form_flex { filter: invert(100%); } +.info_table .invert_filter, +.info_table .labels { + filter: invert(100%); +} + .graph_conteiner_inside, .container_table, .second_background, diff --git a/pandora_console/operation/agentes/alerts_status.php b/pandora_console/operation/agentes/alerts_status.php index bb3d0e9a39..1378351614 100755 --- a/pandora_console/operation/agentes/alerts_status.php +++ b/pandora_console/operation/agentes/alerts_status.php @@ -371,11 +371,12 @@ if ($agent_view_page === true) { [ 'id' => 'alerts_status_datatable', 'class' => 'info_table', - 'style' => 'width: 100%', + 'style' => 'width: 99%', 'columns' => $columns, 'column_names' => $column_names, 'no_sortable_columns' => $no_sortable_columns, 'ajax_url' => 'include/ajax/alert_list.ajax', + 'dom_elements' => 'pfrti', 'ajax_data' => [ 'get_agent_alerts_datatable' => 1, 'id_agent' => $idAgent, @@ -406,6 +407,7 @@ if ($agent_view_page === true) { ], ], 'no_toggle' => true, + 'class' => 'flex', ], ] ); diff --git a/pandora_console/operation/agentes/estado_monitores.php b/pandora_console/operation/agentes/estado_monitores.php index 0d04a3b6f0..57f06fd940 100755 --- a/pandora_console/operation/agentes/estado_monitores.php +++ b/pandora_console/operation/agentes/estado_monitores.php @@ -542,7 +542,7 @@ function print_form_filter_monitors( $form_text = ''; $table = new stdClass(); - $table->class = 'filter_table'; + $table->class = 'filter-table-adv'; $table->id = 'module_filter_agent_view'; $table->styleTable = 'border-radius: 0;padding: 0;margin: 0 0 10px;'; $table->width = '100%'; diff --git a/pandora_console/operation/search_agents.php b/pandora_console/operation/search_agents.php index b5e774048d..89363f792a 100755 --- a/pandora_console/operation/search_agents.php +++ b/pandora_console/operation/search_agents.php @@ -136,6 +136,8 @@ if (!$agents || !$searchAgents) { ).''; } + $table->cellclass[][9] = 'table_action_buttons'; + array_push( $table->data, [ diff --git a/pandora_console/operation/search_modules.php b/pandora_console/operation/search_modules.php index 4a452829d5..29c6fb7fcb 100644 --- a/pandora_console/operation/search_modules.php +++ b/pandora_console/operation/search_modules.php @@ -72,6 +72,7 @@ if (!$modules || !$searchModules) { 'web_content_string' ); + $i = 0; foreach ($modules as $module) { $module['datos'] = modules_get_last_value($module['id_agente_modulo']); $module['module_name'] = $module['nombre']; @@ -162,6 +163,7 @@ if (!$modules || !$searchModules) { } $graphCell = ''; + $table->cellclass[$i][5] = 'table_action_buttons'; if ($module['history_data'] == 1) { $graph_type = return_graphtype($module['id_tipo_modulo']); @@ -204,6 +206,7 @@ if (!$modules || !$searchModules) { $group_agent = agents_get_agent_group($module['id_agente']); + $table->cellclass[$i][8] = 'table_action_buttons'; if (check_acl($config['id_user'], $group_agent, 'AW')) { $edit_module = 'aaa'; @@ -229,6 +232,8 @@ if (!$modules || !$searchModules) { $edit_module, ] ); + + $i++; } echo '
';