10953-New styles local component

This commit is contained in:
Pablo Aragon 2023-06-07 12:22:11 +02:00
parent 2e424cef62
commit 6bb8e9cbab
2 changed files with 27 additions and 31 deletions

View File

@ -692,9 +692,8 @@ push_table_row($data, 'server-plugin-pluginRow-snmpRow');
// The creation of this fields will be dynamically.
$data = [];
$data[0] = html_print_label_input_block(
'field0',
html_print_input_text_extended(
$data[0] = 'field0';
$data[1] = html_print_input_text_extended(
'field0_snmp_field',
'',
'field0_snmp_fields',
@ -705,11 +704,8 @@ $data[0] = html_print_label_input_block(
'',
'',
true
)
);
$data[1] = '';
push_table_row($data, 'plugin-snmp-fields-dynamicMacroRow-pluginRow-snmpRow-0');
//
@ -906,9 +902,8 @@ push_table_row($data, 'server-plugin-pluginRow-wmiRow');
// The creation of this fields will be dynamically.
$data = [];
$data[0] = html_print_label_input_block(
'field0',
html_print_input_text_extended(
$data[0] = 'field0';
$data[1] = html_print_input_text_extended(
'field0_wmi_field',
'',
'field0_wmi_fields',
@ -919,9 +914,7 @@ $data[0] = html_print_label_input_block(
'',
'',
true
)
);
$data[1] = '';
push_table_row($data, 'plugin-wmi-fields-dynamicMacroRow-pluginRow-wmiRow-0');

View File

@ -12239,16 +12239,19 @@ div.parent_graph > p.legend_background > table > tbody > tr {
align-items: flex-start !important;
}
tr[id^="network_component-plugin-wmi-fields-dynamicMacroRow-"] > td:first-child,
tr[id^="network_component-plugin-snmp-fields-dynamicMacroRow-"]
> td:first-child {
padding-bottom: 0px !important;
}
tr[id^="network_component-plugin-wmi-fields-dynamicMacroRow-"] > td:last-child,
tr[id^="network_component-plugin-snmp-fields-dynamicMacroRow-"]
> td:last-child {
padding-top: 0px !important;
}
tr[id^="network_component-plugin-wmi-fields-dynamicMacroRow-"] input,
tr[id^="network_component-plugin-snmp-fields-dynamicMacroRow-"] input {
width: 100% !important;
}