2014-10-28 23:17:20 +00:00
|
|
|
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
2014-11-04 00:49:09 +00:00
|
|
|
<hr id="status_bar">
|
2014-10-26 13:11:10 +00:00
|
|
|
<div class="container">
|
2014-10-28 23:17:20 +00:00
|
|
|
<div class="navbar-header">
|
2015-04-18 17:52:24 +00:00
|
|
|
<a class="navbar-brand" href="//chaospott.de">
|
|
|
|
chaospott
|
2015-04-18 17:36:08 +00:00
|
|
|
</a>
|
2014-10-28 23:17:20 +00:00
|
|
|
<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>
|
2014-10-26 13:11:10 +00:00
|
|
|
<div class="navbar-collapse collapse">
|
|
|
|
<ul class="nav navbar-nav">
|
|
|
|
<li><a href="/">Home</a></li>
|
2014-11-04 00:49:09 +00:00
|
|
|
<li class="divider-vertical"></li>
|
2016-01-13 23:33:51 +00:00
|
|
|
<li><a href="/blog/">Logbuch</a></li>
|
2014-11-04 00:49:09 +00:00
|
|
|
<li class="divider-vertical"></li>
|
2014-10-26 13:11:10 +00:00
|
|
|
<li><a href="/#about">Über uns</a></li>
|
2014-11-04 00:49:09 +00:00
|
|
|
<li class="divider-vertical"></li>
|
2014-10-26 13:11:10 +00:00
|
|
|
<li><a href="#contact">Kontakt</a></li>
|
2014-11-04 00:49:09 +00:00
|
|
|
<li class="divider-vertical"></li>
|
2015-02-03 01:46:00 +00:00
|
|
|
<li><a href="https://wiki.chaospott.de">Wiki</a></li>
|
2014-10-26 13:11:10 +00:00
|
|
|
</ul>
|
2014-10-28 23:17:20 +00:00
|
|
|
<ul class="nav navbar-nav navbar-right">
|
2014-10-28 23:26:48 +00:00
|
|
|
<script>
|
2015-12-06 01:42:31 +00:00
|
|
|
$.getJSON("https://status.chaospott.de/status.json").done(function(data) {
|
2014-10-28 23:26:48 +00:00
|
|
|
if(data.state.open) {
|
2014-11-04 00:49:09 +00:00
|
|
|
$( "#status_open" ).css( "display", "block" );
|
2015-03-18 08:05:30 +00:00
|
|
|
$( "#status_bar" ).css( "borderColor", "#5CB85C" );
|
2014-10-28 23:26:48 +00:00
|
|
|
} else {
|
2014-11-04 00:49:09 +00:00
|
|
|
$( "#status_closed" ).css( "display", "block" );
|
2015-03-18 08:05:30 +00:00
|
|
|
$( "#status_bar" ).css( "borderColor", "#D9534F" );
|
2014-11-03 23:40:10 +00:00
|
|
|
}
|
2014-10-28 23:26:48 +00:00
|
|
|
});
|
|
|
|
</script>
|
2014-11-04 00:49:09 +00:00
|
|
|
<li id="status_open">
|
2015-04-02 18:21:52 +00:00
|
|
|
<a href="/status.html" style="color:#5CB85C !important;">
|
2015-10-17 19:24:11 +00:00
|
|
|
<i class="fa fa-unlock"></i> Raumstatus
|
2014-10-28 23:26:48 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
2014-11-04 00:49:09 +00:00
|
|
|
<li id="status_closed">
|
2015-04-02 18:20:25 +00:00
|
|
|
<a href="/status.html">
|
2015-10-17 19:24:11 +00:00
|
|
|
<i class="fa fa-lock"></i> Raumstatus
|
2014-10-28 23:26:48 +00:00
|
|
|
</a>
|
2014-10-28 23:17:20 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
2014-10-26 13:11:10 +00:00
|
|
|
</div>
|
2014-10-20 20:33:40 +00:00
|
|
|
</div>
|
2014-10-26 13:11:10 +00:00
|
|
|
</nav>
|