add back stale state for stats

This commit is contained in:
Stephen Birarda 2015-04-29 16:35:07 -07:00
parent 842886d0fc
commit cca13d6c96
3 changed files with 7 additions and 11 deletions

View file

@ -71,8 +71,12 @@
margin: 0.2em; margin: 0.2em;
} }
th.jh-key{ th.jh-key {
text-align: left; text-align: left;
}
th.jh-key.stale {
color: red;
} }
.jh-type-object tr, .jh-type-array tr { .jh-type-object tr, .jh-type-array tr {

View file

@ -33,14 +33,6 @@ span.port {
color: #666666; color: #666666;
} }
.stats-key {
width: 400px;
}
.stale {
color: red;
}
.locked { .locked {
color: #428bca; color: #428bca;
} }

View file

@ -21,7 +21,7 @@ $(document).ready(function(){
$('#stats-container').html(stats); $('#stats-container').html(stats);
}).fail(function(data) { }).fail(function(data) {
$('#stats-table td').each(function(){ $('#stats-container th').each(function(){
$(this).addClass('stale'); $(this).addClass('stale');
}); });
}); });