mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
fix visual errors in widgets dashboard pandora_enterprise#12267
This commit is contained in:
parent
b84d2aeec9
commit
65385f36c1
@ -4257,15 +4257,15 @@ function ui_print_datatable(array $parameters)
|
|||||||
// * END JAVASCRIPT.
|
// * END JAVASCRIPT.
|
||||||
$info_msg_arr = [];
|
$info_msg_arr = [];
|
||||||
$info_msg_arr['message'] = $emptyTable;
|
$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 = [];
|
||||||
$info_msg_arr_filter['message'] = __('Please apply a filter to display the data.');
|
$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>';
|
$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>';
|
$info_msg_filter = '<div>'.ui_print_info_message($info_msg_arr_filter, true).'</div>';
|
||||||
|
|
||||||
|
@ -521,7 +521,7 @@ class ModulesByStatus extends Widget
|
|||||||
'server_name',
|
'server_name',
|
||||||
[
|
[
|
||||||
'text' => 'last_status_change',
|
'text' => 'last_status_change',
|
||||||
'class' => 'flex-column',
|
'class' => '',
|
||||||
],
|
],
|
||||||
'estado',
|
'estado',
|
||||||
];
|
];
|
||||||
@ -538,7 +538,7 @@ class ModulesByStatus extends Widget
|
|||||||
'alias',
|
'alias',
|
||||||
[
|
[
|
||||||
'text' => 'last_status_change',
|
'text' => 'last_status_change',
|
||||||
'class' => 'flex-column',
|
'class' => '',
|
||||||
],
|
],
|
||||||
'estado',
|
'estado',
|
||||||
];
|
];
|
||||||
|
@ -977,3 +977,19 @@ input.resize_button {
|
|||||||
.event-cardboard-widget td {
|
.event-cardboard-widget td {
|
||||||
cursor: pointer;
|
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;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user