From bb4a5787e1d42167a2e3b28b32fbf0252ac1ac2b Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Tue, 20 Dec 2016 16:26:57 +0100 Subject: [PATCH] Added visual modifications to netflow live view. Ticket #4286 --- pandora_console/include/functions_netflow.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pandora_console/include/functions_netflow.php b/pandora_console/include/functions_netflow.php index 1f6d594116..e9fe2ac895 100644 --- a/pandora_console/include/functions_netflow.php +++ b/pandora_console/include/functions_netflow.php @@ -211,7 +211,7 @@ function netflow_stat_table ($data, $start_date, $end_date, $aggregate, $unit) { $start_date = date ($nfdump_date_format, $start_date); $end_date = date ($nfdump_date_format, $end_date); $values = array(); - $table->width = '50%'; + $table->width = '40%'; $table->cellspacing = 0; $table->class = 'databox'; $table->data = array(); @@ -221,8 +221,8 @@ function netflow_stat_table ($data, $start_date, $end_date, $aggregate, $unit) { $table->head = array (); $table->head[0] = '' . netflow_format_aggregate ($aggregate) . ''; $table->head[1] = '' . netflow_format_unit ($unit) . ''; - $table->style[0] = 'padding: 6px'; - $table->style[1] = 'padding: 6px'; + $table->style[0] = 'padding: 6px;'; + $table->style[1] = 'padding: 6px;'; while (isset ($data[$j])) { $agg = $data[$j]['agg']; @@ -278,7 +278,7 @@ function netflow_data_table ($data, $start_date, $end_date, $aggregate, $unit) { } $values = array(); - $table->size = array ('60%'); + $table->size = array ('100%'); $table->class = 'databox'; $table->cellspacing = 0; $table->data = array(); @@ -1189,7 +1189,7 @@ function netflow_draw_item ($start_date, $end_date, $interval_length, $type, $fi if ($interval_length != 0) { $html .= " " . _('Resolution') . ": $interval_length " . __('seconds'); } - $html .= "
"; + $html .= "
"; $html .= netflow_data_table ($data, $start_date, $end_date, $aggregate, $unit); $html .= "
";