init next onFOSS, some siteimprovements

This commit is contained in:
c 2021-08-24 13:17:27 +02:00
parent d2ceedafab
commit b1a69f300e
7 changed files with 146 additions and 56 deletions

View File

@ -18,7 +18,7 @@
<div>
<h1 id="EN">HowTo talk (Deutsche Fassung unten)</h1>
<h1 id="EN">HowTo talk (<a href='#DE'>Deutsche</a> Fassung unten)</h1>
<h2 id="mum">Mumble</h2>
<p>Mumble is a open source, low latency and high quality voice chat! You can compare it with TeamSpeak, but only open source and encrypted.<p>
@ -151,7 +151,7 @@
</div>
<div>
<h1 id="DE">HowTo reden (English version up)</h1>
<h1 id="DE">HowTo reden (<a href='#'>English</a> version up)</h1>
<h2 id="mumDE">Mumble</h2>
<p>Mumble ist ein Open-Source Sprachchat mit niedriger Latenz und hoher Sprachqualität. Du kannst es mit TeamSpeak vergleichen nur dass es Open-Source und verschlüsselt ist.<p>

View File

@ -17,7 +17,7 @@
</div>
<div>
<h1 id="EN">Welcome to onFOSS-LAN! (Deutsche Fassung unten)</h1>
<h1 id="EN">Welcome to onFOSS-LAN! (<a href='#DE'>Deutsche</a> Fassung unten)</h1>
<h2>About onFOSS-LAN</h2>
@ -47,15 +47,21 @@
<h2>LIVE</h2>
<p>The event will be live-streamed! The exact times can be found in the <a href="timetable.html">Timetable</a>. <a href="https://live.hribhrib.at/">Here</a> is the link to the live-stream.</p>
<!--
<h2>Tournaments</h2>
<p>If you want to join the tournament, you have to register beforehand! All info can be found <a href="tournament.html">here</a>.
-->
<h2>Games for the LAN</h2>
<h3>OpenHV</h3><p><b>Real-time Strategy</b>, <a href="https://openhv.itch.io/openhv">Homepage</a> <br>
OpenHV is a mod for OpenRA with free assets.</p>
<h3>0ad</h3><p><b>Real-time Strategy</b>, <a href="https://play0ad.com/">Homepage</a> <br>
Very much inspired by Age of Empires 2, but has interesting twists that makes it a own game.</p>
<h3>Widelands</h3><p><b>Real-time Strategy</b>, <a href="https://www.widelands.org/">Homepage</a> <br>
RTS inspired by Settlers II.</p>
<!--
<h3>Veloren</h3><p><b>Voxel MMORPG</b>, <a href="https://veloren.net/">Homepage</a>, <a href='howto.html#vn'>HowTo</a> <br>
Veloren is a procedural genereated voxel MMORPG</p>
@ -68,8 +74,6 @@
<h3>Minetest</h3><p><b>Procedural Sandbox</b>, <a href="https://www.minetest.net/">Homepage</a>, <a href='howto.html#mt'>HowTo</a> <br>
Minecraft in open-source with little less content. Without modification it has no survival mode, just creative. BUT there are tons of mods out there, even one that imitates Minecraft with survival and crafting ;)</p>
<!--
<h3>OpenSpades</h3><p><b>Fist-Person-Shooter</b>, <a href="https://openspades.yvt.jp/">Homepage</a>, <a href='howto.html#os'>HowTo</a> <br>
FPS with block buidling/destruction!</p>
@ -91,7 +95,7 @@
</div>
<div>
<h1 id="DE">Willkommen zur onFOSS-LAN! (English version up)</h1>
<h1 id="DE">Willkommen zur onFOSS-LAN! (<a href='#'>English</a> version up)</h1>
<h2>Über onFOSS-LAN</h2>
@ -123,13 +127,23 @@
<h2>LIVE</h2>
<p>Die Veranstaltung wird Live übertragen! Die genauen Zeiten findet ihr am <a href="timetable.html#DE">Zeitplan</a>. <a href="https://live.hribhrib.at/">Hier</a> kommt ihr zur Liveübertragung.</p>
<!--
<h2>Tuniere</h2>
<p>Wenn ihr am Tunier teilnehmen wollt, müsst ihr euch vorab registrieren! Alle Informationen findet ihr <a href="tournament.html#DE">hier</a>.
-->
<h2>Spiele für die LAN</h2>
<h3>OpenHV</h3><p><b>Echtzeit Strategie</b>, <a href="https://openhv.itch.io/openhv">Homepage</a> <br>
OpenHV ist eine Modifikation von OpenRA welche ausschließlich freie Grafiken verwendet.</p>
<h3>0ad</h3><p><b>Echtzeit Strategie</b>, <a href="https://play0ad.com/">Homepage</a> <br>
Großteils inspiriert von Age of Empires 2, hat jedoch interesannte Änderungen die es zu einem eigenen Spiel macht.</p>
<h3>Widelands</h3><p><b>Echtzeit Strategie</b>, <a href="https://www.widelands.org/">Homepage</a> <br>
Echtzeitstrategiespiel inspiriert von Siedler 2.</p>
<!--
<h3>Veloren</h3><p><b>Voxel MMORPG</b>, <a href="https://veloren.net/">Homepage</a>, <a href='howto.html#vnDE'>HowTo</a> <br>
Veloren ist ein Prozedural-generiertes voxel MMORPG</p>
@ -142,7 +156,6 @@
<h3>Minetest</h3><p><b>Prozedural Sandbox</b>, <a href="https://www.minetest.net/">Homepage</a>, <a href='howto.html#mtDE'>HowTo</a> <br>
Minecraft in offen aber bisschen weniger Inhalt. Ohne Modifikationen gibt es noch kein Survival Modus, ist alles noch Kreative Modus. Hab aber tonnenweise Mods gesehen die allesmögliche hinzufügen. Es gibt auch einen mit dem das Spiel dann so gut wie 1:1 Mincraft ist ;)</p>
<!--
<h3>OpenSpades</h3><p><b>Fist-Person-Shooter</b>, <a href="https://openspades.yvt.jp/">Homepage</a>, <a href='howto.html#osDE'>HowTo</a> <br>
FPS mit bauen und zerstören von Blöcken!</p>

