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) {
|
$.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");
|
$("#status_mumble_open").css("display", "block");
|
||||||
document.getElementById("mumble_users_online").textContent=data.connected_users;
|
document.getElementById("mumble_users_online").textContent=data.connected_users;
|
||||||
} else {
|
} else {
|
||||||
@ -56,12 +56,12 @@
|
|||||||
</script>
|
</script>
|
||||||
<li id="status_open" style="background-color:#29A900; display: none;">
|
<li id="status_open" style="background-color:#29A900; display: none;">
|
||||||
<a href="#">
|
<a href="#">
|
||||||
<span style="color:#ffffff !important;">Club: Offen</span>
|
<span style="color:#ffffff !important;">Club: Auf</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li id="status_closed" style="background-color:#D9534F; display: none;">
|
<li id="status_closed" style="background-color:#D9534F; display: none;">
|
||||||
<a href="#">
|
<a href="#">
|
||||||
<span style="color:#ffffff !important;">Club: Geschlossen</span>
|
<span style="color:#ffffff !important;">Club: Zu</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user