';
echo '';
echo '';
@@ -709,7 +764,7 @@ html_print_div(['id' => 'forced_title_layer', 'class' => 'forced_title_layer', '
});
});
- $("#submit-hide-login-error").click (function () {
+ $("#button-hide-login-error").click (function () {
$("#modal_alert" ).dialog('close');
});
@@ -798,7 +853,7 @@ html_print_div(['id' => 'forced_title_layer', 'class' => 'forced_title_layer', '
});
});
- $("#submit-hide-login-error").click (function () {
+ $("#button-hide-login-error").click (function () {
$("#login_failed" ).dialog('close');
$("#login_correct_pass").dialog('close');
});
@@ -824,7 +879,7 @@ html_print_div(['id' => 'forced_title_layer', 'class' => 'forced_title_layer', '
});
});
- $("#submit-reset_correct_button").click (function () {
+ $("#button-reset_correct_button").click (function () {
$("#reset_correct").dialog('close');
});
});
@@ -868,5 +923,30 @@ html_print_div(['id' => 'forced_title_layer', 'class' => 'forced_title_layer', '
});
}
+ $(document).ready(function () {
+ $('#show-hide-pass').click(function (e) {
+ let inputPass = this.previousElementSibling;
+
+ if (inputPass.type === "password") {
+ inputPass.type = "text";
+ inputPass.style.backgroundImage = "url('/images/eye-closed-input.png')";
+ } else {
+ inputPass.type = "password";
+ inputPass.style.backgroundImage = "url('/images/eye-open-input.png')";
+ }
+ });
+
+ $('#submit-login_button span').removeAttr('style');
+ $('#spinner_login').hide();
+ });
+
+ $('#submit-login_button').click(function (e) {
+ $('.login_nick').hide();
+ $('.login_pass').hide();
+ $('.login_button').hide();
+ $('.reset_password').hide();
+ $('#spinner_login').show();
+ });
+
/* ]]> */
diff --git a/pandora_console/godmode/menu.php b/pandora_console/godmode/menu.php
index be8b48a2f3..e9c262b7cf 100644
--- a/pandora_console/godmode/menu.php
+++ b/pandora_console/godmode/menu.php
@@ -185,7 +185,7 @@ if ($access_console_node === true) {
$sub['templates']['sub2'] = $sub2;
$sub['godmode/modules/manage_inventory_modules']['text'] = __('Inventory modules');
- $sub['godmode/modules/manage_inventory_modules']['id'] = 'Inventory modules';
+ $sub['godmode/modules/manage_inventory_modules']['id'] = 'Inventory_modules';
enterprise_hook('autoconfiguration_menu');
enterprise_hook('agent_repository_menu');
diff --git a/pandora_console/godmode/setup/setup_visuals.php b/pandora_console/godmode/setup/setup_visuals.php
index 7b8943bbf9..67577f68ed 100755
--- a/pandora_console/godmode/setup/setup_visuals.php
+++ b/pandora_console/godmode/setup/setup_visuals.php
@@ -449,8 +449,8 @@ if (enterprise_installed() === true) {
'custom_splash_login',
$config['custom_splash_login'],
'',
- '',
- '',
+ __('Default'),
+ 'default',
true,
false,
true,
@@ -663,6 +663,12 @@ if (enterprise_installed() === true) {
$row++;
}
+if (enterprise_installed() === true) {
+ $table_styles->data[$row][0] = __('Background opacity % (login)');
+ $table_styles->data[$row][1] = "";
+ $row++;
+}
+
if (enterprise_installed() === true) {
$table_styles->data[$row][0] = __('Disable logo in graphs');
$table_styles->data[$row][1] = html_print_checkbox_switch(
@@ -715,6 +721,16 @@ $table_styles->data[$row][1] = html_print_checkbox_switch(
$config['visual_animation'],
true
);
+$row++;
+
+$table_styles->data[$row][0] = __('Random background (login)');
+$table_styles->data[$row][1] = html_print_checkbox_switch(
+ 'random_background',
+ 1,
+ $config['random_background'],
+ true
+);
+$row++;
// ----------------------------------------------------------------------
@@ -1147,7 +1163,7 @@ $table_vc->data[$row][1] = html_print_select(
$row++;
$table_vc->data[$row][0] = __('Number of favorite visual consoles to show in the menu');
-$table_vc->data[$row][1] = "";
+$table_vc->data[$row][1] = "";
$row++;
$table_vc->data[$row][0] = __('Default line thickness for the Visual Console');
@@ -1181,7 +1197,7 @@ $table_ser->size[0] = '50%';
$table_ser->data = [];
$table_ser->data['number'][0] = __('Number of favorite services to show in the menu');
-$table_ser->data['number'][1] = "";
+$table_ser->data['number'][1] = "";
// ----------------------------------------------------------------------
// Reports
@@ -1214,12 +1230,12 @@ $table_report->data[$row][1] = html_print_checkbox_switch(
$row++;
$table_report->data[$row][0] = __('PDF font size (px)');
-$table_report->data[$row][1] = "";
+$table_report->data[$row][1] = "";
$row++;
$table_report->data[$row][0] = __('HTML font size for SLA (em)');
-$table_report->data[$row][1] = "";
+$table_report->data[$row][1] = "";
$row++;
diff --git a/pandora_console/images/animated_login/line-1.svg b/pandora_console/images/animated_login/line-1.svg
new file mode 100644
index 0000000000..abf8747c4d
--- /dev/null
+++ b/pandora_console/images/animated_login/line-1.svg
@@ -0,0 +1,20 @@
+
+
\ No newline at end of file
diff --git a/pandora_console/images/animated_login/line-2.svg b/pandora_console/images/animated_login/line-2.svg
new file mode 100644
index 0000000000..9c166ec688
--- /dev/null
+++ b/pandora_console/images/animated_login/line-2.svg
@@ -0,0 +1,20 @@
+
+
\ No newline at end of file
diff --git a/pandora_console/images/animated_login/line-3.svg b/pandora_console/images/animated_login/line-3.svg
new file mode 100644
index 0000000000..1db509a7b8
--- /dev/null
+++ b/pandora_console/images/animated_login/line-3.svg
@@ -0,0 +1,20 @@
+
+
\ No newline at end of file
diff --git a/pandora_console/images/animated_login/static.svg b/pandora_console/images/animated_login/static.svg
new file mode 100644
index 0000000000..dfa1936eec
--- /dev/null
+++ b/pandora_console/images/animated_login/static.svg
@@ -0,0 +1,93 @@
+
+
\ No newline at end of file
diff --git a/pandora_console/images/backgrounds/random_backgrounds/Abstract_data.jpeg b/pandora_console/images/backgrounds/random_backgrounds/Abstract_data.jpeg
new file mode 100644
index 0000000000..190cc3a387
Binary files /dev/null and b/pandora_console/images/backgrounds/random_backgrounds/Abstract_data.jpeg differ
diff --git a/pandora_console/images/backgrounds/random_backgrounds/Ascii_control_room.jpeg b/pandora_console/images/backgrounds/random_backgrounds/Ascii_control_room.jpeg
new file mode 100644
index 0000000000..e73b0ede2b
Binary files /dev/null and b/pandora_console/images/backgrounds/random_backgrounds/Ascii_control_room.jpeg differ
diff --git a/pandora_console/images/backgrounds/random_backgrounds/Bauhaus_dashboard_wall.jpeg b/pandora_console/images/backgrounds/random_backgrounds/Bauhaus_dashboard_wall.jpeg
new file mode 100644
index 0000000000..3c53960f2b
Binary files /dev/null and b/pandora_console/images/backgrounds/random_backgrounds/Bauhaus_dashboard_wall.jpeg differ
diff --git a/pandora_console/images/backgrounds/random_backgrounds/CGI_nodes.jpg b/pandora_console/images/backgrounds/random_backgrounds/CGI_nodes.jpg
new file mode 100644
index 0000000000..7f0a46e130
Binary files /dev/null and b/pandora_console/images/backgrounds/random_backgrounds/CGI_nodes.jpg differ
diff --git a/pandora_console/images/backgrounds/random_backgrounds/CGI_quantum.jpeg b/pandora_console/images/backgrounds/random_backgrounds/CGI_quantum.jpeg
new file mode 100644
index 0000000000..96614bfdda
Binary files /dev/null and b/pandora_console/images/backgrounds/random_backgrounds/CGI_quantum.jpeg differ
diff --git a/pandora_console/images/backgrounds/random_backgrounds/Digital_paint_server.jpeg b/pandora_console/images/backgrounds/random_backgrounds/Digital_paint_server.jpeg
new file mode 100644
index 0000000000..f1124c78c8
Binary files /dev/null and b/pandora_console/images/backgrounds/random_backgrounds/Digital_paint_server.jpeg differ
diff --git a/pandora_console/images/backgrounds/random_backgrounds/Suprematism_cloud.jpeg b/pandora_console/images/backgrounds/random_backgrounds/Suprematism_cloud.jpeg
new file mode 100644
index 0000000000..f38937c607
Binary files /dev/null and b/pandora_console/images/backgrounds/random_backgrounds/Suprematism_cloud.jpeg differ
diff --git a/pandora_console/images/eye-closed-input.png b/pandora_console/images/eye-closed-input.png
new file mode 100644
index 0000000000..e21ca8a8ee
Binary files /dev/null and b/pandora_console/images/eye-closed-input.png differ
diff --git a/pandora_console/images/eye-open-input.png b/pandora_console/images/eye-open-input.png
new file mode 100644
index 0000000000..6bc8314b2c
Binary files /dev/null and b/pandora_console/images/eye-open-input.png differ
diff --git a/pandora_console/images/icono_docs.png b/pandora_console/images/icono_docs.png
index 8b9dca61c9..d031b7194f 100644
Binary files a/pandora_console/images/icono_docs.png and b/pandora_console/images/icono_docs.png differ
diff --git a/pandora_console/images/signin.svg b/pandora_console/images/signin.svg
new file mode 100644
index 0000000000..e0e90db09e
--- /dev/null
+++ b/pandora_console/images/signin.svg
@@ -0,0 +1,23 @@
+
+
\ No newline at end of file
diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php
index 4af0ace687..9913438275 100755
--- a/pandora_console/include/ajax/module.php
+++ b/pandora_console/include/ajax/module.php
@@ -225,8 +225,7 @@ if (check_login()) {
SECONDS_2YEARS => __('2 years'),
SECONDS_3YEARS => __('3 years'),
];
-
- $formtable->data[0][0] = html_print_radio_button_extended(
+ $formtable->data[0][0] = '
'.html_print_radio_button_extended(
'selection_mode',
'fromnow',
'',
@@ -235,8 +234,9 @@ if (check_login()) {
'',
'class="mrgn_right_15px"',
true
- ).__('Choose a time from now');
- $formtable->data[0][1] = html_print_select(
+ ).__('Choose a time from now').'