The Chaospott Website [chaospott.de](https://chaospott.de)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.9 KiB

<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
8 years ago
<hr id="status_bar">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="//chaospott.de">
chaospott
</a>
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="/">Home</a></li>
8 years ago
<li class="divider-vertical"></li>
<li><a href="/blog.html">Logbuch</a></li>
8 years ago
<li class="divider-vertical"></li>
<li><a href="/#about">&Uuml;ber uns</a></li>
8 years ago
<li class="divider-vertical"></li>
<li><a href="#contact">Kontakt</a></li>
8 years ago
<li class="divider-vertical"></li>
8 years ago
<li><a href="https://wiki.chaospott.de">Wiki</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<script>
8 years ago
$.getJSON("http://status.chaospott.de/status.json").done(function(data) {
if(data.state.open) {
8 years ago
$( "#status_open" ).css( "display", "block" );
$( "#status_bar" ).css( "borderColor", "#5CB85C" );
} else {
8 years ago
$( "#status_closed" ).css( "display", "block" );
$( "#status_bar" ).css( "borderColor", "#D9534F" );
}
});
</script>
8 years ago
<li id="status_open">
<a href="/status.html" style="color:#5CB85C !important;">
<i class="fa fa-unlock"></i> Raumstatus
</a>
</li>
8 years ago
<li id="status_closed">
<a href="/status.html">
<i class="fa fa-lock"></i> Raumstatus
</a>
</li>
</ul>
</div>
8 years ago
</div>
</nav>