From c4096f7d25e4c5e11c2d45ac6fb25ea67902b697 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Wed, 1 Mar 2023 14:17:03 +0100 Subject: [PATCH 1/2] Reporting wizards --- pandora_console/include/styles/pandora.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 7bd5e96647..6071159e08 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -11445,9 +11445,12 @@ div[role="dialog"] { #table_item_reporting > tbody > tr > td:first-child, #add_advanced_table > tbody > tr > td:first-child, #table_item_edit_reporting > tbody > tr > td:first-child, +#add_alert_table > tbody > tr > td:first-child, +.row-title-font-child > td:first-child, .row-title-font > td, -.row-title-font > td > div > div > b, -.td-title-font { +.row-title-font > td > div, +.td-title-font > b, +.row-title-font > td > div > div > b { font-size: 13px; line-height: 16px; color: #161628; From 5d0d485efa3d4d1f7cd205103419e5e649108c9b Mon Sep 17 00:00:00 2001 From: daniel Date: Wed, 1 Mar 2023 14:18:27 +0100 Subject: [PATCH 2/2] fixed styles --- .../godmode/reporting/map_builder.php | 42 ++++++++----------- .../reporting/visual_console_favorite.php | 42 ++++++++----------- 2 files changed, 34 insertions(+), 50 deletions(-) diff --git a/pandora_console/godmode/reporting/map_builder.php b/pandora_console/godmode/reporting/map_builder.php index 575c5456e6..09739be6ef 100644 --- a/pandora_console/godmode/reporting/map_builder.php +++ b/pandora_console/godmode/reporting/map_builder.php @@ -116,32 +116,24 @@ if ($is_enterprise !== ENTERPRISE_NOT_HOOK && $vconsoles_manage) { ]; } -if ($is_metaconsole === false) { - ui_print_standard_header( - __('Visual Console List'), - 'images/op_reporting.png', - false, - '', - true, - $buttons, +ui_print_standard_header( + __('Visual Console List'), + 'images/op_reporting.png', + false, + '', + true, + $buttons, + [ [ - [ - 'link' => '', - 'label' => __('Topology maps'), - ], - [ - 'link' => '', - 'label' => __('Visual console'), - ], - ] - ); -} else { - ui_meta_print_header( - __('Visual console').' » '.$visualConsoleName, - '', - $buttons - ); -} + 'link' => '', + 'label' => __('Topology maps'), + ], + [ + 'link' => '', + 'label' => __('Visual console'), + ], + ] +); $id_layout = (int) get_parameter('id_layout'); $copy_layout = (bool) get_parameter('copy_layout'); diff --git a/pandora_console/godmode/reporting/visual_console_favorite.php b/pandora_console/godmode/reporting/visual_console_favorite.php index ff267bbde0..677b11581e 100644 --- a/pandora_console/godmode/reporting/visual_console_favorite.php +++ b/pandora_console/godmode/reporting/visual_console_favorite.php @@ -113,32 +113,24 @@ if ($is_enterprise !== ENTERPRISE_NOT_HOOK && $vconsoles_manage) { ]; } -if ($is_metaconsole === false) { - ui_print_standard_header( - __('Favourite Visual Console'), - 'images/op_reporting.png', - false, - '', - true, - $buttons, +ui_print_standard_header( + __('Favourite Visual Console'), + 'images/op_reporting.png', + false, + '', + true, + $buttons, + [ [ - [ - 'link' => '', - 'label' => __('Topology maps'), - ], - [ - 'link' => '', - 'label' => __('Visual console'), - ], - ] - ); -} else { - ui_meta_print_header( - __('Visual console').' » '.$visualConsoleName, - '', - $buttons - ); -} + 'link' => '', + 'label' => __('Topology maps'), + ], + [ + 'link' => '', + 'label' => __('Visual console'), + ], + ] +); $search = (string) get_parameter('search', ''); $ag_group = (int) get_parameter('ag_group', 0);