mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Use bootstraps own img-responsive class for responsive graphs
This commit is contained in:
@ -478,10 +478,10 @@ function generate_lazy_graph_tag($args) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($config['enable_lazy_load'] === true) {
|
if ($config['enable_lazy_load'] === true) {
|
||||||
return '<img class="lazy graphs" width="'.$w.'" height="'.$h.'" data-original="graph.php?' . implode('&',$urlargs).'" border="0" />';
|
return '<img class="lazy img-responsive" data-original="graph.php?' . implode('&',$urlargs).'" border="0" />';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return '<img class="graphs" width="'.$w.'" height="'.$h.'" src="graph.php?' . implode('&',$urlargs).'" border="0" />';
|
return '<img class="img-responsive" src="graph.php?' . implode('&',$urlargs).'" border="0" />';
|
||||||
}
|
}
|
||||||
|
|
||||||
}//end generate_lazy_graph_tag()
|
}//end generate_lazy_graph_tag()
|
||||||
|
Reference in New Issue
Block a user