#12989 Fixed network csv 2

This commit is contained in:
Daniel Maya 2024-03-07 16:20:17 +01:00
parent a1bab17ee5
commit e94f7e2c59
3 changed files with 15 additions and 6 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>';

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;