From 1f89a0d2930fa8c89afd5ef37cb21d70ee9c96ca Mon Sep 17 00:00:00 2001 From: marcos Date: Mon, 29 Mar 2021 09:58:23 +0200 Subject: [PATCH] fixed visual error --- pandora_console/godmode/wizards/DiscoveryTaskList.class.php | 2 +- pandora_console/godmode/wizards/HostDevices.class.php | 2 +- pandora_console/include/class/CustomNetScan.class.php | 5 +++-- .../include/class/ManageNetScanScripts.class.php | 6 +++--- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/pandora_console/godmode/wizards/DiscoveryTaskList.class.php b/pandora_console/godmode/wizards/DiscoveryTaskList.class.php index 7cad72f419..1f3e442a15 100644 --- a/pandora_console/godmode/wizards/DiscoveryTaskList.class.php +++ b/pandora_console/godmode/wizards/DiscoveryTaskList.class.php @@ -519,7 +519,7 @@ class DiscoveryTaskList extends HTML // Server Name. $table->headstyle[2] .= 'min-width: 130px; width: 400px;'; // Name. - $table->headstyle[4] .= 'min-width: 100px; width: 400px;'; + $table->headstyle[4] .= 'min-width: 100px; width: 350px;'; // Status. $table->headstyle[5] .= 'min-width: 70px; width: 190px;'; // Task type. diff --git a/pandora_console/godmode/wizards/HostDevices.class.php b/pandora_console/godmode/wizards/HostDevices.class.php index 892556f3fb..09c2e1af48 100755 --- a/pandora_console/godmode/wizards/HostDevices.class.php +++ b/pandora_console/godmode/wizards/HostDevices.class.php @@ -809,7 +809,7 @@ class HostDevices extends Wizard 'name' => 'interval_manual_defined', 'return' => true, ], - 'extra' => '
'.ui_print_help_tip( + 'extra' => '
'.ui_print_help_tip( __('The minimum recomended interval for Recon Task is 5 minutes'), true ).html_print_extended_select_for_time( diff --git a/pandora_console/include/class/CustomNetScan.class.php b/pandora_console/include/class/CustomNetScan.class.php index 2d22d1b7fc..ed0fa21b64 100644 --- a/pandora_console/include/class/CustomNetScan.class.php +++ b/pandora_console/include/class/CustomNetScan.class.php @@ -648,7 +648,7 @@ class CustomNetScan extends Wizard ); $form['inputs'][] = [ - 'label' => __('Explanation').'', + 'label' => __('Explanation').'', 'arguments' => [ 'type' => 'textarea', 'rows' => 4, @@ -656,7 +656,8 @@ class CustomNetScan extends Wizard 'name' => 'explanation', 'value' => $explanation, 'return' => true, - 'class' => 'discovery_textarea_input w388px', + 'class' => 'w388px discovery_textarea_input', + 'style' => 'width: 388px', ], ]; diff --git a/pandora_console/include/class/ManageNetScanScripts.class.php b/pandora_console/include/class/ManageNetScanScripts.class.php index a791cc2894..71b10c48db 100644 --- a/pandora_console/include/class/ManageNetScanScripts.class.php +++ b/pandora_console/include/class/ManageNetScanScripts.class.php @@ -605,7 +605,7 @@ class ManageNetScanScripts extends Wizard $datam = []; $datam[0] = __('Description'); - $datam[0] .= " ( "; + $datam[0] .= " ( "; $datam[0] .= $macro_name; $datam[0] .= ' )'; $datam[0] .= html_print_input_hidden( @@ -634,7 +634,7 @@ class ManageNetScanScripts extends Wizard } $datam[2] = __('Default value'); - $datam[2] .= " ( "; + $datam[2] .= " ( "; $datam[2] .= $macro_name; $datam[2] .= ' ) '; $datam[3] = html_print_input_text_extended( @@ -688,7 +688,7 @@ class ManageNetScanScripts extends Wizard $datam = []; $datam[0] = __('Help'); - $datam[0] .= " ( "; + $datam[0] .= " ( "; $datam[0] .= $macro_name; $datam[0] .= ' )


';