#12577 fixed visual error of the dynamic threshold ff threshold and cron from module containers

This commit is contained in:
Jorge Rincon 2023-12-07 10:25:11 +01:00
parent 62901b6a70
commit abfa08b6e0
2 changed files with 17 additions and 4 deletions

View File

@ -1122,13 +1122,13 @@ if (isset($id_agente) === true && (int) $moduletype === MODULE_DATA) {
$tableCron->data['cron_to_select'][0] = html_print_extended_select_for_cron($hour_to, $minute_to, $mday_to, $month_to, $wday_to, true, $disabledBecauseInPolicy, true);
}
$table_advanced->rowclass['cron_section'] = 'table_section full_section';
$table_advanced->rowclass['cron_section'] = 'table_section full_section mrgn_top_mod_0px';
$table_advanced->data['cron_section'] = html_print_table($tableCron, true);
$table_advanced->data['title_3'] = html_print_subtitle_table(__('Thresholds and state changes'));
$table_advanced->rowclass['caption_min_max_values'] = 'w50p pdd_t_10px';
$table_advanced->rowclass['min_max_values'] = 'w50p';
$table_advanced->rowclass['min_max_values'] = 'w50p pdd_b_10px';
$table_advanced->data['caption_min_max_values'][0] = __('Min. Value');
$table_advanced->data['caption_min_max_values'][1] = __('Max. Value');
@ -1205,7 +1205,7 @@ $tableDynamicThreshold->data['adv_dynamic_threshold_twotailed'][0] = html_print_
$disabledBecauseInPolicy
);
$table_advanced->rowclass['dynamic_threshold_table'] = 'table_section full_section';
$table_advanced->rowclass['dynamic_threshold_table'] = 'table_section full_section mrgn_top_mod_0px';
$table_advanced->data['dynamic_threshold_table'] = html_print_table($tableDynamicThreshold, true);
$tableFFThreshold = new stdClass();
@ -1295,10 +1295,15 @@ $tableFFThreshold->data['ff_thresholds_each'][2] = html_print_input_text(
$classdisabledBecauseInPolicy
);
$table_advanced->rowclass['gap_flipflop'] = 'mrgn_top_btn_10px_imp';
$table_advanced->data['gap_flipflop'] = html_print_input_hidden('gap_flipflop', 0);
$table_advanced->rowclass['flipflop_thresholds_table'] = 'table_section full_section';
$table_advanced->rowclass['flipflop_thresholds_table'] = 'table_section full_section mrgn_top_mod_0px';
$table_advanced->data['flipflop_thresholds_table'] = html_print_table($tableFFThreshold, true);
$table_advanced->rowclass['gap_ff'] = 'mrgn_top_btn_10px_imp';
$table_advanced->data['gap_ff'] = html_print_input_hidden('gap_ff', 0);
$table_advanced->rowclass['caption_ff_interval_timeout'] = 'w50p';
$table_advanced->rowclass['ff_interval_timeout'] = 'w50p';
$table_advanced->cellclass['caption_ff_interval_timeout'][0] = 'w50p';

View File

@ -7056,6 +7056,10 @@ div.graph div.legend table {
margin: 0 1em 0 2em;
}
.mrgn_top_btn_10px_imp {
margin: 10px 0 10px 0 !important;
}
/*
* MARGIN LEFT
*/
@ -7217,6 +7221,10 @@ div.graph div.legend table {
margin-top: 0px;
}
.mrgn_top_mod_0px {
margin-top: 0px !important;
}
.mrgn_top_5px {
margin-top: 5px;
}