diff --git a/pandora_console/include/class/WelcomeWindow.class.php b/pandora_console/include/class/WelcomeWindow.class.php index 23ccab438d..a610359933 100644 --- a/pandora_console/include/class/WelcomeWindow.class.php +++ b/pandora_console/include/class/WelcomeWindow.class.php @@ -920,27 +920,31 @@ class WelcomeWindow extends Wizard echo '
'; + $spacing = ''; + for ($i = 0; $i < 12; $i++) { + $spacing .= ' '; + } + // WMI Credentials - echo html_print_label_input_block( - __('WMI credentials'), - html_print_div( - [ - 'id' => 'wmi-creds', - 'content' => '' - ], - true - ) + echo '
'; + echo ''.__('WMI credentials').''; + echo html_print_div( + [ + 'id' => 'wmi-creds', + 'content' => '' + ], + true ); echo html_print_div( [ 'id' => 'wmi-cred-form', 'hidden' => true, - 'style' => 'margin: 3px; display: flex; align-items: center;', + 'style' => 'margin: 10px; display: flex; align-items: center;', 'content' => html_print_div( [ 'id' => 'wmi-cred-user-div', 'style' => 'width: 260px;', - 'content' => html_print_label_input_block(' '.__('User').' ', html_print_input_text( + 'content' => html_print_label_input_block(__('User').' ', html_print_input_text( 'wmi-cred-user', '', '', @@ -969,7 +973,7 @@ class WelcomeWindow extends Wizard [ 'id' => 'wmi-cred-pass-div', 'style' => 'width: 260px;', - 'content' => html_print_label_input_block(' '.__('Password').' ', html_print_input_password( + 'content' => html_print_label_input_block($spacing.__('Password').' ', html_print_input_password( 'wmi-cred-pass', '', '', @@ -991,7 +995,7 @@ class WelcomeWindow extends Wizard [ 'id' => 'wmi-cred-namespace-div', 'style' => 'width: 260px;', - 'content' => html_print_label_input_block(' '.__('Namespace').' ', html_print_input_text( + 'content' => html_print_label_input_block($spacing.__('Namespace').' ', html_print_input_text( 'wmi-cred-namespace', '', '', @@ -1028,7 +1032,7 @@ class WelcomeWindow extends Wizard ], true ); - echo '
'; + echo '
'; echo html_print_button( __('Add'), 'add-wmi-cred', @@ -1044,30 +1048,30 @@ class WelcomeWindow extends Wizard false, '' ); + echo '
'; echo '
'; // RCM Credentials - echo html_print_label_input_block( - __('Remote commands credentials'), - html_print_div( - [ - 'id' => 'rcmd-creds', - 'content' => '' - ], - true - ) + echo '
'; + echo ''.__('Remote commands credentials').''; + echo html_print_div( + [ + 'id' => 'rcmd-creds', + 'content' => '' + ], + true ); echo html_print_div( [ 'id' => 'rcmd-cred-form', 'hidden' => true, - 'style' => 'margin: 3px; display: flex; align-items: center;', + 'style' => 'margin: 10px; display: flex; align-items: center;', 'content' => html_print_div( [ 'id' => 'rcmd-cred-user-div', 'style' => 'width: 260px;', - 'content' => html_print_label_input_block(' '.__('User').' ', html_print_input_text( + 'content' => html_print_label_input_block(__('User').' ', html_print_input_text( 'rcmd-cred-user', '', '', @@ -1096,7 +1100,7 @@ class WelcomeWindow extends Wizard [ 'id' => 'rcmd-cred-pass-div', 'style' => 'width: 260px;', - 'content' => html_print_label_input_block(' '.__('Password').' ', html_print_input_password( + 'content' => html_print_label_input_block($spacing.__('Password').' ', html_print_input_password( 'rcmd-cred-pass', '', '', @@ -1126,7 +1130,7 @@ class WelcomeWindow extends Wizard ], true ); - echo '
'; + echo '
'; echo html_print_button( __('Add'), 'add-rcmd-cred', @@ -1142,6 +1146,7 @@ class WelcomeWindow extends Wizard false, '' ); + echo '
'; echo html_print_submit_button(__('Create'), 'basic_net', false, ['icon' => 'next', 'style' => 'margin-top:15px; float:right;']); ?>