View File

@ -52,6 +52,9 @@
<li>OpenRA<p><b>Real-time Strategy</b>, <a href="https://www.openra.net/">Homepage</a> <br>
OpenRA is a recreation of classic "Command and Conquer"-games</p></li>
<li>OpenHV<p><b>Real-time Strategy</b>, <a href="https://openhv.itch.io/openhv">Homepage</a> <br>
OpenHV is a mod for OpenRA with free assets</p></li>
<li>Veloren<p><b>Voxel MMORPG</b>, <a href="https://veloren.net/">Homepage</a> <br>
Veloren is a procedural genereated voxel MMORPG</p></li>
@ -60,9 +63,13 @@
<li>OpenSpades<p><b>Fist-Person-Shooter</b>, <a href="https://openspades.yvt.jp/">Homepage</a>, <a href="https://github.com/piqueserver/piqueserver">Server</a> <br>
FPS with block buidling/destruction!</p></li>
<li>Widelands<p><b>Real-time Strategy</b>, <a href="https://www.widelands.org/">Homepage</a> <br>
RTS inspired by Settlers II</p></li>
</ul>
</div>
<div>

View File

@ -16,10 +16,11 @@
</div>
<div>
<h1>Scoreboard of Teeworlds-Tournament</h1>
<h1>Scoreboard of OpenHV-Tournament</h1>
<p>This site uses JavaScript to determine the localtime</p>
<h2>Gamesettings</h2>
<p>1vs1 TeamDeathmatch first who get 15 points.</p>
<p>1vs1.</p>
</div>
<div>
<h2>Scoreboard</h2>
@ -72,33 +73,33 @@
</div>
<div>
<h2>Play-offs / 2:30pm-5:00pm UTC</h2>
<h2>Play-offs <span class="localetime" data-unixtime="1631370600">14:30 UTC</span> - <span class="localetime" data-unixtime="1631379600">17:00 UTC</span></h2>
<p>Round-robin of all participants.</p>
<h3>Round 1 / 2:30pm-3:00pm UTC</h3>
<h3>Round 1 / <span class="localetime" data-unixtime="1631370600">14:30 UTC</span> - <span class="localetime" data-unixtime="1631372400">15:00 UTC</span></h3>
<p>
1 vs 6 : X wins - Server: s1<br>
2 vs 5 : X wins - Server: s2<br>
3 vs 4 : X wins - Server: s3
</p>
<h3>Round 2 / 3:00pm-3:30pm UTC</h3>
<h3>Round 2 / <span class="localetime" data-unixtime="1631372400">15:00 UTC</span> - <span class="localetime" data-unixtime="1631374200">15:30 UTC</span></h3>
<p>
1 vs 5 : X wins - Server: s1<br>
6 vs 4 : X wins - Server: s2<br>
2 vs 3 : 3 wins - Server: s3
</p>
<h3>Round 3 / 3:30pm-4:00pm UTC</h3>
<h3>Round 3 / <span class="localetime" data-unixtime="1631374200">15:30 UTC</span> - <span class="localetime" data-unixtime="1631376000">16:00 UTC</span></h3>
<p>
1 vs 4 : 4 wins - Server: s1<br>
5 vs 3 : 5 wins - Server: s2<br>
6 vs 2 : 6 wins - Server: s3
</p>
<h3>Round 4 / 4:00pm-4:30pm UTC</h3>
<h3>Round 4 / <span class="localetime" data-unixtime="1631376000">16:00 UTC</span> - <span class="localetime" data-unixtime="1631377800">16:30 UTC</span></h3>
<p>
1 vs 3 : 1 wins - Server: s1<br>
4 vs 2 : 4 wins - Server: s2<br>
5 vs 6 : 5 wins - Server: s3
</p>
<h3>Round 5 / 4:30pm-5:00pm UTC</h3>
<h3>Round 5 / <span class="localetime" data-unixtime="1631376000">16:30 UTC</span> - <span class="localetime" data-unixtime="1631379600">17:00 UTC</span></h3>
<p>
1 vs 2 : 1 wins - Server: s1<br>
3 vs 6 : 6 wins - Server: s2<br>
@ -108,8 +109,8 @@
<div>
<h2>Finals / 5:30pm-6:30pm UTC</h2>
<p>Best of 3 first vs second.</p>
<h2>Finals / <span class="localetime" data-unixtime="1631381400">17:30 UTC</span> - <span class="localetime" data-unixtime="1631386800">19:00 UTC</span></h2>
<p>Best of 3, first vs second.</p>
<h3>Round 1</h3>
<p>4 vs 5 : X wins - Server: s1</p>
<h3>Round 2</h3>
@ -120,5 +121,68 @@
</div>
</div>
<script>
/*
Setze als "data-unixtime" die Unixtime des Datums.
Die Unixtime kann leicht auf dem Terminal erstellt werden:
date -d '2021-05-22 12:00:00 UTC+2' +%s
Javascript wird den Textinhalt des Elements mit der Klasse
"localtime" durch ein lokalisiertes Datum ersetzen.
Als Fallback, falls Javascript deaktiviert ist oder ein
anderer Fehler im Javascript passiert, setze auch noch ein
Ausgeschriebenes Datum welches in jedem Fall angezeigt wird.
<span class="localetime" data-unixtime="1621677600">22.5.2021, 12:00 MESZ (Placeholder)</span>
Dieses Script Element an das Ende des body Elements platzieren.
Die Kommentare kannst du im Produktiveinsatz natürlich entfernen.
*/
//function to add Zeros in time if missing
function addZero(i) {
if (i < 10) {
i = "0" + i;
}
return i;
}
// Optionen für die Datumsausgabe
let options = {year: 'numeric', month: 'numeric', day: 'numeric',
hour: 'numeric', minute: 'numeric',
timeZoneName: 'short'}
// Sprache des Browsers auslesen
const userLang = navigator.language || navigator.userLanguage
// Alle vorkommenden elemente mit der class "localetime"
// finden
var elements = document.querySelectorAll('.localetime')
// Durch die gefundenen elemente iterieren
elements.forEach((elem) => {
// Unixtime auslesen
var utime = elem.getAttribute("data-unixtime")
// Unixtime in Date objekt umrechnen
var event = new Date(utime * 1000)
// Datum anhand der locale, timezone und sprache erstellen
var date = new Date(event.toLocaleDateString(userLang, options))
// Wenn Date object valide ist den HTML Inhalt der
// Klasse überschreiben
if( ! isNaN ( event ) && utime !== '') {
//calculate utc offset
var currentTimezone = date.getTimezoneOffset();
currentTimezone = (currentTimezone/60) * -1;
var utc = 'UTC';
if (currentTimezone !== 0) {
utc += currentTimezone > 0 ? '+' : ' ';
utc += currentTimezone;
}
//concat string
var str = addZero(date.getHours())+':'+addZero(date.getMinutes())+' '+utc
elem.innerHTML = str
}
});
</script>
</body>
</html>

