fix visual errors in widgets dashboard pandora_enterprise#12267

This commit is contained in:
daniel 2024-01-26 09:18:47 +01:00
parent b84d2aeec9
commit 65385f36c1
3 changed files with 21 additions and 5 deletions

View File

@ -4257,15 +4257,15 @@ function ui_print_datatable(array $parameters)
// * END JAVASCRIPT.
$info_msg_arr = [];
$info_msg_arr['message'] = $emptyTable;
$info_msg_arr['div_class'] = 'info_box_container invisible_important datatable-msg-info-'.$table_id;
$info_msg_arr['div_class'] = 'info_box_container invisible_important datatable-info-massage datatable-msg-info-'.$table_id;
$info_msg_arr_filter = [];
$info_msg_arr_filter['message'] = __('Please apply a filter to display the data.');
$info_msg_arr_filter['div_class'] = 'info_box_container invisible_important datatable-msg-info-filter-'.$table_id;
$info_msg_arr_filter['div_class'] = 'info_box_container invisible_important datatable-info-massage datatable-msg-info-filter-'.$table_id;
$spinner = '<div id="'.$table_id.'-spinner" class="invisible spinner-fixed"><span></span><span></span><span></span><span></span></div>';
$info_msg = '<div>'.ui_print_info_message($info_msg_arr, '', true).'</div>';
$info_msg = '<div class="datatable-container-info-massage">'.ui_print_info_message($info_msg_arr, '', true).'</div>';
$info_msg_filter = '<div>'.ui_print_info_message($info_msg_arr_filter, true).'</div>';

View File

@ -521,7 +521,7 @@ class ModulesByStatus extends Widget
'server_name',
[
'text' => 'last_status_change',
'class' => 'flex-column',
'class' => '',
],
'estado',
];
@ -538,7 +538,7 @@ class ModulesByStatus extends Widget
'alias',
[
'text' => 'last_status_change',
'class' => 'flex-column',
'class' => '',
],
'estado',
];

View File

@ -977,3 +977,19 @@ input.resize_button {
.event-cardboard-widget td {
cursor: pointer;
}
.datatable-container-info-massage:not(:has(.invisible_important)) {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
width: 100%;
}
.info_box_information.datatable-info-massage.info_box_container
.info_box.info.textodialogo {
display: flex;
width: 100%;
justify-content: center;
}