Added a minor fixes to agent general view. Ticket #4308

This commit is contained in:
Arturo Gonzalez 2016-12-27 16:48:35 +01:00
parent 8e6599d29f
commit cb5d678de7
1 changed files with 4 additions and 1 deletions

View File

@ -431,7 +431,7 @@ if (!empty($network_interfaces)) {
$table_interface->style['interface_graph'] = 'width: 20px;padding-top:0px;padding-bottom:0px;';
$table_interface->style['interface_event_graph'] = 'width: 100%;padding-top:0px;padding-bottom:0px;';
$table_interface->align['interface_event_graph'] = 'right';
$table_interface->style['interface_event_graph'] = 'width: 100%;padding-top:0px;padding-bottom:0px;';
//$table_interface->style['interface_event_graph'] = 'width: 5%;padding-top:0px;padding-bottom:0px;';
$table_interface->align['interface_event_graph_text'] = 'left';
$table_interface->style['interface_name'] = 'width: 10%;padding-top:0px;padding-bottom:0px;';
$table_interface->align['interface_name'] = 'left';
@ -556,6 +556,9 @@ if (!empty($network_interfaces)) {
$data['interface_event_graph_text'] = ui_print_help_tip('Module events graph', true);
$event_text_cont++;
}
else {
$data['interface_event_graph_text'] = "";
}
$table_interface->data[] = $data;
}
// This javascript piece of code is used to make expandible the body of the table