Added a minor fixes to agent general view. Ticket #4308
This commit is contained in:
parent
8e6599d29f
commit
cb5d678de7
|
@ -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_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->style['interface_event_graph'] = 'width: 100%;padding-top:0px;padding-bottom:0px;';
|
||||||
$table_interface->align['interface_event_graph'] = 'right';
|
$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->align['interface_event_graph_text'] = 'left';
|
||||||
$table_interface->style['interface_name'] = 'width: 10%;padding-top:0px;padding-bottom:0px;';
|
$table_interface->style['interface_name'] = 'width: 10%;padding-top:0px;padding-bottom:0px;';
|
||||||
$table_interface->align['interface_name'] = 'left';
|
$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);
|
$data['interface_event_graph_text'] = ui_print_help_tip('Module events graph', true);
|
||||||
$event_text_cont++;
|
$event_text_cont++;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
$data['interface_event_graph_text'] = "";
|
||||||
|
}
|
||||||
$table_interface->data[] = $data;
|
$table_interface->data[] = $data;
|
||||||
}
|
}
|
||||||
// This javascript piece of code is used to make expandible the body of the table
|
// This javascript piece of code is used to make expandible the body of the table
|
||||||
|
|
Loading…
Reference in New Issue