site/_includes/header.html

67 lines
3.3 KiB
HTML
Raw Normal View History

<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<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>
<li class="divider-vertical"></li>
<li><a href="/blog/">Logbuch</a></li>
<li class="divider-vertical"></li>
2019-08-13 22:04:35 +00:00
<li><a href="/about.html">&Uuml;ber uns</a></li>
<li class="divider-vertical"></li>
2021-02-19 10:41:30 +00:00
<li><a href="/virtuell.html">virtueller Chaospott</a></li>
2021-02-19 10:40:33 +00:00
<li class="divider-vertical"></li>
<li><a href="/location.html">Anfahrt</a></li>
<li class="divider-vertical"></li>
<li><a href="/contact.html">Kontakt</a></li>
<li class="divider-vertical"></li>
2020-12-24 13:38:23 +00:00
<li><a href="https://wiki.chaospott.de">Wiki</a></li>
<li class="divider-vertical"></li>
<li><a href="https://podcast.chaospott.de">Podcast</a></li>
<li class="divider-vertical"></li>
<li><a href="https://chaospott.de/calendar.html">Termine</a></li>
</ul>
2021-02-18 17:51:01 +00:00
<ul class="nav navbar-nav navbar-right">
<script>
2021-02-18 17:56:00 +00:00
$.getJSON("https://status.chaospott.de/chaospott_mumble.json").done(function (data) {
2021-02-18 17:51:01 +00:00
if (data.connected_users > 0) {
$("#status_open").css("display", "block");
2019-08-06 17:37:25 +00:00
$("#status_bar").css("borderColor", "#29A900");
2021-02-18 18:08:41 +00:00
document.getElementById("mumble_users_online").textContent=data.connected_users;
} else {
$("#status_closed").css("display", "block");
$("#status_bar").css("borderColor", "#D9534F");
}
});
</script>
2019-09-04 14:41:44 +00:00
<li id="status_open" style="background-color:#29A900;">
2021-02-18 17:51:01 +00:00
<a href="mumble://mumble.chaospott.de" style="color:#ffffff !important;">
2021-02-18 18:16:15 +00:00
<i class="fa fa-microphone"></i> Nutzer im Mumble: <span id="mumble_users_online"></span>
</a>
</li>
2019-09-04 14:41:44 +00:00
<li id="status_closed" style="background-color:#D9534F;">
2021-02-18 17:51:01 +00:00
<a href="mumble://mumble.chaospott.de" style="color:#ffffff !important;">
2021-02-18 18:16:15 +00:00
<i class="fa fa-microphone-slash"></i> Keine Nutzer im Mumble
</a>
</li>
2021-02-18 17:51:01 +00:00
</ul>
</div>
</div>
2021-02-19 10:50:50 +00:00
<a href="/virtuell.html">
2020-04-16 18:04:16 +00:00
<div style="margin-bottom: 0;" class="alert alert-danger text-center">
2020-05-27 20:46:38 +00:00
<p>Aufgrund der aktuellen Situation sind die Clubräume bis auf Weiteres geschlossen. Der Chaostreff findet online statt.</p>
2020-04-16 18:04:16 +00:00
</div>
</a>
2014-10-26 13:11:10 +00:00
</nav>