diff --git a/pandora_console/godmode/reporting/map_builder.php b/pandora_console/godmode/reporting/map_builder.php index fe08aaa9fb..04b042dea3 100644 --- a/pandora_console/godmode/reporting/map_builder.php +++ b/pandora_console/godmode/reporting/map_builder.php @@ -553,6 +553,10 @@ if (!$maps && is_metaconsole() === false) { ['class' => 'main_menu_icon invert_filter'] ).''; } else { + $table->cellclass[] = [ + 3 => 'table_action_buttons', + 4 => 'table_action_buttons', + ]; $data[3] = ''.html_print_image( 'images/copy.svg', true, diff --git a/pandora_console/godmode/reporting/visual_console_builder.wizard.php b/pandora_console/godmode/reporting/visual_console_builder.wizard.php index 6a54b2c049..24b0c3f9bf 100644 --- a/pandora_console/godmode/reporting/visual_console_builder.wizard.php +++ b/pandora_console/godmode/reporting/visual_console_builder.wizard.php @@ -145,6 +145,11 @@ $table->data['all_0'][0] = html_print_label_input_block( $table->rowstyle['staticgraph'] = 'display: none;'; $table->colspan['staticgraph'][0] = 2; +$src = $config['homeurl'].'/images/console/icons/appliance_ok.png'; +if (is_metaconsole() === true) { + $src = $config['homeurl'].'../../images/console/icons/appliance_ok.png'; +} + $table->data['staticgraph'][0] = html_print_label_input_block( __('Image'), '
'.html_print_select( @@ -160,7 +165,7 @@ $table->data['staticgraph'][0] = html_print_label_input_block( '', false, 'width: 49%' - ).'
' + ).'' ); $table->rowstyle['all_1'] = 'display: none;'; @@ -902,10 +907,15 @@ function findInSelect(selectid, find){ }) } -$('#image').on('change', function(){ +$('#image').on('change', function() { var img = $(this).val(); - $('#image_prev').html(''); -}) + var src = ""+`/images/console/icons/${img}.png`; + if (metaconsole_enabled) { + src = ""+`../../images/console/icons/${img}.png`; + } + + $('#image_prev').html(``); +});