diff --git a/pandora_console/extensions/agents_modules.php b/pandora_console/extensions/agents_modules.php index 84380991f8..dbf41a648b 100644 --- a/pandora_console/extensions/agents_modules.php +++ b/pandora_console/extensions/agents_modules.php @@ -448,10 +448,8 @@ function mainAgentsModules() $filter_update = html_print_submit_button(__('Update item'), 'edit_item', false, 'class="sub upd"', true); $onheader = [ - 'updated_time' => $updated_time, - 'fullscreen' => $fullscreen, - 'combo_module_groups' => $filter_module_groups, - 'combo_groups' => $filter_groups, + 'updated_time' => $updated_time, + 'fullscreen' => $fullscreen, ]; /* @@ -467,7 +465,7 @@ function mainAgentsModules() false, '', false, - (array) $updated_time, + $onheader, [ [ 'link' => '', @@ -479,12 +477,6 @@ function mainAgentsModules() ], ] ); - - echo ''; - echo ''; - echo "'; - echo ''; - echo '
".$fullscreen['text'].'
'; } else { if ($full_agents_id[0]) { $full_modules = urlencode(implode(';', $full_modules_selected)); @@ -600,6 +592,7 @@ function mainAgentsModules() $show_filters .= ''; $show_filters .= ''; $show_filters .= ''; + ui_toggle( $show_filters, __('Filters ').ui_print_help_tip(__('Secondary groups and agent subgroups will be taken into account.'), true), @@ -758,7 +751,7 @@ function mainAgentsModules() return; } - echo ''; + echo '
'; echo ''; diff --git a/pandora_console/include/class/AgentsAlerts.class.php b/pandora_console/include/class/AgentsAlerts.class.php index 656c397417..cd2833bc3a 100644 --- a/pandora_console/include/class/AgentsAlerts.class.php +++ b/pandora_console/include/class/AgentsAlerts.class.php @@ -786,7 +786,7 @@ class AgentsAlerts extends HTML 'name' => 'show-modules-without-alerts', 'checked' => $this->showWithoutAlertModules, 'input_class' => 'flex-row', - 'type' => 'switch', + 'type' => 'checkbox', 'class' => '', 'disabled_hidden' => true, 'return' => true, diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index a285d1673a..4e1eac465e 100755 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -3784,7 +3784,8 @@ function ui_print_datatable(array $parameters) } // Move elements to table_action_buttons bar. $(".action_buttons_right_content").append($("#'.$table_id.'_wrapper > .dataTables_paginate.paging_simple_numbers")); - $(".action_buttons_right_content").append($("#'.$table_id.'_wrapper > #table_events_length")); + $(".action_buttons_right_content").append($("#'.$table_id.'_wrapper > .dataTables_length")); + $(".action_buttons_right_content").append($("#'.$table_id.'_wrapper > .dt-buttons")); if (json.error) { console.error(json.error); diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index f5b0810d67..76f249e5a4 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -1659,6 +1659,10 @@ td.datos2_id { padding-bottom: 1px; } +.p020 { + padding: 0 20px; +} + .w130, #table-agent-configuration select { width: 130px; @@ -10826,6 +10830,7 @@ tr.bring_next_field { width: -moz-available; padding-right: 10px; left: 0; + height: 62px; } .action_buttons_right_content { @@ -10856,7 +10861,6 @@ tr.bring_next_field { height: 62px; border-top: 1px solid #e5e9ed; background-color: #fff; - /*z-index: 10000;*/ } .fixed_action_buttons_size > .action_buttons_background_mask { diff --git a/pandora_console/include/styles/tables.css b/pandora_console/include/styles/tables.css index 82f0b5c3f6..b5daf09a17 100644 --- a/pandora_console/include/styles/tables.css +++ b/pandora_console/include/styles/tables.css @@ -358,7 +358,7 @@ a.pandora_pagination.current:hover { /* CSV button datatables */ .dt-button.buttons-csv.buttons-html5 { - background-image: url(../../images/csv_mc.png); + background-image: url(../../images/file-csv.svg); background-position: center center; background-repeat: no-repeat; color: #000; diff --git a/pandora_console/operation/agentes/alerts_status.functions.php b/pandora_console/operation/agentes/alerts_status.functions.php index 0ce63a9aa3..3d6b415bb7 100755 --- a/pandora_console/operation/agentes/alerts_status.functions.php +++ b/pandora_console/operation/agentes/alerts_status.functions.php @@ -63,7 +63,7 @@ function printFormFilterAlert($id_group, $filter, $free_search, $url, $filter_st $table = new StdClass(); $table->width = '100%'; - $table->class = 'filter-table-adv'; + $table->class = 'filter-table-adv p020'; $table->size = []; $table->size[0] = '33%'; $table->size[1] = '33%'; diff --git a/pandora_console/operation/agentes/alerts_status.php b/pandora_console/operation/agentes/alerts_status.php index 15340d2130..c402e2e820 100755 --- a/pandora_console/operation/agentes/alerts_status.php +++ b/pandora_console/operation/agentes/alerts_status.php @@ -439,7 +439,7 @@ 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, @@ -457,6 +457,7 @@ if ($agent_view_page === true) { 'zeroRecords' => __('No alerts found'), 'emptyTable' => __('No alerts found'), 'search_button_class' => 'sub filter float-right', + 'filter_main_class' => 'box-flat white_table_graph fixed_filter_bar', 'form' => [ 'html' => printFormFilterAlert( $id_group,