mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update common.inc.php to allow custom font color
Allowing customization of the font color is useful for me as I pull graphs into a dashboard which happens to have a black background. Perhaps this feature can be useful to others.
This commit is contained in:
@@ -90,6 +90,10 @@ if ($_GET['bg']) {
|
||||
$rrd_options .= ' -c CANVAS#'.mres($_GET['bg']).' ';
|
||||
}
|
||||
|
||||
if ($_GET['font']) {
|
||||
$rrd_options .= ' -c FONT#'.mres($_GET['font']).' ';
|
||||
}
|
||||
|
||||
// $rrd_options .= " -c BACK#FFFFFF";
|
||||
if ($height < '99') {
|
||||
$rrd_options .= ' --only-graph';
|
||||
|
Reference in New Issue
Block a user