Merge branch 'ent-12989-opcion-de-csv-en-recon-task-aparece-descolocada' into 'develop'

Ent 12989 opcion de csv en recon task aparece descolocada

See merge request artica/pandorafms!6995
This commit is contained in:
Rafael Ameijeiras 2024-03-07 15:41:12 +00:00
commit 17f045b2bc
3 changed files with 16 additions and 7 deletions

View File

@ -943,11 +943,12 @@ class HostDevices extends Wizard
true
),
'arguments' => [
'name' => 'network_csv',
'type' => 'file',
'columns' => 25,
'rows' => 10,
'class' => 'discovery_full_width_input',
'name' => 'network_csv',
'type' => 'file',
'columns' => 25,
'rows' => 10,
'class' => 'discovery_full_width_input',
'class_label' => 'label_csv',
],
],
[

View File

@ -700,7 +700,11 @@ class HTML
$output .= '<div class="mrgn_right_10px">';
}
$output .= '<div class="">';
$class_label = (empty($input['arguments']['class_label']) === false)
? $input['arguments']['class_label']
: '';
$output .= '<div class="'.$class_label.'">';
$output .= $input['label'];
$output .= '</div>';
@ -1149,7 +1153,7 @@ class HTML
$output_submit .= self::printBlockAsGrid($input, true);
}
} else {
$output_submit .= self::printBlockAsGrid($input, true);
$output .= self::printBlockAsGrid($input, true);
}
} else {
$output .= $input;

View File

@ -17,6 +17,10 @@ ul.wizard li {
padding: 0px;
}
.label_csv {
margin-bottom: 5px;
}
ul.wizard.inline li {
display: flex;
flex-direction: row;