View File

@ -17,16 +17,16 @@
<div>
<h1>Servers for 6th onFOSS</h1>
<h1>Servers for 7th onFOSS</h1>
<h2>Veloren</h2>
<h2>OpenHV</h2>
<p>play.hribhrib.at</p>
<h2>SuperTuxKart</h2>
<p>play.hribhrib.at<p>
<h2>0ad</h2>
<p>lan.hribhrib.at</p>
<h2>amagetron</h2>
<p>play.hribhrib.at</p>
<h2>Widelands</h2>
<p>lan.hribhrib.att<p>
<h2>Minetest</h2>
<p>play.hribhrib.at</p>

View File

@ -19,18 +19,19 @@
<div>
<h1 id="EN">Timetable of onFOSS-LAN! (Deutsche Fassung unten)</h1>
<h1 id="EN">Timetable of onFOSS-LAN! (<a href='#DE'>Deutsche</a> Fassung unten)</h1>
<p>The next onFOSS-LAN will take place on <b>10.07.2021</b> beginning at 10:00am UTC until open-end.
<p>The next onFOSS-LAN will take place on <b>11.09.2021</b> beginning at 10:00am UTC until open-end.
</p>
<h2>Timetable (subject to changes):</h2>
<p>
10:00am - 1:00pm UTC: Meetup on Mumble and chill gaming<br>
1:00pm - 2:00pm UTC: Break<br>
2:00pm - 5:00pm UTC: Veloren Loot and Level<br>
5:00pm - 6:00pm UTC: Break<br>
6:00pm - 8:00pm UTC: Veloren final Dungeon (LIVESTREAM)<br>
2:00pm - 5:00pm UTC: OpenHV tournament (LIVESTREAM)<br>
5:00pm - 5:30pm UTC: Break<br>
5:30pm - 7:00pm UTC: OpenHV finals (LIVESTREAM)<br>
7:00pm - 8:00pm UTC: Break<br>
8:00pm - 10:00pm UTC: Late night gaming
</p>
@ -38,7 +39,7 @@
<p><a href="https://live.hribhrib.at/">Here</a> is the link to the live-stream.</p>
<h2>Games provided all the time:</h2>
<p>Veloren, SuperTuxKart, armagetron, Minetest</p>
<p>0ad, widelands, openHV, Minetest</p>
<h3>MINE ALL DAY MINE ALL NIGHT!</h3>
@ -51,25 +52,26 @@
</div>
<div>
<h1 id="DE">Zeiplan der onFOSS-LAN! (English version up)</h1>
<h1 id="DE">Zeiplan der onFOSS-LAN! (<a href='#'>English</a> version up)</h1>
<p>Die nächste onFOSS-LAN wird am <b>10.07.2021</b> stattfinden und beginnt um 12:00 Uhr Mitteleuropäische Sommerzeit bis unbestimmte Zeit.</p>
<p>Die nächste onFOSS-LAN wird am <b>11.09.2021</b> stattfinden und beginnt um 12:00 Uhr Mitteleuropäische Sommerzeit bis unbestimmte Zeit.</p>
<h2>Zeitplan (Änderungen vorbehalten):</h2>
<p>
12:00 - 15:00 MESZ: Treffen in Mumble und gemütlich spielen<br>
15:00 - 16:00 MESZ: Pause<br>
16:00 - 19:00 MESZ: Veloren Looten und Leveln<br>
19:00 - 20:00 MESZ: Pause<br>
20:00 - 22:00 MESZ: Veloren Finales Verlies (LIVEÜBERTRAGUNG)<br>
22:00 - 24:00 MESZ: Spätnacht zocken
12:00 - 15:00 MESZ: Treffen in Mumble und gemütlich spielen<br>
15:00 - 16:00 MESZ: Pause<br>
16:00 - 19:00 MESZ: OpenHV Turnier (LIVEÜBERTRAGUNG)<br>
19:00 - 19:30 MESZ: Pause<br>
19:30 - 21:00 MESZ: OpenHV Finale (LIVEÜBERTRAGUNG)<br>
21:00 - 22:00 MESZ: Pause<br>
22:00 - 24:00 MESZ: Spätnacht zocken
</p>
<h2>LIVEÜBERTRAGUNG</h2>
<p><a href="https://live.hribhrib.at/">Hier</a> kommt ihr zur Liveübertragung.</p>
<h2>Spiele die durchgehend zur Verfügung stehen:</h2>
<p>Veloren, SuperTuxKart, armagetron, Minetest</p>
<p>0ad, widelands, openHV, Minetest</p>
<h3>MINE ALL DAY MINE ALL NIGHT!</h3>

