forked from Chaospott/site
Mehr Status
This commit is contained in:
parent
5d71bbb640
commit
1cee8390c9
@ -46,7 +46,7 @@
|
||||
}
|
||||
});
|
||||
$.getJSON("https://status.chaospott.de/chaospott_mumble.json").done(function (data) {
|
||||
if (data.connected_users > 0) {
|
||||
if (data.connected_users-1 > 0) {
|
||||
$("#status_mumble_open").css("display", "block");
|
||||
document.getElementById("mumble_users_online").textContent=data.connected_users;
|
||||
} else {
|
||||
@ -56,12 +56,12 @@
|
||||
</script>
|
||||
<li id="status_open" style="background-color:#29A900; display: none;">
|
||||
<a href="#">
|
||||
<span style="color:#ffffff !important;">Club: Offen</span>
|
||||
<span style="color:#ffffff !important;">Club: Auf</span>
|
||||
</a>
|
||||
</li>
|
||||
<li id="status_closed" style="background-color:#D9534F; display: none;">
|
||||
<a href="#">
|
||||
<span style="color:#ffffff !important;">Club: Geschlossen</span>
|
||||
<span style="color:#ffffff !important;">Club: Zu</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user