forked from Chaospott/site
added status
This commit is contained in:
parent
5cf52d923a
commit
0b657b9791
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user