From 823bf523720ed819c005157b49ddb24e3b34dfc0 Mon Sep 17 00:00:00 2001 From: marcos Date: Thu, 25 Mar 2021 11:49:32 +0100 Subject: [PATCH 1/4] fixed visual error --- .../godmode/wizards/DiscoveryTaskList.class.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pandora_console/godmode/wizards/DiscoveryTaskList.class.php b/pandora_console/godmode/wizards/DiscoveryTaskList.class.php index 4a919b2653..7cad72f419 100644 --- a/pandora_console/godmode/wizards/DiscoveryTaskList.class.php +++ b/pandora_console/godmode/wizards/DiscoveryTaskList.class.php @@ -515,19 +515,21 @@ class DiscoveryTaskList extends HTML } // Task name. - $table->headstyle[1] .= 'min-width: 150px; width: 300px;'; + $table->headstyle[1] .= 'min-width: 170px; width: 300px;'; + // Server Name. + $table->headstyle[2] .= 'min-width: 130px; width: 400px;'; // Name. $table->headstyle[4] .= 'min-width: 100px; width: 400px;'; // Status. - $table->headstyle[5] .= 'min-width: 50px; width: 100px;'; + $table->headstyle[5] .= 'min-width: 70px; width: 190px;'; // Task type. - $table->headstyle[6] .= 'min-width: 200px; width: 200px;'; + $table->headstyle[6] .= 'min-width: 190px; width: 200px;'; // Progress. - $table->headstyle[7] .= 'min-width: 50px; width: 150px;'; + $table->headstyle[7] .= 'min-width: 60px; width: 150px;'; // Updated at. $table->headstyle[8] .= 'min-width: 50px; width: 150px;'; // Operations. - $table->headstyle[9] .= 'min-width: 150px; width: 150px;'; + $table->headstyle[9] .= 'min-width: 150px; width: 250px;'; if (check_acl($config['id_user'], 0, 'AW')) { $table->head[0] = __('Force'); @@ -850,7 +852,7 @@ class DiscoveryTaskList extends HTML $data[9] .= ''; $data[9] .= html_print_image( - 'images/eye.png', + 'images/operation.png', true, [ 'title' => __('View summary'), From f5ceb2384e55c3d44eb8fa3ce3437b93fe331d3b Mon Sep 17 00:00:00 2001 From: marcos Date: Thu, 25 Mar 2021 12:35:40 +0100 Subject: [PATCH 2/4] fixed visual error --- pandora_console/include/functions_ui.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index 267b5123c4..9f1e8e3171 100755 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -322,8 +322,8 @@ function ui_print_message($message, $class='', $attributes='', $return=false, $t class="info_box '.$id.' '.$class.' textodialogo" style="'.$force_style.'"> '.html_print_image($icon_image, true, false, false, false, false).' - '.$text_title.' - '; + '.$text_title.' + '; if (!$no_close_bool) { // Use the no_meta parameter because this image is only in // the base console. From a6b9998bbec127198e8879718f55e3fbbf1f6337 Mon Sep 17 00:00:00 2001 From: marcos Date: Thu, 25 Mar 2021 13:42:21 +0100 Subject: [PATCH 3/4] fixed visual error --- pandora_console/include/class/ManageNetScanScripts.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/class/ManageNetScanScripts.class.php b/pandora_console/include/class/ManageNetScanScripts.class.php index a5d0ab355c..a791cc2894 100644 --- a/pandora_console/include/class/ManageNetScanScripts.class.php +++ b/pandora_console/include/class/ManageNetScanScripts.class.php @@ -47,8 +47,8 @@ class ManageNetScanScripts extends Wizard * @var array */ public $pageLabels = [ - 'List net scan scripts', - 'Operation net scan cripts', + 'List NetScan scripts', + 'Operation NetScan scripts', ]; From 1f89a0d2930fa8c89afd5ef37cb21d70ee9c96ca Mon Sep 17 00:00:00 2001 From: marcos Date: Mon, 29 Mar 2021 09:58:23 +0200 Subject: [PATCH 4/4] 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] .= ' )


';