changed servername

This commit is contained in:
Timm Szigat 2014-10-29 00:26:48 +01:00
parent 757c93c7d8
commit 3a80347082
3 changed files with 58 additions and 4 deletions

View File

@ -5,7 +5,7 @@ description: >
Wir sind der örtliche Erfa-Kreis des Chaos Computer Clubs in Essen. Unsere Gesprächsthemen und Projekte reichen von Soft- und Hardware zu Datenschutz und Netzpolitik.
Alle Interessierten sind herzlich zu unserem Treff eingeladen.
baseurl: ""
url: "http://chaospott.de"
url: "http://dohms.chaospott.de"
# Build settings
markdown: kramdown
permalink: /:year/:month/:day/:title

View File

@ -16,10 +16,24 @@
<li><a href="#contact">Kontakt</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="#">
<script>
$.getJSON("js/status.json").done(function(data) {
if(data.state.open) {
document.getElementById('status_open').style.display='block';
} else {
document.getElementById('status_closed').style.display='block';
}
});
</script>
<li id="status_open" style="display:none;">
<a href="#" style="color:#00ff00;">
Raum: offen
</a>
</li>
<li id="status_closed" style="display:none;">
<a href="#" style="color:#ff0000;">
Raum: geschlossen
</a>
</a>
</li>
</ul>
</div>

40
js/status.json Normal file
View File

@ -0,0 +1,40 @@
{
"state": {
"lastchange": 1414569015,
"open": false,
"icons": {
"open": "http://foobarstatus.nomoketo.de/open.png",
"closed": "http://foobarstatus.nomoketo.de/closed.png"
}
},
"api": "0.13",
"location": {
"lat": 51.438476,
"lon": 7.024991,
"address": "Sibyllastr. 9, 45136 Essen, Germany"
},
"space": "Die foobar",
"url": "http://die-foobar.de",
"logo": "http://wiki.die-foobar.de/skins/common/images/foobar-logo-new-wiki.png",
"feeds": {
"blog": {
"url": "http://chaospott.de/rss.xml",
"type": "rss"
}
},
"issue_report_channels": [
"twitter"
],
"projects": [
"https://wiki.die-foobar.de/wiki/Kategorie:Projekt"
],
"contact": {
"ml": "chaostreff-essen@lists.cccmz.de",
"twitter": "@foobarEv",
"phone": "+49 201 75915275",
"foursquare": "4f41445ce4b0c868de54bb9f",
"facebook": "https://www.facebook.com/pages/foobar-eV/127246337351928",
"irc": "irc://irc.hackint.org/#chaospott",
"email": "info@die-foobar.de"
}
}