fix status
This commit is contained in:
parent
1ba34e828c
commit
1f502a422e
@ -31,7 +31,7 @@
|
|||||||
<ul class="nav navbar-nav navbar-right">
|
<ul class="nav navbar-nav navbar-right">
|
||||||
<script>
|
<script>
|
||||||
$.getJSON("https://status.chaospott.de/api/").done(function(data) {
|
$.getJSON("https://status.chaospott.de/api/").done(function(data) {
|
||||||
if(!data.state.open ) {
|
if(data.state.open ) {
|
||||||
$( "#status_open" ).css( "display", "block" );
|
$( "#status_open" ).css( "display", "block" );
|
||||||
$( "#status_bar" ).css( "borderColor", "#5CB85C" );
|
$( "#status_bar" ).css( "borderColor", "#5CB85C" );
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user