fix status

This commit is contained in:
gidsi 2018-09-09 12:43:16 +02:00
parent 1ba34e828c
commit 1f502a422e
No known key found for this signature in database
GPG Key ID: B47291090A6E5604

View File

@ -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 {