forked from Chaospott/site
Merge branch 'master' of github.com:c3e/site
This commit is contained in:
commit
92fecd4df4
@ -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>
|
||||||
|
@ -100,11 +100,11 @@ ul.nav>li>a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#status_open a {
|
#status_open a {
|
||||||
color:#00ff00 !important;
|
color:#5CB85C !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#status_closed a {
|
#status_closed a {
|
||||||
color:#ff0000 !important;
|
color:#D9534F !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#status_bar {
|
#status_bar {
|
||||||
|
Loading…
Reference in New Issue
Block a user