diff --git a/assets/css/main.css b/assets/css/main.css index f125c09..ab730ee 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -135,4 +135,8 @@ h3 { .text-uppercase { text-transform: uppercase; +} + +.text-center-align { + text-align: center; } \ No newline at end of file diff --git a/assets/js/site.js b/assets/js/site.js index 139f103..56bd6b7 100644 --- a/assets/js/site.js +++ b/assets/js/site.js @@ -93,7 +93,7 @@ function updateServerStatus(lastEntry) { if (lastEntry.result) { var result = lastEntry.result; - var newStatus = 'Players: ' + formatNumber(result.players.online); + var newStatus = '
Players: ' + formatNumber(result.players.online); var listing = graphs[lastEntry.info.name].listing; @@ -109,7 +109,7 @@ function updateServerStatus(lastEntry) { newStatus += playerDifference + ')'; } - if (lastLatencyEntries[info.name]) { + /*if (lastLatencyEntries[info.name]) { newStatus += '
'; var latencyDifference = lastLatencyEntries[info.name] - result.latency; @@ -119,7 +119,7 @@ function updateServerStatus(lastEntry) { } newStatus += latencyDifference + 'ms'; - } + }*/ lastPlayerEntries[info.name] = result.players.online; lastLatencyEntries[info.name] = result.latency; @@ -212,7 +212,7 @@ $(document).ready(function() { html: '
\ \
\ - \ +

\
\

' + info.name + '

\ ' + info.ip + '\