mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #1736 from arjitc/patch-5
Center the graph displayed.
This commit is contained in:
@ -201,9 +201,9 @@ else {
|
|||||||
|
|
||||||
echo generate_graph_js_state($graph_array);
|
echo generate_graph_js_state($graph_array);
|
||||||
|
|
||||||
echo('<div style="width: '.$graph_array['width'].'; margin: auto;">');
|
echo('<div style="width: '.$graph_array['width'].'; margin: auto;"><center>');
|
||||||
echo generate_lazy_graph_tag($graph_array);
|
echo generate_lazy_graph_tag($graph_array);
|
||||||
echo("</div>");
|
echo("</center></div>");
|
||||||
|
|
||||||
if (isset($config['graph_descr'][$vars['type']])) {
|
if (isset($config['graph_descr'][$vars['type']])) {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user