Merge pull request #3 from minecrafter/master
Added type indicator next to the server name
This commit is contained in:
commit
ae12ae141c
@ -102,6 +102,14 @@ body {
|
|||||||
display: inline-block;
|
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 */
|
/* Charts */
|
||||||
.chart {
|
.chart {
|
||||||
height: 100px;
|
height: 100px;
|
||||||
@ -159,4 +167,4 @@ h3 {
|
|||||||
|
|
||||||
.quick-jump-icon:hover {
|
.quick-jump-icon:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ function updateMojangServices() {
|
|||||||
|
|
||||||
if (serviceCountByType['Online'] === keys.length) {
|
if (serviceCountByType['Online'] === keys.length) {
|
||||||
$('#tagline').attr('class', 'status-online');
|
$('#tagline').attr('class', 'status-online');
|
||||||
|
|
||||||
newStatus += 'All systems operational.';
|
newStatus += 'All systems operational.';
|
||||||
} else {
|
} else {
|
||||||
if (serviceCountByType['Unstable'] > serviceCountByType['Offline']) {
|
if (serviceCountByType['Unstable'] > serviceCountByType['Offline']) {
|
||||||
@ -223,7 +223,7 @@ $(document).ready(function() {
|
|||||||
<br />\
|
<br />\
|
||||||
<p class="text-center-align" style="width: 64px; padding-top: 3px;" id="ranking_' + safeName(info.name) + '"></p>\
|
<p class="text-center-align" style="width: 64px; padding-top: 3px;" id="ranking_' + safeName(info.name) + '"></p>\
|
||||||
</div>\
|
</div>\
|
||||||
<div class="column" style="width: 280px;"><h3>' + info.name + '</h3>\
|
<div class="column" style="width: 280px;"><h3>' + info.name + ' <span class="type">' + info.type + '</span></h3>\
|
||||||
<span class="color-gray">' + info.ip + '</span>\
|
<span class="color-gray">' + info.ip + '</span>\
|
||||||
<br />\
|
<br />\
|
||||||
<span id="status_' + safeName(info.name) + '">Waiting</span>\
|
<span id="status_' + safeName(info.name) + '">Waiting</span>\
|
||||||
@ -319,4 +319,4 @@ $(document).ready(function() {
|
|||||||
scrollTop: target.offset().top
|
scrollTop: target.offset().top
|
||||||
}, 100);
|
}, 100);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -71,7 +71,7 @@
|
|||||||
"type": "PE"
|
"type": "PE"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Lifeboat PE",
|
"name": "Lifeboat",
|
||||||
"ip": "play.lbsg.net",
|
"ip": "play.lbsg.net",
|
||||||
"type": "PE"
|
"type": "PE"
|
||||||
},
|
},
|
||||||
@ -163,7 +163,7 @@
|
|||||||
},
|
},
|
||||||
"faviconOverride": {
|
"faviconOverride": {
|
||||||
"Hypixel PE": "/favicons/hypixelpe.png",
|
"Hypixel PE": "/favicons/hypixelpe.png",
|
||||||
"Lifeboat PE": "/favicons/lifeboat.png",
|
"Lifeboat": "/favicons/lifeboat.png",
|
||||||
"Mineplex": "/favicons/mineplex.png"
|
"Mineplex": "/favicons/mineplex.png"
|
||||||
},
|
},
|
||||||
"site": {
|
"site": {
|
||||||
|
Loading…
Reference in New Issue
Block a user