diff --git a/pandora_console/godmode/groups/configure_group.php b/pandora_console/godmode/groups/configure_group.php index 17a4eacd58..0f3f61d5a6 100644 --- a/pandora_console/godmode/groups/configure_group.php +++ b/pandora_console/godmode/groups/configure_group.php @@ -133,8 +133,8 @@ $table->data[0][0] = html_print_label_input_block( html_print_input_text('name', $name, '', 35, 100, true) ); -$input_icon = html_print_select($files, 'icon', $icon, '', 'None', '', true); -$input_icon .= ' '; +$input_icon = html_print_select($files, 'icon', $icon, '', 'None', '', true, false, true, '', false, 'width: 100%;'); +$input_icon .= ' '; if (empty($icon) === false) { $input_icon .= html_print_image('images/'.$icon, true); } @@ -143,7 +143,13 @@ $input_icon .= ''; $table->data[0][1] = html_print_label_input_block( __('Icon'), - '
'.$input_icon.'
' + html_print_div( + [ + 'class' => 'flex-content-left ', + 'content' => $input_icon, + ], + true + ) ); if ($id_group > 0) { @@ -191,14 +197,20 @@ if ($id_group > 0) { } if ($acl_parent === true) { - $input_parent .= ' '; + $input_parent .= ' '; $input_parent .= html_print_image('images/'.(($id_parent !== 0) ? groups_get_icon($id_parent) : 'unknown@groups.svg'), true); $input_parent .= ''; } $table->data[1][0] = html_print_label_input_block( __('Parent'), - '
'.$input_parent.'
' + html_print_div( + [ + 'class' => 'flex-content-left ', + 'content' => $input_parent, + ], + true + ) ); if ((bool) $config['enterprise_installed'] === true) { @@ -271,11 +283,14 @@ if ($id_group) { } $buttons .= html_print_button( - __('Back'), + __('Go back'), 'button_back', false, '', - ['icon' => 'cancel'], + [ + 'icon' => 'back', + 'mode' => 'secondary', + ], true ); diff --git a/pandora_console/godmode/groups/group_list.php b/pandora_console/godmode/groups/group_list.php index 968e4c4a30..268d91dd3a 100644 --- a/pandora_console/godmode/groups/group_list.php +++ b/pandora_console/godmode/groups/group_list.php @@ -14,7 +14,7 @@ * |___| |___._|__|__|_____||_____|__| |___._| |___| |__|_|__|_______| * * ============================================================================ - * Copyright (c) 2005-2021 Artica Soluciones Tecnologicas + * Copyright (c) 2005-2023 Artica Soluciones Tecnologicas * Please see http://pandorafms.org for full contribution list * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -306,11 +306,11 @@ $url_groups = 'index.php?sec='.$sec.'&sec2=godmode/groups/group_list&tab=groups' $buttons['tree'] = [ 'active' => false, 'text' => ''.html_print_image( - 'images/gm_massive_operations.png', + 'images/snmp-trap@svg.svg', true, [ 'title' => __('Tree Group view'), - 'class' => 'invert_filter', + 'class' => 'main_menu_icon invert_filter', ] ).'', ]; @@ -318,11 +318,11 @@ $buttons['tree'] = [ $buttons['groups'] = [ 'active' => false, 'text' => ''.html_print_image( - 'images/group.png', + 'images/groups@svg.svg', true, [ 'title' => __('Group view'), - 'class' => 'invert_filter', + 'class' => 'main_menu_icon invert_filter', ] ).'', ]; @@ -334,7 +334,7 @@ $buttons['credbox'] = [ true, [ 'title' => __('Credential Store'), - 'class' => 'invert_filter', + 'class' => 'main_menu_icon invert_filter', ] ).'', ]; @@ -945,12 +945,12 @@ if ($tab == 'tree') { if ($is_management_allowed === true) { $table->cellclass[$key][6] = 'table_action_buttons'; $table->data[$key][6] = ''.html_print_image( - 'images/config.png', + 'images/edit.svg', true, [ - 'alt' => __('Edit'), - 'title' => __('Edit'), - 'border' => '0', + 'alt' => __('Edit'), + 'title' => __('Edit'), + 'class' => 'main_menu_icon invert_filter', ] ).''; @@ -965,7 +965,7 @@ if ($tab == 'tree') { } $table->data[$key][6] .= ''.html_print_image( - 'images/cross.png', + 'images/delete.svg', true, [ 'alt' => __('Delete'), diff --git a/pandora_console/godmode/tag/tag.php b/pandora_console/godmode/tag/tag.php index 82fb18a300..a36829c44b 100644 --- a/pandora_console/godmode/tag/tag.php +++ b/pandora_console/godmode/tag/tag.php @@ -14,7 +14,7 @@ * |___| |___._|__|__|_____||_____|__| |___._| |___| |__|_|__|_______| * * ============================================================================ - * Copyright (c) 2005-2021 Artica Soluciones Tecnologicas + * Copyright (c) 2005-2023 Artica Soluciones Tecnologicas * Please see http://pandorafms.org for full contribution list * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -126,11 +126,11 @@ $buttons = [ 'list' => [ 'active' => false, 'text' => ''.html_print_image( - 'images/list.png', + 'images/logs@svg.svg', true, [ 'title' => __('List tags'), - 'class' => 'invert_filter', + 'class' => 'main_menu_icon invert_filter', ] ).'', ], @@ -335,9 +335,9 @@ if (empty($result) === false) { // The tooltip needs a title on the item, don't delete the title. $data[3] = ''.html_print_image( - 'images/zoom.png', + 'images/details.svg', true, - ['class' => 'invert_filter'] + ['class' => 'main_menu_icon invert_filter'] ).' '; $modules_count = 0; @@ -375,9 +375,9 @@ if (empty($result) === false) { $output .= '
'; $output .= ""; $output .= html_print_image( - 'images/rosette.png', + 'images/item-icon.svg', true, - ['class' => 'invert_filter'] + ['class' => 'main_menu_icon invert_filter'] ); $output .= '
'; } @@ -396,9 +396,9 @@ if (empty($result) === false) { $output .= ''.$phone_small.' '; $output .= ""; $output .= html_print_image( - 'images/rosette.png', + 'images/item-icon.svg', true, - ['class' => 'invert_filter'] + ['class' => 'main_menu_icon invert_filter'] ); $output .= ''; } @@ -409,20 +409,20 @@ if (empty($result) === false) { $table->cellclass[][6] = 'table_action_buttons'; $data[6] = ""; $data[6] .= html_print_image( - 'images/config.png', + 'images/edit.svg', true, [ 'title' => 'Edit', - 'class' => 'invert_filter', + 'class' => 'main_menu_icon invert_filter', ] ); $data[6] .= ''; $data[6] .= ''.html_print_image( - 'images/cross.png', + 'images/delete.svg', true, [ 'title' => 'Delete', - 'class' => 'invert_filter', + 'class' => 'main_menu_icon invert_filter', ] ).''; } diff --git a/pandora_console/include/class/CredentialStore.class.php b/pandora_console/include/class/CredentialStore.class.php index b5704d7872..8bdc200299 100644 --- a/pandora_console/include/class/CredentialStore.class.php +++ b/pandora_console/include/class/CredentialStore.class.php @@ -1283,13 +1283,15 @@ class CredentialStore extends Wizard idrow += '\')" >'+item.identifier+''; item.identifier = idrow; - item.options = ''; + item.options += ' __('Show'), 'class' => 'invert_filter']); ?>'; + item.options += '\')" > __('Edit'), 'class' => 'main_menu_icon invert_filter']); ?>'; item.options += ' __('Delete'), 'class' => 'invert_filter']); ?>'; + item.options += '\')" > __('Delete'), 'class' => 'main_menu_icon invert_filter']); ?>'; + item.options += ''; } /**