From 279a864d829cf2a908b661f4f981fc4e7a0840b2 Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Thu, 23 Nov 2017 12:53:54 +0100 Subject: [PATCH] [Console] Adjustments to the graph popup size --- pandora_console/operation/agentes/stat_win.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pandora_console/operation/agentes/stat_win.php b/pandora_console/operation/agentes/stat_win.php index ba7965fd63..d0b6eeab7f 100644 --- a/pandora_console/operation/agentes/stat_win.php +++ b/pandora_console/operation/agentes/stat_win.php @@ -207,9 +207,8 @@ $alias = db_get_value ("alias","tagente","id_agente",$id_agent); if ($zoom > 1) { $height = $height * ($zoom / 2.1); $width = $width * ($zoom / 1.4); - - echo ""; } + echo ""; // Build date $date = strtotime("$start_date $start_time"); @@ -225,9 +224,9 @@ $alias = db_get_value ("alias","tagente","id_agente",$id_agent); // log4x doesnt support flash yet // if ($config['flash_charts'] == 1) - echo '
'; + echo '
'; else - echo '
'; + echo '
'; switch ($graph_type) { case 'boolean': @@ -517,10 +516,10 @@ ui_include_time_picker(true); return false; }).click(function() { if (show_overview) { - window.resizeTo(width_window + 20, height_window + 50); + window.resizeTo(width_window + 25, height_window); } else { - window.resizeTo(width_window + 20, height_window + 200); + window.resizeTo(width_window + 25, height_window + 120); } show_overview = !show_overview;