mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 09:07:19 +02:00
fix for stats styling
This commit is contained in:
parent
ff788a340b
commit
49fd413722
2 changed files with 7 additions and 2 deletions
|
@ -40,6 +40,10 @@ span.port {
|
|||
color: #666666;
|
||||
}
|
||||
|
||||
.stats-key {
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
.stale {
|
||||
color: red;
|
||||
}
|
|
@ -21,8 +21,9 @@ $(document).ready(function(){
|
|||
|
||||
$.each(json, function(key, value) {
|
||||
statsTableBody += "<tr>";
|
||||
statsTableBody += "<td>" + key + "</td>";
|
||||
statsTableBody += "<td>" + value + "</td>";
|
||||
statsTableBody += "<td class='stats-key'>" + key + "</td>";
|
||||
var formattedValue = (typeof value == 'number' ? value.toLocaleString() : value);
|
||||
statsTableBody += "<td>" + formattedValue + "</td>";
|
||||
statsTableBody += "</tr>";
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue