1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-23 22:03:18 +01:00

Miglioramento stile hooks

This commit is contained in:
loviuz 2020-02-05 10:28:16 +01:00
parent 13c6cf5aba
commit a7bdbbc2b0

View File

@ -124,12 +124,12 @@ function updateHook(hook) {
if (number == 0) {
$("#hooks-notified").html('<i class="fa fa-check" aria-hidden="true"></i>');
$("#hooks-label").removeClass('label-warning');
$("#hooks-label").addClass('label-success');
$("#hooks-label").removeClass();
$("#hooks-label").addClass('label').addClass('label-success');
}else{
$("#hooks-notified").text(number);
$("#hooks-label").removeClass('label-success');
$("#hooks-label").addClass('label-warning');
$("#hooks-label").removeClass();
$("#hooks-label").addClass('label').addClass('label-danger');
}
if (counter == $("#hooks-number").text()) {