Merge branch 'ent-7202-fallos-visuales-discovery' into 'develop'

Ent 7202 fallos visuales discovery

See merge request artica/pandorafms!3953
This commit is contained in:
Daniel Rodriguez 2021-03-29 09:49:31 +00:00
commit 4fa790dd7f
5 changed files with 19 additions and 16 deletions

View File

@ -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;';
$table->headstyle[4] .= 'min-width: 100px; width: 350px;';
// 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');

View File

@ -809,7 +809,7 @@ class HostDevices extends Wizard
'name' => 'interval_manual_defined',
'return' => true,
],
'extra' => '<div id="interval_manual_container"><div class="time_selection_container">'.ui_print_help_tip(
'extra' => '<div id="interval_manual_container"><div class="time_selection_container mrgn_top_20px">'.ui_print_help_tip(
__('The minimum recomended interval for Recon Task is 5 minutes'),
true
).html_print_extended_select_for_time(

View File

@ -648,7 +648,7 @@ class CustomNetScan extends Wizard
);
$form['inputs'][] = [
'label' => __('Explanation').'<span id="spinner_recon_script" class="invisible">'.html_print_image('images/spinner.gif', true).'</span>',
'label' => __('Explanation').'<span id="spinner_recon_script" style="display: none">'.html_print_image('images/spinner.gif', true).'</span>',
'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',
],
];

View File

@ -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',
];
@ -605,7 +605,7 @@ class ManageNetScanScripts extends Wizard
$datam = [];
$datam[0] = __('Description');
$datam[0] .= "<span class='normal'> ( ";
$datam[0] .= "<span class='normal_weight'> ( ";
$datam[0] .= $macro_name;
$datam[0] .= ' )</span>';
$datam[0] .= html_print_input_hidden(
@ -634,7 +634,7 @@ class ManageNetScanScripts extends Wizard
}
$datam[2] = __('Default value');
$datam[2] .= "<span class='normal'> ( ";
$datam[2] .= "<span class='normal_weight'> ( ";
$datam[2] .= $macro_name;
$datam[2] .= ' ) </span>';
$datam[3] = html_print_input_text_extended(
@ -688,7 +688,7 @@ class ManageNetScanScripts extends Wizard
$datam = [];
$datam[0] = __('Help');
$datam[0] .= "<span class='normal'> ( ";
$datam[0] .= "<span class='normal_weight'> ( ";
$datam[0] .= $macro_name;
$datam[0] .= ' )</span><br><br><br>';

View File

@ -322,8 +322,8 @@ function ui_print_message($message, $class='', $attributes='', $return=false, $t
class="info_box '.$id.' '.$class.' textodialogo" style="'.$force_style.'">
<tr>
<td class="icon icon_ui" rowspan="2" >'.html_print_image($icon_image, true, false, false, false, false).'</td>
<td class="title" class="pandora_upper pdd_t_10px"><b>'.$text_title.'</b></td>
<td class="icon" class="right pdd_r_3px">';
<td class="title pandora_upper pdd_t_10px"><b>'.$text_title.'</b></td>
<td class="icon right pdd_r_3px">';
if (!$no_close_bool) {
// Use the no_meta parameter because this image is only in
// the base console.