webui: Cleanup white backgrounds on certain graphs

This commit is contained in:
VVelox
2017-03-02 12:07:55 -06:00
committed by Neil Lathwood
parent 41bf70dac9
commit 7f91fab663
9 changed files with 11 additions and 15 deletions

View File

@ -675,7 +675,7 @@ function generate_bill_url($bill, $vars = array())
function generate_port_image($args)
{
if (!$args['bg']) {
$args['bg'] = 'FFFFFF';
$args['bg'] = 'FFFFFF00';
}
return "<img src='graph.php?type=".$args['graph_type'].'&amp;id='.$args['port_id'].'&amp;from='.$args['from'].'&amp;to='.$args['to'].'&amp;width='.$args['width'].'&amp;height='.$args['height'].'&amp;bg='.$args['bg']."'>";