diff --git a/pandora_console/godmode/reporting/visual_console_favorite.php b/pandora_console/godmode/reporting/visual_console_favorite.php index 1724a241a9..c3b13c8ef4 100644 --- a/pandora_console/godmode/reporting/visual_console_favorite.php +++ b/pandora_console/godmode/reporting/visual_console_favorite.php @@ -250,7 +250,7 @@ if ($favorite_array == false) { echo "
  • "; echo "
    "; echo html_print_image( - 'images/'.groups_get_icon($favourite_v['id_group']).'.png', + 'images/'.groups_get_icon($favourite_v['id_group']), true, ['style' => ''] ); diff --git a/pandora_console/include/class/NetworkMap.class.php b/pandora_console/include/class/NetworkMap.class.php index 596f4e7451..cbd7ed2cfb 100644 --- a/pandora_console/include/class/NetworkMap.class.php +++ b/pandora_console/include/class/NetworkMap.class.php @@ -3298,6 +3298,7 @@ class NetworkMap $table = new stdClass(); $table->id = 'interface_link_table'; + $table->class = 'info_table'; $table->width = '100%'; $table->head['node_source_interface'] = __('Node source'); $table->head['interface_source_select'] = __('Interface source'); @@ -3340,16 +3341,25 @@ class NetworkMap $output .= '
    '; - $table->data['interface_row']['interface_link_button'] = html_print_button( - __('Add interface link'), - '', - false, - 'add_interface_link_js();', - 'class="sub"', + $output .= html_print_table($table, true); + $output .= html_print_div( + [ + 'class' => 'action-buttons', + 'content' => html_print_button( + __('Add interface link'), + '', + false, + 'add_interface_link_js();', + [ + 'icon' => 'wand', + 'mode' => 'mini', + ], + true + ), + ], true ); - $output .= html_print_table($table, true); $output .= '
    '; $output .= '