From a36e201c8d4ce6638bf94a7fe88527acce40c290 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Thu, 16 Feb 2017 08:37:24 +0100 Subject: [PATCH] Add lost updates of files in mobile version #148 --- pandora_console/mobile/include/style/main.css | 9 ++++++++- pandora_console/mobile/operation/module_graph.php | 8 ++++---- pandora_console/mobile/operation/modules.php | 8 ++++---- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/pandora_console/mobile/include/style/main.css b/pandora_console/mobile/include/style/main.css index 5af548f7d0..b9441cf180 100755 --- a/pandora_console/mobile/include/style/main.css +++ b/pandora_console/mobile/include/style/main.css @@ -1364,11 +1364,18 @@ DIV.nodata_container { .widget_agent_module > th { background-color: #373737; } -#list_agent_Modules >tbody > tr > td { +#list_agent_Modules > tbody > tr > td { clear: none; vertical-align: middle; padding: 0px; } #list_agent_Modules > tbody > tr > td.cell_0 { border-top: 0px none; +} + +.legend_graph td.legendLabel > div { + font-size: 12px !important; +} +.legend_graph td.legendLabel { + font-size: 12px !important; } \ No newline at end of file diff --git a/pandora_console/mobile/operation/module_graph.php b/pandora_console/mobile/operation/module_graph.php index 62da58e81f..a36e6f0101 100644 --- a/pandora_console/mobile/operation/module_graph.php +++ b/pandora_console/mobile/operation/module_graph.php @@ -144,7 +144,7 @@ class ModuleGraph { $this->draw_events, $this->width, $this->height, - $label, + false, $unit, $this->draw_alerts, $this->avg_only, @@ -172,7 +172,7 @@ class ModuleGraph { $this->draw_events, $this->width, $this->height, - $label, + false, null, $this->draw_alerts, $this->avg_only, @@ -203,7 +203,7 @@ class ModuleGraph { $this->draw_events, $this->width, $this->height, - $label, + false, null, $this->draw_alerts, 1, @@ -229,7 +229,7 @@ class ModuleGraph { $this->draw_events, $this->width, $this->height, - $label, + false, $unit_name, $this->draw_alerts, 1, diff --git a/pandora_console/mobile/operation/modules.php b/pandora_console/mobile/operation/modules.php index 8c4f02b97f..fddd6dd4f7 100644 --- a/pandora_console/mobile/operation/modules.php +++ b/pandora_console/mobile/operation/modules.php @@ -638,10 +638,10 @@ class Modules { $this->id_agent . '">' . $output . '' . '';*/ if (!$ajax) { + unset($row[0]); if ($this->columns['agent']) { - unset($row[0]); + unset($row[1]); } - unset($row[1]); unset($row[2]); unset($row[4]); unset($row[5]); @@ -748,8 +748,8 @@ class Modules { else { $.each(data.modules, function(key, module) { $(\"table#list_Modules tbody\").append(\"\" + - \"" . __('Module name') . "\" + module[1] + \"\" + - \"" . __('Agent name') . "\" + module[0] + \"\" + + \"" . __('Module name') . "\" + module[0] + \"\" + + \"" . __('Agent name') . "\" + module[1] + \"\" + \"" . __('Status') . "\" + module[5] + \"\" + \"" . __('Interval') . "\" + module[4] + \"\" + \"" . __('Timestamp') . "\" + module[6] + \"\" +