mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
fixed size modal pandora_enterprise#8827
This commit is contained in:
parent
6edc6e1014
commit
7a93861a2b
@ -381,7 +381,7 @@ class AlertsFiredWidget extends Widget
|
|||||||
{
|
{
|
||||||
$size = [
|
$size = [
|
||||||
'width' => 400,
|
'width' => 400,
|
||||||
'height' => 260,
|
'height' => (is_metaconsole() === true) ? 330 : 260,
|
||||||
];
|
];
|
||||||
|
|
||||||
return $size;
|
return $size;
|
||||||
|
@ -298,7 +298,7 @@ class WelcomeWidget extends Widget
|
|||||||
{
|
{
|
||||||
$size = [
|
$size = [
|
||||||
'width' => 500,
|
'width' => 500,
|
||||||
'height' => 210,
|
'height' => 220,
|
||||||
];
|
];
|
||||||
|
|
||||||
return $size;
|
return $size;
|
||||||
|
@ -544,7 +544,7 @@ class MapsMadeByUser extends Widget
|
|||||||
{
|
{
|
||||||
$size = [
|
$size = [
|
||||||
'width' => 400,
|
'width' => 400,
|
||||||
'height' => 270,
|
'height' => (is_metaconsole() === true) ? 330 : 270,
|
||||||
];
|
];
|
||||||
|
|
||||||
return $size;
|
return $size;
|
||||||
|
@ -409,7 +409,7 @@ class MapsStatusWidget extends Widget
|
|||||||
{
|
{
|
||||||
$size = [
|
$size = [
|
||||||
'width' => 400,
|
'width' => 400,
|
||||||
'height' => 410,
|
'height' => 425,
|
||||||
];
|
];
|
||||||
|
|
||||||
return $size;
|
return $size;
|
||||||
|
@ -319,7 +319,7 @@ class MonitorHealthWidget extends Widget
|
|||||||
20
|
20
|
||||||
);
|
);
|
||||||
|
|
||||||
$output = '<div class="container-center mw200px min-height-320px">';
|
$output = '<div>';
|
||||||
$output .= \html_print_table($table, true);
|
$output .= \html_print_table($table, true);
|
||||||
$output .= '</div>';
|
$output .= '</div>';
|
||||||
|
|
||||||
@ -358,7 +358,7 @@ class MonitorHealthWidget extends Widget
|
|||||||
{
|
{
|
||||||
$size = [
|
$size = [
|
||||||
'width' => 400,
|
'width' => 400,
|
||||||
'height' => 210,
|
'height' => 220,
|
||||||
];
|
];
|
||||||
|
|
||||||
return $size;
|
return $size;
|
||||||
|
@ -296,8 +296,8 @@ class PostWidget extends Widget
|
|||||||
public function getSizeModalConfiguration(): array
|
public function getSizeModalConfiguration(): array
|
||||||
{
|
{
|
||||||
$size = [
|
$size = [
|
||||||
'width' => 480,
|
'width' => 500,
|
||||||
'height' => 480,
|
'height' => 500,
|
||||||
];
|
];
|
||||||
|
|
||||||
return $size;
|
return $size;
|
||||||
|
@ -508,7 +508,7 @@ class ReportsWidget extends Widget
|
|||||||
{
|
{
|
||||||
$size = [
|
$size = [
|
||||||
'width' => 400,
|
'width' => 400,
|
||||||
'height' => 260,
|
'height' => (is_metaconsole() === true) ? 330 : 260,
|
||||||
];
|
];
|
||||||
|
|
||||||
return $size;
|
return $size;
|
||||||
|
@ -540,4 +540,20 @@ class TopNWidget extends Widget
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get size Modal Configuration.
|
||||||
|
*
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
|
public function getSizeModalConfiguration(): array
|
||||||
|
{
|
||||||
|
$size = [
|
||||||
|
'width' => 400,
|
||||||
|
'height' => 530,
|
||||||
|
];
|
||||||
|
|
||||||
|
return $size;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user