Merge branch 'ent-7748-fallo-visual-en-snmp-interfaces-wizard' into 'develop'

fallo critico del swich regordete

See merge request artica/pandorafms!4288
This commit is contained in:
Daniel Rodriguez 2021-10-05 09:24:51 +00:00
commit 1595b99e09
3 changed files with 10 additions and 6 deletions

View File

@ -3965,7 +3965,7 @@ class AgentWizard extends HTML
$class = ''; $class = '';
if ($activeModules === 1) { if ($activeModules === 1) {
$class = 'alpha50'; $class = 'alpha50 pdd_0px';
} }
$table->head[6] = html_print_checkbox_switch_extended( $table->head[6] = html_print_checkbox_switch_extended(
@ -3997,7 +3997,7 @@ class AgentWizard extends HTML
'', '',
true, true,
'', '',
'alpha50' 'alpha50 pdd_0px'
); );
} }
@ -4196,7 +4196,9 @@ class AgentWizard extends HTML
false, false,
'switchBlockControl(event)', 'switchBlockControl(event)',
'', '',
true true,
'',
'pdd_0px'
); );
} else { } else {
// WIP. Current value of this module. // WIP. Current value of this module.
@ -4222,7 +4224,9 @@ class AgentWizard extends HTML
false, false,
'switchBlockControl(event)', 'switchBlockControl(event)',
'form="form-create-modules"', 'form="form-create-modules"',
true true,
'',
'pdd_0px'
); );
} }

View File

@ -3747,7 +3747,7 @@ function html_print_checkbox_switch_extended(
$name.($idcounter[$name] ? $idcounter[$name] : '') $name.($idcounter[$name] ? $idcounter[$name] : '')
); );
$output = '<label class="p-switch '.$classParent.'">'; $output = '<label class="p-switch pdd_0px'.$classParent.'">';
$output .= '<input name="'.$name.'" type="checkbox" value="'.$value.'" '.($checked ? 'checked="checked"' : ''); $output .= '<input name="'.$name.'" type="checkbox" value="'.$value.'" '.($checked ? 'checked="checked"' : '');
if ($id == '') { if ($id == '') {
$output .= ' id="checkbox-'.$id_aux.'"'; $output .= ' id="checkbox-'.$id_aux.'"';

View File

@ -6565,7 +6565,7 @@ div.graph div.legend table {
*/ */
.pdd_0px { .pdd_0px {
padding: 0px; padding: 0px !important;
} }
.pdd_4px { .pdd_4px {
padding: 4px; padding: 4px;