From f072b95a201192c2d351296cac8754e68e24c98f Mon Sep 17 00:00:00 2001 From: Wruczek Date: Thu, 20 Oct 2016 21:02:31 +0200 Subject: [PATCH] Added fa-fw to normalize space taken by icons --- css/style.css | 8 -------- include/header.php | 2 +- js/status.js | 14 +++++++------- 3 files changed, 8 insertions(+), 16 deletions(-) diff --git a/css/style.css b/css/style.css index a5fc2f8..0557302 100644 --- a/css/style.css +++ b/css/style.css @@ -44,14 +44,6 @@ a { float: right } -.serverstatus .fa-signal { - margin-right: 3px -} - -.serverstatus .fa-bolt { - margin-right: 11px -} - .serverstatus span { float: right } diff --git a/include/header.php b/include/header.php index 2d36eae..0f67245 100644 --- a/include/header.php +++ b/include/header.php @@ -116,7 +116,7 @@ require_once __DIR__ . "/../include/adminlist.php";
-

:

+

:

diff --git a/js/status.js b/js/status.js index bc38342..fa85c78 100644 --- a/js/status.js +++ b/js/status.js @@ -28,19 +28,19 @@ function checkStatus() { var averagePing = Math.round(json.averagePing * 100) / 100; result = - '

' + statusOnline + ': ' + clientsonline + ' / ' + maxclients + ' (' + clientsprecent + '%)

' + - '

' + statusUptime + ': ' + uptime + '

' + - '

' + statusVersion + ': ' + version + ' @ ' + platform + '

' + - '

' + statusAvgping + ': ' + averagePing + ' ms

' + - '

' + statusAvgpl + ': ' + averagePacketloss + '%

'; + '

' + statusOnline + ': ' + clientsonline + ' / ' + maxclients + ' (' + clientsprecent + '%)

' + + '

' + statusUptime + ': ' + uptime + '

' + + '

' + statusVersion + ': ' + version + ' @ ' + platform + '

' + + '

' + statusAvgping + ': ' + averagePing + ' ms

' + + '

' + statusAvgpl + ': ' + averagePacketloss + '%

'; } else { - result = '

Online: ' + statusOffline + '

'; + result = '

Online: ' + statusOffline + '

'; } $("#serverstatus").html(result); }, error: function (result) { - $("#serverstatus").html('

' + statusOnline + ': ERROR

'); + $("#serverstatus").html('

' + statusOnline + ': ERROR

'); } }) }