diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php index 385f4a5a8c..f559b4e3eb 100644 --- a/pandora_console/godmode/agentes/configurar_agente.php +++ b/pandora_console/godmode/agentes/configurar_agente.php @@ -827,12 +827,6 @@ if ($id_agente) { 'link' => '', 'label' => $tab_name, ], - ], - [ - 'id_element' => $id_agente, - 'url' => 'godmode/agentes/configurar_agente&tab=main&id_agente='.$id_agente, - 'label' => agents_get_alias($id_agente), - 'section' => 'Agents', ] ); } diff --git a/pandora_console/godmode/groups/group_list.php b/pandora_console/godmode/groups/group_list.php index 6e604c7e1a..1afd26363e 100644 --- a/pandora_console/godmode/groups/group_list.php +++ b/pandora_console/godmode/groups/group_list.php @@ -718,7 +718,7 @@ if ($is_management_allowed === true 'tfavmenu_user', [ 'id_element' => $id_group, - 'section' => 'Tactic_group', + 'section' => 'Groups', 'id_user' => $config['id_user'], ] ); @@ -906,7 +906,6 @@ if ($tab == 'tree') { foreach ($groups as $key => $group) { $url_edit = 'index.php?sec=gagente&sec2=godmode/groups/configure_group&id_group='.$group['id_grupo']; - $url_tactical = 'index.php?sec=gagente&sec2=godmode/groups/tactical&id_group='.$group['id_grupo']; if (is_metaconsole()) { $url_delete = 'index.php?sec=gagente&sec2=godmode/groups/group_list&delete_group=1&id_group='.$group['id_grupo'].'&tab=groups'; } else { @@ -915,7 +914,7 @@ if ($tab == 'tree') { $table->data[$key][0] = $group['id_grupo']; if ($is_management_allowed === true) { - $table->data[$key][1] = ''.$group['nombre'].''; + $table->data[$key][1] = ''.$group['nombre'].''; } else { $table->data[$key][1] = $group['nombre']; } diff --git a/pandora_console/godmode/groups/tactical.php b/pandora_console/godmode/groups/tactical.php index d7984c3212..5339590bc4 100644 --- a/pandora_console/godmode/groups/tactical.php +++ b/pandora_console/godmode/groups/tactical.php @@ -72,14 +72,14 @@ if (is_metaconsole() === false) { ], [ 'link' => '', - 'label' => __('Tactic group'), + 'label' => __('Tactical group view'), ], ], [ 'id_element' => $id_group, 'url' => 'gagent&sec2=godmode/groups/tactical&id_group='.$id_group, 'label' => groups_get_name($id_group), - 'section' => 'Tactic_group', + 'section' => 'Groups', ] ); } @@ -187,7 +187,7 @@ try { [ 'id' => 'list_agents_tactical', 'class' => 'info_table', - 'style' => 'width: 100%', + 'style' => 'width: 99%', 'columns' => $columns, 'column_names' => $columnNames, 'return' => true, @@ -196,6 +196,7 @@ try { 'method' => 'getAgentsByGroup', 'id_group' => $id_group, ], + 'dom_elements' => 'lpfti', 'no_sortable_columns' => [-1], 'order' => [ 'field' => 'alias', diff --git a/pandora_console/include/class/TipsWindow.class.php b/pandora_console/include/class/TipsWindow.class.php index 6f159c8ec7..2ed452cc98 100644 --- a/pandora_console/include/class/TipsWindow.class.php +++ b/pandora_console/include/class/TipsWindow.class.php @@ -157,11 +157,12 @@ class TipsWindow View::render( 'dashboard/tipsWindow', [ - 'title' => $initialTip['title'], - 'text' => $initialTip['text'], - 'url' => $initialTip['url'], - 'files' => $initialTip['files'], - 'id' => $initialTip['id'], + 'title' => $initialTip['title'], + 'text' => $initialTip['text'], + 'url' => $initialTip['url'], + 'files' => $initialTip['files'], + 'id' => $initialTip['id'], + 'totalTips' => $this->getTotalTipsShowUser(), ] ); } diff --git a/pandora_console/include/styles/tactical_groups.css b/pandora_console/include/styles/tactical_groups.css index 383e9ef37f..1c399d1b3b 100644 --- a/pandora_console/include/styles/tactical_groups.css +++ b/pandora_console/include/styles/tactical_groups.css @@ -29,3 +29,6 @@ rect { .graph-distribution-so { margin-top: 55px; } +#list_agents_tactical_wrapper .dataTables_length { + margin-bottom: 10px; +} diff --git a/pandora_console/include/styles/tips_window.css b/pandora_console/include/styles/tips_window.css index 1fba4472d4..6e8927aa4d 100644 --- a/pandora_console/include/styles/tips_window.css +++ b/pandora_console/include/styles/tips_window.css @@ -12,7 +12,7 @@ padding: 0px; } .window { - background-image: linear-gradient(180deg, #fffce8 0%, #ffffff 100%); + background-image: white; width: 640px; width: 100%; border-radius: 5px; @@ -145,9 +145,6 @@ color: #14524f; font-weight: 600; } -#url_tip .arrow_tips { - font-size: 20px; -} span.count-round-tip { width: 6px !important; height: 6px !important; @@ -211,3 +208,7 @@ span.disable { .buttons_actions input { width: 32px; } +.hide-button { + opacity: 0; + pointer-events: none; +} diff --git a/pandora_console/operation/agentes/group_view.php b/pandora_console/operation/agentes/group_view.php index fa4d171e24..d14a3d3262 100644 --- a/pandora_console/operation/agentes/group_view.php +++ b/pandora_console/operation/agentes/group_view.php @@ -321,7 +321,7 @@ if (empty($result_groups) === false) { $link = ""; } else { $deep = groups_get_group_deep($data['_id_']); - $link = ""; + $link = ""; } $group_name = ''.ui_print_truncate_text($data['_name_'], 50).''; diff --git a/pandora_console/operation/agentes/ver_agente.php b/pandora_console/operation/agentes/ver_agente.php index da85b53430..b21cca1b32 100644 --- a/pandora_console/operation/agentes/ver_agente.php +++ b/pandora_console/operation/agentes/ver_agente.php @@ -1940,6 +1940,12 @@ if ((bool) $config['pure'] === false) { 'link' => '', 'label' => $tab_name, ], + ], + [ + 'id_element' => $id_agente, + 'url' => 'operation/agentes/ver_agente&id_agente='.$id_agente, + 'label' => agents_get_alias($id_agente), + 'section' => 'Agents', ] ); } diff --git a/pandora_console/views/dashboard/tipsWindow.php b/pandora_console/views/dashboard/tipsWindow.php index b95cf058c6..8279cfdd39 100644 --- a/pandora_console/views/dashboard/tipsWindow.php +++ b/pandora_console/views/dashboard/tipsWindow.php @@ -73,10 +73,13 @@ $output .= '

'; $output .= $text; $output .= '

'; +$link_class = 'invisible'; if (empty($url) === false && $url !== '') { - $output .= '
'.__('See more info').''; + $link_class = ''; } +$output .= ''.__('See more info').''; + $output .= ''; $output .= '
'; @@ -116,7 +119,7 @@ if ($preview === true) { '', [ 'onclick' => 'next_tip()', - 'class' => 'mini', + 'class' => ($totalTips === '1') ? 'mini hide-button' : 'mini', ], true );