mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Updated welcome windows styles
This commit is contained in:
parent
269a9134bb
commit
86c33119c8
@ -920,27 +920,31 @@ class WelcomeWindow extends Wizard
|
|||||||
|
|
||||||
echo '<br>';
|
echo '<br>';
|
||||||
|
|
||||||
|
$spacing = '';
|
||||||
|
for ($i = 0; $i < 12; $i++) {
|
||||||
|
$spacing .= ' ';
|
||||||
|
}
|
||||||
|
|
||||||
// WMI Credentials
|
// WMI Credentials
|
||||||
echo html_print_label_input_block(
|
echo '<fieldset style="padding: 10px; padding-top: 0px">';
|
||||||
__('WMI credentials'),
|
echo '<legend>'.__('WMI credentials').'</legend>';
|
||||||
html_print_div(
|
echo html_print_div(
|
||||||
[
|
[
|
||||||
'id' => 'wmi-creds',
|
'id' => 'wmi-creds',
|
||||||
'content' => ''
|
'content' => ''
|
||||||
],
|
],
|
||||||
true
|
true
|
||||||
)
|
|
||||||
);
|
);
|
||||||
echo html_print_div(
|
echo html_print_div(
|
||||||
[
|
[
|
||||||
'id' => 'wmi-cred-form',
|
'id' => 'wmi-cred-form',
|
||||||
'hidden' => true,
|
'hidden' => true,
|
||||||
'style' => 'margin: 3px; display: flex; align-items: center;',
|
'style' => 'margin: 10px; display: flex; align-items: center;',
|
||||||
'content' => html_print_div(
|
'content' => html_print_div(
|
||||||
[
|
[
|
||||||
'id' => 'wmi-cred-user-div',
|
'id' => 'wmi-cred-user-div',
|
||||||
'style' => 'width: 260px;',
|
'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',
|
'wmi-cred-user',
|
||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
@ -969,7 +973,7 @@ class WelcomeWindow extends Wizard
|
|||||||
[
|
[
|
||||||
'id' => 'wmi-cred-pass-div',
|
'id' => 'wmi-cred-pass-div',
|
||||||
'style' => 'width: 260px;',
|
'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',
|
'wmi-cred-pass',
|
||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
@ -991,7 +995,7 @@ class WelcomeWindow extends Wizard
|
|||||||
[
|
[
|
||||||
'id' => 'wmi-cred-namespace-div',
|
'id' => 'wmi-cred-namespace-div',
|
||||||
'style' => 'width: 260px;',
|
'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',
|
'wmi-cred-namespace',
|
||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
@ -1028,7 +1032,7 @@ class WelcomeWindow extends Wizard
|
|||||||
],
|
],
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
echo '<br>';
|
echo '<div style="height: 10px;"></div>';
|
||||||
echo html_print_button(
|
echo html_print_button(
|
||||||
__('Add'),
|
__('Add'),
|
||||||
'add-wmi-cred',
|
'add-wmi-cred',
|
||||||
@ -1044,30 +1048,30 @@ class WelcomeWindow extends Wizard
|
|||||||
false,
|
false,
|
||||||
''
|
''
|
||||||
);
|
);
|
||||||
|
echo '</fieldset>';
|
||||||
|
|
||||||
echo '<br>';
|
echo '<br>';
|
||||||
|
|
||||||
// RCM Credentials
|
// RCM Credentials
|
||||||
echo html_print_label_input_block(
|
echo '<fieldset style="padding: 10px; padding-top: 0px">';
|
||||||
__('Remote commands credentials'),
|
echo '<legend>'.__('Remote commands credentials').'</legend>';
|
||||||
html_print_div(
|
echo html_print_div(
|
||||||
[
|
[
|
||||||
'id' => 'rcmd-creds',
|
'id' => 'rcmd-creds',
|
||||||
'content' => ''
|
'content' => ''
|
||||||
],
|
],
|
||||||
true
|
true
|
||||||
)
|
|
||||||
);
|
);
|
||||||
echo html_print_div(
|
echo html_print_div(
|
||||||
[
|
[
|
||||||
'id' => 'rcmd-cred-form',
|
'id' => 'rcmd-cred-form',
|
||||||
'hidden' => true,
|
'hidden' => true,
|
||||||
'style' => 'margin: 3px; display: flex; align-items: center;',
|
'style' => 'margin: 10px; display: flex; align-items: center;',
|
||||||
'content' => html_print_div(
|
'content' => html_print_div(
|
||||||
[
|
[
|
||||||
'id' => 'rcmd-cred-user-div',
|
'id' => 'rcmd-cred-user-div',
|
||||||
'style' => 'width: 260px;',
|
'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',
|
'rcmd-cred-user',
|
||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
@ -1096,7 +1100,7 @@ class WelcomeWindow extends Wizard
|
|||||||
[
|
[
|
||||||
'id' => 'rcmd-cred-pass-div',
|
'id' => 'rcmd-cred-pass-div',
|
||||||
'style' => 'width: 260px;',
|
'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',
|
'rcmd-cred-pass',
|
||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
@ -1126,7 +1130,7 @@ class WelcomeWindow extends Wizard
|
|||||||
],
|
],
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
echo '<br>';
|
echo '<div style="height: 10px;"></div>';
|
||||||
echo html_print_button(
|
echo html_print_button(
|
||||||
__('Add'),
|
__('Add'),
|
||||||
'add-rcmd-cred',
|
'add-rcmd-cred',
|
||||||
@ -1142,6 +1146,7 @@ class WelcomeWindow extends Wizard
|
|||||||
false,
|
false,
|
||||||
''
|
''
|
||||||
);
|
);
|
||||||
|
echo '</fieldset>';
|
||||||
|
|
||||||
echo html_print_submit_button(__('Create'), 'basic_net', false, ['icon' => 'next', 'style' => 'margin-top:15px; float:right;']);
|
echo html_print_submit_button(__('Create'), 'basic_net', false, ['icon' => 'next', 'style' => 'margin-top:15px; float:right;']);
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user