Add lost updates of files in mobile version #148

This commit is contained in:
m-lopez-f 2017-02-16 08:37:24 +01:00 committed by mlopez
parent 565edcb1b3
commit a36e201c8d
3 changed files with 16 additions and 9 deletions

View File

@ -1364,11 +1364,18 @@ DIV.nodata_container {
.widget_agent_module > th { .widget_agent_module > th {
background-color: #373737; background-color: #373737;
} }
#list_agent_Modules >tbody > tr > td { #list_agent_Modules > tbody > tr > td {
clear: none; clear: none;
vertical-align: middle; vertical-align: middle;
padding: 0px; padding: 0px;
} }
#list_agent_Modules > tbody > tr > td.cell_0 { #list_agent_Modules > tbody > tr > td.cell_0 {
border-top: 0px none; border-top: 0px none;
}
.legend_graph td.legendLabel > div {
font-size: 12px !important;
}
.legend_graph td.legendLabel {
font-size: 12px !important;
} }

View File

@ -144,7 +144,7 @@ class ModuleGraph {
$this->draw_events, $this->draw_events,
$this->width, $this->width,
$this->height, $this->height,
$label, false,
$unit, $unit,
$this->draw_alerts, $this->draw_alerts,
$this->avg_only, $this->avg_only,
@ -172,7 +172,7 @@ class ModuleGraph {
$this->draw_events, $this->draw_events,
$this->width, $this->width,
$this->height, $this->height,
$label, false,
null, null,
$this->draw_alerts, $this->draw_alerts,
$this->avg_only, $this->avg_only,
@ -203,7 +203,7 @@ class ModuleGraph {
$this->draw_events, $this->draw_events,
$this->width, $this->width,
$this->height, $this->height,
$label, false,
null, null,
$this->draw_alerts, $this->draw_alerts,
1, 1,
@ -229,7 +229,7 @@ class ModuleGraph {
$this->draw_events, $this->draw_events,
$this->width, $this->width,
$this->height, $this->height,
$label, false,
$unit_name, $unit_name,
$this->draw_alerts, $this->draw_alerts,
1, 1,

View File

@ -638,10 +638,10 @@ class Modules {
$this->id_agent . '">' . $output . '</a>' . '</span>';*/ $this->id_agent . '">' . $output . '</a>' . '</span>';*/
if (!$ajax) { if (!$ajax) {
unset($row[0]);
if ($this->columns['agent']) { if ($this->columns['agent']) {
unset($row[0]); unset($row[1]);
} }
unset($row[1]);
unset($row[2]); unset($row[2]);
unset($row[4]); unset($row[4]);
unset($row[5]); unset($row[5]);
@ -748,8 +748,8 @@ class Modules {
else { else {
$.each(data.modules, function(key, module) { $.each(data.modules, function(key, module) {
$(\"table#list_Modules tbody\").append(\"<tr>\" + $(\"table#list_Modules tbody\").append(\"<tr>\" +
\"<td class='cell_1'><b class='ui-table-cell-label'>" . __('Module name') . "</b>\" + module[1] + \"</td>\" + \"<td class='cell_0'><b class='ui-table-cell-label'>" . __('Module name') . "</b>\" + module[0] + \"</td>\" +
\"<td class='cell_0'><b class='ui-table-cell-label'>" . __('Agent name') . "</b>\" + module[0] + \"</td>\" + \"<td class='cell_1'><b class='ui-table-cell-label'>" . __('Agent name') . "</b>\" + module[1] + \"</td>\" +
\"<td class='cell_2'><b class='ui-table-cell-label'>" . __('Status') . "</b>\" + module[5] + \"</td>\" + \"<td class='cell_2'><b class='ui-table-cell-label'>" . __('Status') . "</b>\" + module[5] + \"</td>\" +
\"<td class='cell_3'><b class='ui-table-cell-label'>" . __('Interval') . "</b>\" + module[4] + \"</td>\" + \"<td class='cell_3'><b class='ui-table-cell-label'>" . __('Interval') . "</b>\" + module[4] + \"</td>\" +
\"<td class='cell_4'><b class='ui-table-cell-label'>" . __('Timestamp') . "</b>\" + module[6] + \"</td>\" + \"<td class='cell_4'><b class='ui-table-cell-label'>" . __('Timestamp') . "</b>\" + module[6] + \"</td>\" +