diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 86a461485e..751b557225 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -3640,14 +3640,15 @@ table.events_show_more_table tr:nth-child(odd) td { background-color: #ffffff; } table.events_show_more_table tr:nth-child(even) td { - background-color: #f5f5f5; - border-top: 1px solid #cacaca; - border-bottom: 1px solid #cacaca; + background-color: #f9f9f9; + border-top: 1px solid #e0e0e0; + border-bottom: 1px solid #e0e0e0; } table.events_show_more_table tr td { - height: 22px; - padding: 4px; + height: 33px; + max-height: 33px; + min-height: 33px; } table.events_show_more_table tr td:first-child { @@ -5828,7 +5829,7 @@ a#qr_code_agent_view { .module_graph_menu_content, .module_graph_menu_header { - width: 92%; + width: 95%; border: 1px solid #e2e2e2; margin: 0 auto; box-sizing: border-box; diff --git a/pandora_console/operation/agentes/estado_generalagente.php b/pandora_console/operation/agentes/estado_generalagente.php index 30705e7267..78b850b241 100755 --- a/pandora_console/operation/agentes/estado_generalagente.php +++ b/pandora_console/operation/agentes/estado_generalagente.php @@ -499,7 +499,7 @@ if (!empty($network_interfaces)) { $params_json = json_encode($params); $params_encoded = base64_encode($params_json); $win_handle = dechex(crc32($interface['status_module_id'].$interface_name)); - $graph_link = "".html_print_image('images/chart_curve.png', true, ['title' => __('Interface traffic')]).''; + $graph_link = "".html_print_image('images/chart_curve.png', true, ['title' => __('Interface traffic')]).''; } else { $graph_link = ''; } diff --git a/pandora_console/operation/agentes/interface_traffic_graph_win.php b/pandora_console/operation/agentes/interface_traffic_graph_win.php index e00ed0d254..ea75e4e1b9 100644 --- a/pandora_console/operation/agentes/interface_traffic_graph_win.php +++ b/pandora_console/operation/agentes/interface_traffic_graph_win.php @@ -214,7 +214,7 @@ if ($date > $now) { $data = []; $data[0] = __('Show percentil'); - $data[1] = html_print_checkbox('show_percentil', 1, (bool) $show_percentil, true); + $data[1] = html_print_checkbox_switch('show_percentil', 1, (bool) $show_percentil, true); $table->data[] = $data; $table->rowclass[] = ''; @@ -225,7 +225,7 @@ if ($date > $now) { 'images/tip.png', true ); - $data[1] = html_print_checkbox('fullscale', 1, (bool) $fullscale, true); + $data[1] = html_print_checkbox_switch('fullscale', 1, (bool) $fullscale, true); $table->data[] = $data; $table->rowclass[] = ''; diff --git a/pandora_console/operation/agentes/stat_win.php b/pandora_console/operation/agentes/stat_win.php index ef4a448360..3384dc6a20 100644 --- a/pandora_console/operation/agentes/stat_win.php +++ b/pandora_console/operation/agentes/stat_win.php @@ -304,7 +304,7 @@ $alias = db_get_value('alias', 'tagente', 'id_agente', $id_agent); } } - $data[1] = html_print_checkbox( + $data[1] = html_print_checkbox_switch( 'draw_events', 1, (bool) $draw_events, @@ -323,14 +323,14 @@ $alias = db_get_value('alias', 'tagente', 'id_agente', $id_agent); $data = []; $data[0] = __('Show alerts'); - $data[1] = html_print_checkbox('draw_alerts', 1, (bool) $draw_alerts, true); + $data[1] = html_print_checkbox_switch('draw_alerts', 1, (bool) $draw_alerts, true); $table->data[] = $data; $table->rowclass[] = ''; /* $data = array(); $data[0] = __('Show event graph'); - $data[1] = html_print_checkbox ("show_events_graph", 1, (bool) $show_events_graph, true); + $data[1] = html_print_checkbox_switch ("show_events_graph", 1, (bool) $show_events_graph, true); $table->data[] = $data; $table->rowclass[] = ''; */ @@ -340,25 +340,25 @@ $alias = db_get_value('alias', 'tagente', 'id_agente', $id_agent); case 'sparse': $data = []; $data[0] = __('Show percentil'); - $data[1] = html_print_checkbox('show_percentil', 1, (bool) $show_percentil, true); + $data[1] = html_print_checkbox_switch('show_percentil', 1, (bool) $show_percentil, true); $table->data[] = $data; $table->rowclass[] = ''; $data = []; $data[0] = __('Time compare (Overlapped)'); - $data[1] = html_print_checkbox('time_compare_overlapped', 1, (bool) $time_compare_overlapped, true); + $data[1] = html_print_checkbox_switch('time_compare_overlapped', 1, (bool) $time_compare_overlapped, true); $table->data[] = $data; $table->rowclass[] = ''; $data = []; $data[0] = __('Time compare (Separated)'); - $data[1] = html_print_checkbox('time_compare_separated', 1, (bool) $time_compare_separated, true); + $data[1] = html_print_checkbox_switch('time_compare_separated', 1, (bool) $time_compare_separated, true); $table->data[] = $data; $table->rowclass[] = ''; $data = []; $data[0] = __('Show unknown graph'); - $data[1] = html_print_checkbox('unknown_graph', 1, (bool) $unknown_graph, true); + $data[1] = html_print_checkbox_switch('unknown_graph', 1, (bool) $unknown_graph, true); $table->data[] = $data; $table->rowclass[] = ''; break; @@ -366,7 +366,7 @@ $alias = db_get_value('alias', 'tagente', 'id_agente', $id_agent); $data = []; $data[0] = __('Show full scale graph (TIP)'); - $data[1] = html_print_checkbox( + $data[1] = html_print_checkbox_switch( 'fullscale', 1, (bool) $fullscale,