added status

This commit is contained in:
Timm Szigat 2014-11-02 23:34:24 +01:00
parent 5cf52d923a
commit 0b657b9791

View File

@ -17,7 +17,7 @@
</ul> </ul>
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<script> <script>
$.getJSON("js/status.json").done(function(data) { $.getJSON("http://status.chaospott.de/status.json").done(function(data) {
if(data.state.open) { if(data.state.open) {
document.getElementById('status_open').style.display='block'; document.getElementById('status_open').style.display='block';
} else { } else {