forked from Chaospott/site
changed romm status colors
This commit is contained in:
parent
bbfd97f351
commit
a65ee2700e
@ -26,15 +26,15 @@
|
|||||||
$.getJSON("http://status.chaospott.de/status.json").done(function(data) {
|
$.getJSON("http://status.chaospott.de/status.json").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", "#32AB3C" );
|
$( "#status_bar" ).css( "borderColor", "#5CB85C" );
|
||||||
} else {
|
} else {
|
||||||
$( "#status_closed" ).css( "display", "block" );
|
$( "#status_closed" ).css( "display", "block" );
|
||||||
$( "#status_bar" ).css( "borderColor", "#ff0000" );
|
$( "#status_bar" ).css( "borderColor", "#D9534F" );
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<li id="status_open">
|
<li id="status_open">
|
||||||
<a href="status.html" style="color:#32AB3C !important;">
|
<a href="status.html" style="color:#5CB85C !important;">
|
||||||
Raum offen
|
Raum offen
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user