Changed room status.
This commit is contained in:
parent
7f8bd80bf2
commit
c20676e194
@ -28,7 +28,7 @@
|
|||||||
<li class="divider-vertical"></li>
|
<li class="divider-vertical"></li>
|
||||||
<li><a href="https://chaospott.de/calendar.html">Termine</a></li>
|
<li><a href="https://chaospott.de/calendar.html">Termine</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="nav navbar-nav navbar-right">Raumstatus:
|
<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) {
|
||||||
@ -41,12 +41,12 @@
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<li id="status_open">
|
<li id="status_open">
|
||||||
<a href="/status.html" style="color:#29A900 !important;">
|
Raumstatus: <a href="/status.html" style="color:#29A900 !important;">
|
||||||
<i class="fa fa-unlock"></i> offen
|
<i class="fa fa-unlock"></i> offen
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li id="status_closed">
|
<li id="status_closed">
|
||||||
<a href="/status.html">
|
Raumstatus: <a href="/status.html">
|
||||||
<i class="fa fa-lock"></i> geschlossen
|
<i class="fa fa-lock"></i> geschlossen
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user