mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
Restored width in % and forced Agent SNMP view to enter if with widget=true
Former-commit-id: 25ca763789d5d30d298b6bf77bd5f0630aff526f
This commit is contained in:
parent
962e519bc9
commit
98ec2f31e6
@ -4531,7 +4531,7 @@ function reporting_get_event_histogram($events, $text_header_event=false)
|
|||||||
[],
|
[],
|
||||||
true,
|
true,
|
||||||
$ttl,
|
$ttl,
|
||||||
false,
|
true,
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -748,7 +748,7 @@ function flot_slicesbar_graph(
|
|||||||
if ($widgets) {
|
if ($widgets) {
|
||||||
$return = "<div id='$graph_id' class='noresizevc graph $adapt_key' style='width: ".$width.'px; height: '.$height."px;'></div>";
|
$return = "<div id='$graph_id' class='noresizevc graph $adapt_key' style='width: ".$width.'px; height: '.$height."px;'></div>";
|
||||||
} else {
|
} else {
|
||||||
$return = "<div id='$graph_id' class='noresizevc graph $adapt_key' style='width: ".$width.'px; height: '.$height."px;'></div>";
|
$return = "<div id='$graph_id' class='noresizevc graph $adapt_key' style='width: ".$width.'%; height: '.$height."px;'></div>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user