Änderungen von Dokument 50jahrekgs

Zuletzt geändert von Sarah Groeneveld am 2026/09/12 22:44

Von Version 1.2
bearbeitet von Sarah Groeneveld
am 2026/09/03 08:47
Änderungskommentar: Update document after refactoring.
Auf Version 5.1
bearbeitet von Sarah Groeneveld
am 2026/09/07 12:52
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -4,6 +4,63 @@
4 4  <p style="margin:10px 0 0;font-size:17px;">Unsere Jubiläums-Projektwoche & unser Schulfest 2026</p>
5 5  <p style="margin:6px 0 0;font-size:14px;opacity:0.9;">14. bis 18. September 2026</p>
6 6  </div>
7 +
8 +<div style="background:#fff;border:2px solid #e91e8c;border-radius:10px;padding:18px 20px;margin-bottom:25px;text-align:center;">
9 +<p style="margin:0 0 12px;font-size:15px;font-weight:bold;color:#1a237e;">⏳ Countdown bis zum Schulfest</p>
10 +<div id="kgs-countdown" style="display:flex;justify-content:center;align-items:flex-start;gap:6px;flex-wrap:nowrap;">
11 + <div style="min-width:52px;">
12 + <div id="cd-days" style="font-size:22px;font-weight:bold;color:#e91e8c;">00</div>
13 + <div style="font-size:10px;color:#555;">Tage</div>
14 + </div>
15 + <div style="font-size:22px;font-weight:bold;color:#e91e8c;padding-top:1px;">:</div>
16 + <div style="min-width:52px;">
17 + <div id="cd-hours" style="font-size:22px;font-weight:bold;color:#e91e8c;">00</div>
18 + <div style="font-size:10px;color:#555;">Std.</div>
19 + </div>
20 + <div style="font-size:22px;font-weight:bold;color:#e91e8c;padding-top:1px;">:</div>
21 + <div style="min-width:52px;">
22 + <div id="cd-minutes" style="font-size:22px;font-weight:bold;color:#e91e8c;">00</div>
23 + <div style="font-size:10px;color:#555;">Min.</div>
24 + </div>
25 + <div style="font-size:22px;font-weight:bold;color:#e91e8c;padding-top:1px;">:</div>
26 + <div style="min-width:52px;">
27 + <div id="cd-seconds" style="font-size:22px;font-weight:bold;color:#e91e8c;">00</div>
28 + <div style="font-size:10px;color:#555;">Sek.</div>
29 + </div>
30 +</div>
31 +<p id="kgs-countdown-done" style="display:none;margin:10px 0 0;font-size:16px;font-weight:bold;color:#8bc34a;">🎪 Das Schulfest hat begonnen – wir feiern!</p>
32 +</div>
33 +
34 +<script>
35 +(function() {
36 + var zielDatum = new Date("2026-09-18T15:00:00+02:00").getTime();
37 +
38 + function updateCountdown() {
39 + var jetzt = new Date().getTime();
40 + var diff = zielDatum - jetzt;
41 +
42 + if (diff <= 0) {
43 + document.getElementById("kgs-countdown").style.display = "none";
44 + document.getElementById("kgs-countdown-done").style.display = "block";
45 + clearInterval(timer);
46 + return;
47 + }
48 +
49 + var tage = Math.floor(diff / (1000 * 60 * 60 * 24));
50 + var stunden = Math.floor((diff % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
51 + var minuten = Math.floor((diff % (1000 * 60 * 60)) / (1000 * 60));
52 + var sekunden = Math.floor((diff % (1000 * 60)) / 1000);
53 +
54 + document.getElementById("cd-days").textContent = String(tage).padStart(2, "0");
55 + document.getElementById("cd-hours").textContent = String(stunden).padStart(2, "0");
56 + document.getElementById("cd-minutes").textContent = String(minuten).padStart(2, "0");
57 + document.getElementById("cd-seconds").textContent = String(sekunden).padStart(2, "0");
58 + }
59 +
60 + updateCountdown();
61 + var timer = setInterval(updateCountdown, 1000);
62 +})();
63 +</script>
7 7  {{/html}}
8 8  
9 9  Liebe Eltern, liebe Schülerinnen und Schüler,
... ... @@ -18,7 +18,7 @@
18 18  <td style="padding:16px;border:1px solid #ddd;background:#e8f5e9;vertical-align:top;width:33%;">
19 19  <p style="margin:0 0 6px;font-size:22px;">🕐</p>
20 20  <p style="margin:0 0 6px;font-weight:bold;">Unterricht in der Projektwoche</p>
21 -<p style="margin:0;font-size:13px;">Normalerweise **2. bis 5. Stunde**. Ausnahme: Wer am Montag/Dienstag den Sponsorenlauf oder am Mittwoch den World Cleanup Day in der 1. oder 6. Stunde hat, für den ändert sich die Zeit. Die genauen Zeiten stehen in WebUntis.</p>
78 +<p style="margin:0;font-size:13px;">Normalerweise <strong>2. bis 5. Stunde</strong>. Ausnahme: Wer am Montag/Dienstag den Sponsorenlauf oder am Mittwoch den World Cleanup Day in der 1. oder 6. Stunde hat, für den ändert sich die Zeit. Die genauen Zeiten stehen in WebUntis.</p>
22 22  </td>
23 23  <td style="padding:16px;border:1px solid #ddd;background:#fff3e0;vertical-align:top;width:33%;">
24 24  <p style="margin:0 0 6px;font-size:22px;">🏫</p>
... ... @@ -28,7 +28,7 @@
28 28  <td style="padding:16px;border:1px solid #ddd;background:#e0f7fa;vertical-align:top;width:33%;">
29 29  <p style="margin:0 0 6px;font-size:22px;">🍽️</p>
30 30  <p style="margin:0 0 6px;font-weight:bold;">Mensa</p>
31 -<p style="margin:0;font-size:13px;">Montag bis Donnerstag geöffnet von **12:30 bis 13:30 Uhr** für das warme Mittagessen.</p>
88 +<p style="margin:0;font-size:13px;">Montag bis Donnerstag geöffnet von <strong>12:30 bis 13:30 Uhr</strong> für das warme Mittagessen.</p>
32 32  </td>
33 33  </tr>
34 34  </table>
... ... @@ -50,12 +50,14 @@
50 50  <div style="border-left:6px solid #1a237e;background:#e8eaf6;border-radius:8px;padding:14px 18px;margin:14px 0;">
51 51  <p style="margin:0 0 6px;font-weight:bold;font-size:15px;">🎭 Donnerstag, 17.09., 18:30 Uhr – Premiere „ECHO"</p>
52 52  <p style="margin:0 0 10px;font-size:14px;">Unser schuleigenes Musical feiert Premiere in der Mensa!</p>
110 +<a href="https://wiki.kgs-stuhr.de/xwiki/bin/view/allg-info/musical-echo/" style="display:inline-block;background:#fff;color:#1a237e;text-decoration:none;padding:8px 16px;border-radius:6px;font-weight:bold;font-size:13px;border:2px solid #1a237e;margin-right:8px;">Mehr zum Musical „ECHO" →</a>
53 53  <a href="https://billettera.com/event/echo-2026-bv7q2" style="display:inline-block;background:#1a237e;color:#fff;text-decoration:none;padding:8px 16px;border-radius:6px;font-weight:bold;font-size:13px;">Tickets hier holen</a>
54 54  </div>
55 55  
56 56  <div style="border-left:6px solid #ff9800;background:#fff3e0;border-radius:8px;padding:14px 18px;margin:14px 0;">
57 57  <p style="margin:0 0 6px;font-weight:bold;font-size:15px;">🥐 Freitagvormittag, 18.09. – Gemeinsames Jubiläumsfrühstück</p>
58 -<p style="margin:0;font-size:14px;">Jede Klasse macht ihr eigenes Klassenfrühstück. Je nach Wetter frühstücken alle rund 1.500 Schülerinnen und Schüler gemeinsam draußen auf dem Schulhof oder an einer großen Tafel in den Fluren.</p>
116 +<p style="margin:0 0 10px;font-size:14px;">Jede Klasse macht ihr eigenes Klassenfrühstück. Je nach Wetter frühstücken alle rund 1.500 Schülerinnen und Schüler gemeinsam draußen auf dem Schulhof oder an einer großen Tafel in den Fluren.</p>
117 +<a href="https://wiki.kgs-stuhr.de/xwiki/bin/view/allg-info/50jahrekgs/schulfruestueck/" style="display:inline-block;background:#ff9800;color:#fff;text-decoration:none;padding:8px 16px;border-radius:6px;font-weight:bold;font-size:13px;">Alle Infos zum Schulfrühstück →</a>
59 59  </div>
60 60  {{/html}}
61 61