diff --git a/pandora_console/include/graphs/fgraph.php b/pandora_console/include/graphs/fgraph.php index 889a08ef45..5e5818357b 100644 --- a/pandora_console/include/graphs/fgraph.php +++ b/pandora_console/include/graphs/fgraph.php @@ -725,6 +725,12 @@ function get_build_setup_charts($type, $options, $data) $chart->options()->getElements()->center()->setColor($options['elements']['center']['color']); } } + + if (isset($options['elements']['point']) === true) { + if (isset($options['elements']['point']['radius']) === true) { + $chart->options()->getElements()->point()->setRadius($options['elements']['point']['radius']); + } + } } // Set Responsive for responsive charts. diff --git a/pandora_console/include/lib/TacticalView/elements/Alerts.php b/pandora_console/include/lib/TacticalView/elements/Alerts.php index a5788fff33..1de2d0fca0 100644 --- a/pandora_console/include/lib/TacticalView/elements/Alerts.php +++ b/pandora_console/include/lib/TacticalView/elements/Alerts.php @@ -205,6 +205,7 @@ class Alerts extends Element $rows = db_process_sql($sql); foreach ($rows as $key => $row) { + $rows[$key]['id_user'] = ''.$row['id_user'].''; if ((bool) $row['is_admin'] === true) { $rows[$key]['is_admin'] = ''.__('Admin').''; } else { diff --git a/pandora_console/include/lib/TacticalView/elements/Database.php b/pandora_console/include/lib/TacticalView/elements/Database.php index ef5925162b..2330396904 100644 --- a/pandora_console/include/lib/TacticalView/elements/Database.php +++ b/pandora_console/include/lib/TacticalView/elements/Database.php @@ -215,6 +215,7 @@ class Database extends Element 'display' => false, ], ], + 'elements' => [ 'point' => [ 'radius' => 0 ] ], ]; $data = [ @@ -289,6 +290,7 @@ class Database extends Element 'display' => false, ], ], + 'elements' => [ 'point' => [ 'radius' => 0 ] ], ]; $data = [ diff --git a/pandora_console/include/lib/TacticalView/elements/Overview.php b/pandora_console/include/lib/TacticalView/elements/Overview.php index af1a7ab2ae..b29ece1e65 100644 --- a/pandora_console/include/lib/TacticalView/elements/Overview.php +++ b/pandora_console/include/lib/TacticalView/elements/Overview.php @@ -310,6 +310,7 @@ class Overview extends Element 'display' => false, ], ], + 'elements' => [ 'point' => [ 'radius' => 0 ] ], ]; $data = [ diff --git a/pandora_console/include/styles/general_tactical_view.css b/pandora_console/include/styles/general_tactical_view.css index b758fd7738..476ca981bb 100644 --- a/pandora_console/include/styles/general_tactical_view.css +++ b/pandora_console/include/styles/general_tactical_view.css @@ -81,7 +81,8 @@ .subtitle { font-size: 13px; color: #161628; - padding-bottom: 10px; + padding-bottom: 5px; + padding-top: 5px; } .subtitle.link { display: flex;