LSP: tweak - warnings (and errors) in the last log entry are now orange

This commit is contained in:
cat 2014-01-08 10:10:20 +01:00 committed by Thulinma
parent 2189072f85
commit a074fcf717

View file

@ -272,7 +272,9 @@ function getData(callBack,sendData,timeOut,doShield){
$('#message').append( $('#message').append(
$('<br>') $('<br>')
).append( ).append(
$('<span>').text('Last log entry: '+formatTime(lastlog[0])+' ['+lastlog[1]+'] '+lastlog[2]) $('<span>').text(
'Last log entry: '+formatTime(lastlog[0])+' ['+lastlog[1]+'] '+lastlog[2]
).addClass(lastlog[1] == 'WARN' ? 'orange' : '')
); );
} }
$('#shield').remove(); $('#shield').remove();