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:
crcro
2017-12-24 21:55:24 +02:00
committed by Neil Lathwood
parent d11808aad4
commit 34e07a1d66
8 changed files with 280 additions and 268 deletions

View File

@@ -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());
}
})
}
});