Added type indicator next to the server name

This commit is contained in:
Tux
2015-11-25 20:09:17 -05:00
parent 0150e3b30e
commit 671c410a68
3 changed files with 14 additions and 6 deletions

View File

@ -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() {
<br />\
<p class="text-center-align" style="width: 64px; padding-top: 3px;" id="ranking_' + safeName(info.name) + '"></p>\
</div>\
<div class="column" style="width: 280px;"><h3>' + info.name + '</h3>\
<div class="column" style="width: 280px;"><h3>' + info.name + '&nbsp;<span class="type">' + info.type + '</span></h3>\
<span class="color-gray">' + info.ip + '</span>\
<br />\
<span id="status_' + safeName(info.name) + '">Waiting</span>\
@ -319,4 +319,4 @@ $(document).ready(function() {
scrollTop: target.offset().top
}, 100);
});
});
});