diff --git a/bilder/geraetehaus.png b/bilder/geraetehaus.png new file mode 100644 index 0000000..3791a93 Binary files /dev/null and b/bilder/geraetehaus.png differ diff --git a/bilder/geraetehaus.webp b/bilder/geraetehaus.webp new file mode 100644 index 0000000..dd6ed1f Binary files /dev/null and b/bilder/geraetehaus.webp differ diff --git a/dienstplan/dienst.html b/dienstplan/dienst.html new file mode 100644 index 0000000..ea36584 --- /dev/null +++ b/dienstplan/dienst.html @@ -0,0 +1,24 @@ + + + + + Nächster Feuerwehr-Dienst + + + + +

Nächster Dienst

+
+ Wird geladen… +
+ + + + diff --git a/dienstplan/dienstplan.csv b/dienstplan/dienstplan.csv new file mode 100644 index 0000000..953990b --- /dev/null +++ b/dienstplan/dienstplan.csv @@ -0,0 +1,4 @@ +datum,tag,zeit,ort,art,beschreibung +2026-01-02,Fr,19:00,Stadt Wehlen,Theorie,Arbeitsschutz +2026-01-10,Sa,16:30,SW/Pö,Fest,Weihnachtsbaumverbrennen +2026-01-12,Mo,19:00,SW/Pö,Gemeinsamer Dienst,Maschinisten-Dienst \ No newline at end of file diff --git a/dienstplan/dienstplan.js b/dienstplan/dienstplan.js new file mode 100644 index 0000000..e4d2f28 --- /dev/null +++ b/dienstplan/dienstplan.js @@ -0,0 +1,48 @@ +fetch("dienstplan/dienstplan.csv") + .then(res => res.text()) + .then(text => { + const lines = text.trim().split("\n").slice(1); + const today = new Date(); + today.setHours(0, 0, 0, 0); + + const dienste = lines + .map(line => { + const [datum, tag, zeit, ort, art, beschreibung] = line.split(","); + return { + datum: new Date(datum), + tag, + zeit, + ort, + art, + beschreibung + }; + }) + .filter(d => d.datum >= today) + .sort((a, b) => a.datum - b.datum); + + const box = document.getElementById("nextDienst"); + + if (!dienste.length) { + box.innerHTML = "

Kein weiterer Dienst geplant.

"; + return; + } + + const d = dienste[0]; + + box.innerHTML = ` +

+ ${d.datum.toLocaleDateString("de-DE")}
+ ${d.tag}, ${d.zeit} Uhr +

+

+ ${d.art}
+ ${d.beschreibung}
+ ${d.ort} +

+ `; + }) + .catch(err => { + document.getElementById("nextDienst").innerHTML = + "

Dienstplan konnte nicht geladen werden.

"; + console.error(err); + }); diff --git a/dienstplan/dienstplan_2026_1_sw.pdf b/dienstplan/dienstplan_2026_1_sw.pdf new file mode 100644 index 0000000..c3d9836 Binary files /dev/null and b/dienstplan/dienstplan_2026_1_sw.pdf differ diff --git a/index.html b/index.html index ed6c90d..d9cfc6e 100755 --- a/index.html +++ b/index.html @@ -13,11 +13,12 @@ crossorigin="anonymous" /> - + + - -
- + +
+ +
+ + +
+
+

Nächster Dienst

+
+ Wird geladen… +
+
+
+ + +
+
+

Veranstaltung

+

+ Sonnenwendfeier
+ Datum: Sa, 21.06.
+ Beginn: ab 11:00 Uhr
+ Wo: Elbwiesen +

+
+
- -
-
- + + +
-
+ + + +
+
+ +
+
Datum der letzten Aktualisierung
+

13. Juni 2025

+ (Version 1.0) +
+ +
+
Kleine Statistik der FFw Stadt Wehlen
+ + + + + + + + + + + + + + + + + + + +
Aktive Kameraden/innen:27
Jugendfeuerwehr:23
Passive Kameraden:9
Mitglieder Förderverein:172
+
-
-
-
-
Datum der letzten Aktualisierung
-

13. Juni 2025

- (Version 1.0)
-
-
Kleine Statistik der FFw Stadt Wehlen
- - - - - - - - - - - - - - - - - - - -
Aktive Kameraden/innen:27
Jugendfeuerwehr:23
Passive Kameraden:9
Mitglieder Förderverein:172
-
-
- -
+ +
- - + + + + + - \ No newline at end of file + diff --git a/index_test.html b/index_test.html new file mode 100644 index 0000000..3db725a --- /dev/null +++ b/index_test.html @@ -0,0 +1,156 @@ + + + + + + Feuerwehr Stadt Wehlen + + + + + + + + + + + + + +
+
+ +
+ +
+ +
+ + + Gerätehaus der Feuerwehr Stadt Wehlen + +
+ +
+ +
+
+ +
+
+ +
+
Letzte Aktualisierung
+

13. Juni 2025

+ (Version 1.2) +
+ +
+ +
+
Kleine Statistik der FFw Stadt Wehlen
+

+ Aktive: 27 | Jugend: 23 | Passive: 9 | Förderverein: 172 +

+
+ +
+
+ + + + + + \ No newline at end of file