From 01687423e548a67ce355f143a378ab2616bab583 Mon Sep 17 00:00:00 2001 From: Dogfather Date: Wed, 28 Oct 2026 03:32:51 +0100 Subject: [PATCH] DogTags: eigene Pfotenfarbe fliegt zur Faehrte (ab Jungwolf) Co-Authored-By: Claude Opus 5.5 --- server/pruef-dogtag-buehne.mjs | 2 + workspace/anleitung.html | 28 ++++++------- workspace/anruf-probe.html | 10 ++--- workspace/app.webmanifest | 8 ++-- workspace/assets/js/dogtag-buehne.js | 9 ++++ workspace/aufgaben.html | 38 ++++++++--------- workspace/automation.html | 32 +++++++------- workspace/befinden.html | 34 +++++++-------- workspace/bereich.html | 48 ++++++++++----------- workspace/bewerben.html | 38 ++++++++--------- workspace/bewerbungen.html | 36 ++++++++-------- workspace/buehne.html | 6 +-- workspace/calls.html | 34 +++++++-------- workspace/chat.html | 44 ++++++++++---------- workspace/content.html | 34 +++++++-------- workspace/crew-index.html | 12 +++--- workspace/crew.webmanifest | 8 ++-- workspace/dateien.html | 34 +++++++-------- workspace/dogtags.html | 36 ++++++++-------- workspace/entwicklung.html | 36 ++++++++-------- workspace/hilfe.html | 30 +++++++------- workspace/index.html | 10 ++--- workspace/kalender.html | 34 +++++++-------- workspace/leistung.html | 32 +++++++------- workspace/manager-ziele.html | 30 +++++++------- workspace/material.html | 32 +++++++------- workspace/notizen.html | 28 ++++++------- workspace/personen.html | 32 +++++++------- workspace/profil.html | 36 ++++++++-------- workspace/reaktion-foyer.html | 34 +++++++-------- workspace/reaktion.html | 62 ++++++++++++++-------------- workspace/rechte.html | 34 +++++++-------- workspace/report.html | 36 ++++++++-------- workspace/scouting.html | 32 +++++++------- workspace/start.html | 40 +++++++++--------- workspace/startcheck.html | 34 +++++++-------- workspace/steckbrief.html | 36 ++++++++-------- workspace/support.html | 32 +++++++------- workspace/tafel.html | 10 ++--- workspace/talente.html | 36 ++++++++-------- workspace/team.html | 32 +++++++------- workspace/teamlage.html | 34 +++++++-------- workspace/teilen.html | 30 +++++++------- workspace/treff-moderation.html | 32 +++++++------- workspace/treff-regeln.html | 32 +++++++------- workspace/uebersicht.html | 32 +++++++------- workspace/unsere-seiten.html | 30 +++++++------- workspace/unterstuetzen.html | 32 +++++++------- workspace/werdegang.html | 32 +++++++------- workspace/willkommen.html | 2 +- workspace/wissen.html | 34 +++++++-------- 51 files changed, 755 insertions(+), 744 deletions(-) diff --git a/server/pruef-dogtag-buehne.mjs b/server/pruef-dogtag-buehne.mjs index 683dbab6..8129363b 100644 --- a/server/pruef-dogtag-buehne.mjs +++ b/server/pruef-dogtag-buehne.mjs @@ -207,6 +207,8 @@ const hinweis = await zu.seite.evaluate(() => { return { text: t.textContent, drin: b.left >= lw.left - 1 && b.right <= lw.right + 1 && b.top >= lw.top && b.bottom <= lw.bottom }; }); ok(!!hinweis && hinweis.drin && /Witterung/.test(hinweis.text), `der Meilenstein-Hinweis steht ganz im Bild („${hinweis?.text}“)`); +const farbe = await zu.seite.evaluate(() => [...document.querySelectorAll(".dtb-buehne .dtb-abdruck")].map((p) => p.dataset.farbe)); +ok(farbe.includes("#A9DCFF"), `Kais Abdruck fliegt in seiner Pfotenfarbe zur Fährte (${farbe.join(",")})`); ok(!!jaeger && jaeger.schild && jaeger.name.includes("Kai"), `Kai erscheint mit Namensschild (${jaeger?.name})`); ok(!!jaeger && jaeger.mx > jaeger.w * 0.15 && jaeger.mx < jaeger.w * 0.85, `Zocken: außerhalb der Eck-Streifen (Mitte bei ${Math.round((jaeger?.mx / jaeger?.w) * 100)} % der Breite)`); await zu.seite.screenshot({ path: join(HIER, "pruef-dogtag-buehne-jaeger.png") }); diff --git a/workspace/anleitung.html b/workspace/anleitung.html index 6b1008e7..7a069202 100644 --- a/workspace/anleitung.html +++ b/workspace/anleitung.html @@ -7,17 +7,17 @@ - - - - - + + + + + - - + + @@ -289,16 +289,16 @@ Und anleitung.js braucht es doppelt: Symbol, Farbe, Name und Adresse jeder Karte kommen von dort, nicht vom Server. --> - + - - - - - - + + + + + + diff --git a/workspace/anruf-probe.html b/workspace/anruf-probe.html index d163380e..7970e93c 100644 --- a/workspace/anruf-probe.html +++ b/workspace/anruf-probe.html @@ -16,8 +16,8 @@ verdeckt. Gefunden hat es pruef-struktur. Richtig sind `gate.css` (die Farbwerte des Hauses) und `haus.css`. --> - - + + - +