From 671c410a682b574db6f82d9f33b37d3fd5665a87 Mon Sep 17 00:00:00 2001 From: Tux Date: Wed, 25 Nov 2015 20:09:17 -0500 Subject: [PATCH 1/2] Added type indicator next to the server name --- assets/css/main.css | 10 +++++++++- assets/js/site.js | 6 +++--- config.json | 4 ++-- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index 149ddd4..af137ec 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -102,6 +102,14 @@ body { display: inline-block; } +.server > .column > h3 > .type { + padding: 1px 5px 1px 5px; + border-radius: 2px; + border: 1px solid #A09E9E; + font-size: 14px; + margin-bottom: 2px; +} + /* Charts */ .chart { height: 100px; @@ -159,4 +167,4 @@ h3 { .quick-jump-icon:hover { cursor: pointer; -} \ No newline at end of file +} diff --git a/assets/js/site.js b/assets/js/site.js index 9e733ea..c3bd415 100644 --- a/assets/js/site.js +++ b/assets/js/site.js @@ -58,7 +58,7 @@ function updateMojangServices() { if (serviceCountByType['Online'] === keys.length) { $('#tagline').attr('class', 'status-online'); - + newStatus += 'All systems operational.'; } else { if (serviceCountByType['Unstable'] > serviceCountByType['Offline']) { @@ -223,7 +223,7 @@ $(document).ready(function() {
\

\ \ -

' + info.name + '

\ +

' + info.name + ' ' + info.type + '

\ ' + info.ip + '\
\ Waiting\ @@ -319,4 +319,4 @@ $(document).ready(function() { scrollTop: target.offset().top }, 100); }); -}); \ No newline at end of file +}); diff --git a/config.json b/config.json index 949a281..52fc732 100644 --- a/config.json +++ b/config.json @@ -66,12 +66,12 @@ "type": "PC" }, { - "name": "Hypixel PE", + "name": "Hypixel", "ip": "pe.hypixel.net", "type": "PE" }, { - "name": "Lifeboat PE", + "name": "Lifeboat", "ip": "play.lbsg.net", "type": "PE" }, From bcc36fd1b248e312e6bf6fa9fe7d22d9b323443a Mon Sep 17 00:00:00 2001 From: Tux Date: Wed, 25 Nov 2015 20:30:19 -0500 Subject: [PATCH 2/2] Modify config. --- config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.json b/config.json index 52fc732..689e320 100644 --- a/config.json +++ b/config.json @@ -66,7 +66,7 @@ "type": "PC" }, { - "name": "Hypixel", + "name": "Hypixel PE", "ip": "pe.hypixel.net", "type": "PE" }, @@ -163,7 +163,7 @@ }, "faviconOverride": { "Hypixel PE": "/favicons/hypixelpe.png", - "Lifeboat PE": "/favicons/lifeboat.png", + "Lifeboat": "/favicons/lifeboat.png", "Mineplex": "/favicons/mineplex.png" }, "site": {