LSP: tweak - warnings (and errors) in the last log entry are now orange
This commit is contained in:
parent
2189072f85
commit
a074fcf717
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Reference in a new issue