|
|
@ -49,18 +49,15 @@ $(document).ready(function() {
|
|
|
|
function getLogStatusIcon(entry) {
|
|
|
|
function getLogStatusIcon(entry) {
|
|
|
|
switch (entry) {
|
|
|
|
switch (entry) {
|
|
|
|
case 'COMPLETED':
|
|
|
|
case 'COMPLETED':
|
|
|
|
return 'fw-success'
|
|
|
|
return 'fw-success';
|
|
|
|
break;
|
|
|
|
|
|
|
|
case 'PENDING':
|
|
|
|
case 'PENDING':
|
|
|
|
return 'fw-pending'
|
|
|
|
return 'fw-pending';
|
|
|
|
break;
|
|
|
|
|
|
|
|
case 'ERROR':
|
|
|
|
case 'ERROR':
|
|
|
|
return 'fw-error'
|
|
|
|
return 'fw-error';
|
|
|
|
break;
|
|
|
|
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
return 'fw-info'
|
|
|
|
return 'fw-info'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function loadOperationsLog(update) {
|
|
|
|
function loadOperationsLog(update) {
|
|
|
|
var operationsLogTable = "#operation-log";
|
|
|
|
var operationsLogTable = "#operation-log";
|
|
|
@ -182,18 +179,15 @@ function loadOperationsLog(update) {
|
|
|
|
function getLogStatusIcon(entry) {
|
|
|
|
function getLogStatusIcon(entry) {
|
|
|
|
switch (entry) {
|
|
|
|
switch (entry) {
|
|
|
|
case 'COMPLETED':
|
|
|
|
case 'COMPLETED':
|
|
|
|
return 'fw-success'
|
|
|
|
return 'fw-success';
|
|
|
|
break;
|
|
|
|
|
|
|
|
case 'PENDING':
|
|
|
|
case 'PENDING':
|
|
|
|
return 'fw-pending'
|
|
|
|
return 'fw-pending';
|
|
|
|
break;
|
|
|
|
|
|
|
|
case 'ERROR':
|
|
|
|
case 'ERROR':
|
|
|
|
return 'fw-error'
|
|
|
|
return 'fw-error';
|
|
|
|
break;
|
|
|
|
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
return 'fw-info'
|
|
|
|
return 'fw-info'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|