View File

@ -17,19 +17,22 @@
</div>
<div>
<h1 id="EN">Competition! (Deutsche Fassung unten)</h1>
<h1 id="EN">Competition! (<a href='#DE'>Deutsche</a> Fassung unten)</h1>
<h2>Information</h2>
<!--
<p>There is no tournament for the upcoming Event!</p>
<!--
-->
<p>The next tournament will be on <b>XX.XX.2021</b> from <b>0:00pm to 0:00pm UTC</b> with the game "TBA".</p>
<p>To register for the event write an email to <a href="mailto:onfoss@hribhrib.at?subject=onFOSS: tournament">onfoss@hribhrib.at</a> with subject "onFOSS: tournament" and your nickname, that you will have in the game, UNTIL <b>XX.XX.2021</b>.</p>
<p>By registering for the tournament you accept following rules:</p>
<p>The next tournament will be on <b>11.09.2021</b> from <b>2:00pm to 7:00pm UTC</b> with the game "OpenHV".</p>
<p>To register for the event write an email to <a href="mailto:onfoss@hribhrib.at?subject=onFOSS: tournament">onfoss@hribhrib.at</a> with subject "onFOSS: tournament" and your nickname, that you will have in the game, UNTIL <b>08.09.2021</b>.</p>
<h2>Current tournament</h2>
<p>You can find the timetable and scoreboard of the current tournament <a href="scoreboard.html">here</a>.</p>
<h2>Rules</h2>
<p>By registering for the tournament you accept following rules:</p>
<h3>MOST IMPORTANT!</h3>
<p>The most important rule is: HAVE FUN! Surely, the tournament is competitive, however, don't forget why we are all here - to have fun playing games together!</p>
<h3>REGISTRATION!</h3>
@ -40,24 +43,26 @@
<p>Griefers going to be kicked immediately and if it happens frequent you get banned for upcoming tournaments.
We are all human beings and hopefully capable of being nice to each other! So respect each other and there will not be any problems! However, also counting for griefing is: Register to the event and do not show up without an excuse; Leave the tournament while it is still ongoing and you have to still play any rounds.</p>
-->
</div>
<div>
<h1 id="DE">Wettkampf! (English version up)</h1>
<h1 id="DE">Wettkampf! (<a href='#'>English</a> version up)</h1>
<h2>Information</h2>
<!--
<p>Es wird kein Turnier am nächsten Event ausgetragen!</p>
-->
<!--
<p>Das nächste Turnier findet am <b>XX.XX.2021</b> ab <b>00:00 bis 00:00 MESZ</b> statt und wird in "TBA" ausgetragen.</p>
<p>Um am Turnier teilnehmen zu können schreibt eine Email an <a href="mailto:onfoss@hribhrib.at?subject=onFOSS: Turnier">onfoss@hribhrib.at</a> mit dem Betreff "onFOSS: Turnier" und euren Spielernamen (den ihr dann im Spiel trägt) BIS SPÄTESTENS <b>XX.XX.2021</b>.</p>
<p>Mit der Registrierung stimmt ihr den folgenden Regeln zu:</p>
<p>Das nächste Turnier findet am <b>11.09.2021</b> ab <b>16:00 bis 21:00 MESZ</b> statt und wird in "OpenHV" ausgetragen.</p>
<p>Um am Turnier teilnehmen zu können schreibt eine Email an <a href="mailto:onfoss@hribhrib.at?subject=onFOSS: Turnier">onfoss@hribhrib.at</a> mit dem Betreff "onFOSS: Turnier" und euren Spielernamen (den ihr dann im Spiel trägt) BIS SPÄTESTENS <b>08.09.2021</b>.</p>
<h2>Aktuelles Turnier</h2>
<p>Du kannst den Zeitplan und den derzeitigen Punktestand <a href="scoreboard.html">hier</a> abrufen.</p>
<h2>Regeln</h2>
<p>Mit der Registrierung stimmt ihr den folgenden Regeln zu:</p>
<h3>AM WICHTIGSTEN!</h3>
<p>Die allerwichtigste Regel ist: HABT SPASS! Sicher, beim Turnier geht es um Wettkampf, jedoch vergisst nicht warum wir alle hier sind - um beim gemeinsamen spielen Spaß zu haben!</p>
<h3>REGISTRIERUNG!</h3>
@ -68,7 +73,6 @@
<p>Spieler mit böse Absichten werden sofort aus dem Turnier geworfen und falls dies öfters passiert auch ausgeschlossen.
Wir sind alles Menschen und hoffentlich in der Lage nett zueinander zu sein! Also respektiert euch gegenseitig und es wird keine Probleme geben! Aber beachtet, zur Böswilligkeiten zählen auch: Registrierung zum Turnier und Nichterscheinen ohne Grund; Vorzeitiges verlassen des Turniers obwohl du noch Runden zu spielen hast.</p>
-->
</div>
</body>