mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
webui: Alerts table refresh (#7765)
* initial release * changed layout, matching pr 7628 * style changes usage of short hostname * alerts page cleanup * reduced css class, added js function * initial release * added min-height, also apply min-height via js if parrent is smaller * remove status column
This commit is contained in:
@@ -267,3 +267,15 @@ $(document).ready(function() {
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$(document).ajaxComplete(function(){
|
||||
if($('.alert-status').length !== 0) {
|
||||
$('.alert-status').each(function() {
|
||||
if ($(this).parent().height() < 27) {
|
||||
$(this).height('27px');
|
||||
} else {
|
||||
$(this).height($(this).parent().height());
|
||||
}
|
||||
})
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user