diff --git a/pandora_console/include/functions_network.php b/pandora_console/include/functions_network.php index c503945c87..1945b5428b 100644 --- a/pandora_console/include/functions_network.php +++ b/pandora_console/include/functions_network.php @@ -68,10 +68,10 @@ function network_print_explorer_header( $cell = '
'; $cell .= $title; $cell .= html_print_link_with_params( - 'images/arrow-down-white.png', + 'images/arrow@svg.svg', array_merge($hidden_data, ['order_by' => $order]), 'image', - ($selected === $order) ? 'opacity: 0.5' : '' + 'rotate: 270deg; width: 20px; margin-top: 4px;'.(($selected === $order) ? '' : 'opacity: 0.5') ); $cell .= '
'; diff --git a/pandora_console/operation/netflow/netflow_explorer.php b/pandora_console/operation/netflow/netflow_explorer.php index cb09927178..3f7e18ba52 100644 --- a/pandora_console/operation/netflow/netflow_explorer.php +++ b/pandora_console/operation/netflow/netflow_explorer.php @@ -1,21 +1,29 @@ $labels, ]; + // Results table. + $resultsTable = html_print_div( + [ + 'class' => '', + 'style' => 'flex: 50;margin-right: 5px;', + 'content' => html_print_table($table, true), + ], + true + ); // Pie graph. - html_print_div( + $pieGraph = html_print_div( [ 'class' => 'databox netflow-pie-graph-container padding-2 white_box', + 'style' => 'flex: 50;margin-left: 5px;', 'content' => pie_graph( $chart_data, $options ), - ] + ], + true ); // Print the filter remove link. if (empty($main_value) === false) { @@ -418,7 +438,13 @@ if (empty($data)) { } // Print results. - html_print_table($table); + html_print_div( + [ + 'style' => 'max-width: -webkit-fill-available; display: flex', + 'class' => '', + 'content' => $resultsTable.$pieGraph, + ] + ); } ?>