colouring log messages by type on the webapp
(issue
@@ -230,10 +230,10 @@ define([
document.getElementById("results").innerHTML = xhr.response;
JQ("#tabs").tabs();
JQ('html, body').animate({scrollTop: $("#tabs").offset().top}, 1000);
- JQ('ul li').filter(function() { return $(this).text().indexOf("ERROR:") === 0; }).css("color", "#C22");
- JQ('ul li').filter(function() { return $(this).text().indexOf("Warning:") === 0; }).css("color", "#22C");
- JQ('ul li').filter(function() { return $(this).text().indexOf("SKIP:") === 0; }).css("color", "#AA4");
- JQ('ul li').filter(function() { return $(this).text().indexOf("INFO:") === 0; }).css("color", "#AAF");
+ JQ('table tr td:first-child').filter(function() { return $(this).text().indexOf("ERROR") === 0; }).parent().css("color", "#C22");
+ JQ('table tr td:first-child').filter(function() { return $(this).text().indexOf("WARNING") === 0; }).parent().css("color", "#22C");
+ JQ('table tr td:first-child').filter(function() { return $(this).text().indexOf("SKIP") === 0; }).parent().css("color", "#AA4");
+ JQ('table tr td:first-child').filter(function() { return $(this).text().indexOf("INFO") === 0; }).parent().css("color", "#AAF");
console.info('Received:', xhr.responseType, xhr.response.byteLength, 'Bytes');
//blob = new Blob([xhr.response], {type: "application/zip"});
