From fc4616bb056ef7dee382704f3c6ed28faf8f7f1b Mon Sep 17 00:00:00 2001 From: Dogfather Date: Mon, 7 Sep 2026 18:41:12 +0200 Subject: [PATCH] Immer nur eine Tafel offen -- und eine zugeklappte belegt nichts mehr Filipe: "wenn ich eine aufklicke soll auch immer nur die aufgehen und nicht alle 3." DAS IST MEHR ALS GESCHMACK. Seit die drei Tafeln nebeneinander stehen und jede ihren eigenen Lauf hat, teilen sie sich die Bildschirmhoehe: Drei offene Tafeln heissen drei kurze Ausschnitte -- eine offene heisst eine, in der man wirklich arbeiten kann. Die anderen werden ZUGEKLAPPT, nicht versteckt: Ihre Koepfe bleiben mit Namen und Anzahl stehen. Man sieht weiterhin, was es sonst gibt, und kommt mit einem Klick hin. Der gemerkte Stand wird mitgeschrieben -- sonst waere die Seite beim naechsten Aufruf in einem Zustand, den niemand hergestellt hat. UND EIN FEHLER VON MIR, DEN SEIN BILD GEZEIGT HAT Die zugeklappten Tafeln standen als LEERE KAESTEN ueber die volle Hoehe da. `align-items: stretch` am Brett gilt eben auch fuer die, die nichts zeigt. Drei gleich hohe Tafeln sind richtig, solange sie etwas enthalten -- eine geschlossene enthaelt nichts und soll dann auch nichts belegen. Vier Pruefungen gelaufen, alle gruen. NOCH OFFEN, und bewusst nicht angefangen: Erinnerungswecker, Terminarten (BigMatch/Turniere/Special-Live) und der Umbau der Begruessungskachel nach VanVans Werktisch. Jede davon ist ein eigener Bau -- angefangen und liegengelassen waeren sie schlimmer als gar nicht begonnen. Co-Authored-By: Claude Opus 5 --- workspace/assets/css/calls.css | 8 ++++++++ workspace/assets/js/calls.js | 34 ++++++++++++++++++++++++++++++++++ workspace/aufgaben.html | 18 +++++++++--------- workspace/automation.html | 20 ++++++++++---------- workspace/bereich.html | 28 ++++++++++++++-------------- workspace/calls.html | 22 +++++++++++----------- workspace/chat.html | 20 ++++++++++---------- workspace/content.html | 24 ++++++++++++------------ workspace/dateien.html | 20 ++++++++++---------- workspace/index.html | 4 ++-- workspace/kalender.html | 22 +++++++++++----------- workspace/leistung.html | 20 ++++++++++---------- workspace/personen.html | 20 ++++++++++---------- workspace/profil.html | 22 +++++++++++----------- workspace/report.html | 22 +++++++++++----------- workspace/scouting.html | 20 ++++++++++---------- workspace/start.html | 18 +++++++++--------- workspace/startcheck.html | 22 +++++++++++----------- workspace/steckbrief.html | 20 ++++++++++---------- workspace/uebersicht.html | 20 ++++++++++---------- workspace/wissen.html | 20 ++++++++++---------- 21 files changed, 233 insertions(+), 191 deletions(-) diff --git a/workspace/assets/css/calls.css b/workspace/assets/css/calls.css index e43e3bdc..32529f2e 100644 --- a/workspace/assets/css/calls.css +++ b/workspace/assets/css/calls.css @@ -408,6 +408,14 @@ display: flex; flex-direction: column; min-height: 0; } +/* EINE ZUGEKLAPPTE TAFEL SCHRUMPFT AUF IHREN KOPF. + + Im Bildschirmfoto stand sie als leerer Kasten ueber die volle Hoehe + -- die Regel "align-items: stretch" am Brett gilt eben auch fuer die, + die nichts zeigt. Drei gleich hohe Tafeln sind richtig, solange sie + etwas enthalten; eine geschlossene enthaelt nichts und soll dann + auch nichts belegen. */ +.call-brett .gruppe[data-zu="ja"] { align-self: start; } .call-brett .gruppe:not([data-zu="ja"]) .gruppe__karten { flex: 1 1 auto; min-height: 0; diff --git a/workspace/assets/js/calls.js b/workspace/assets/js/calls.js index f0cefa48..c189051d 100644 --- a/workspace/assets/js/calls.js +++ b/workspace/assets/js/calls.js @@ -535,6 +535,40 @@ kopf.addEventListener('click', () => { zu = !zu; stand(zu); try { localStorage.setItem(schluessel, zu ? 'zu' : 'auf'); } catch { /* egal */ } + + /* IMMER NUR EINE OFFEN (07.09.2026). + + Filipe: "wenn ich eine aufklicke soll auch immer nur die + aufgehen und nicht alle 3." + + Das ist mehr als Geschmack: Seit die drei Tafeln nebeneinander + stehen und jede ihren eigenen Lauf hat, teilen sie sich die + Bildschirmhoehe. Drei offene Tafeln heissen drei kurze + Ausschnitte -- eine offene heisst eine, in der man wirklich + arbeiten kann. + + Die anderen werden hier ZU gemacht, nicht versteckt: Ihre + Koepfe bleiben stehen, mit Namen und Anzahl. Man sieht also + weiterhin, was es sonst noch gibt, und kommt mit einem Klick + hin. + + Der gemerkte Stand wird mitgeschrieben -- sonst waere die + Seite beim naechsten Aufruf wieder in einem Zustand, den + niemand hergestellt hat. */ + if (!zu) { + for (const andere of document.querySelectorAll('.call-brett .gruppe')) { + if (andere === s) continue; + const kopfA = andere.querySelector('.stufe__kopf'); + const koerperA = andere.querySelector('.gruppe__koerper'); + if (!kopfA || !koerperA || andere.dataset.zu === 'ja') continue; + andere.dataset.zu = 'ja'; + kopfA.setAttribute('aria-expanded', 'false'); + koerperA.hidden = true; + try { + localStorage.setItem(`calls:${andere.dataset.gruppe}`, 'zu'); + } catch { /* egal */ } + } + } }); /* DIE ANSTEHENDEN WERDEN NACH ZEITRAUM UNTERTEILT (06.09.2026). diff --git a/workspace/aufgaben.html b/workspace/aufgaben.html index fd58aaa4..9a2b0729 100644 --- a/workspace/aufgaben.html +++ b/workspace/aufgaben.html @@ -9,10 +9,10 @@ - - - - + + + + @@ -212,10 +212,10 @@ - - - - - + + + + + diff --git a/workspace/automation.html b/workspace/automation.html index f2de0df9..aec38745 100644 --- a/workspace/automation.html +++ b/workspace/automation.html @@ -9,11 +9,11 @@ - - - - - + + + + + @@ -135,10 +135,10 @@ - - - - - + + + + + diff --git a/workspace/bereich.html b/workspace/bereich.html index d776e9fa..ce5e120a 100644 --- a/workspace/bereich.html +++ b/workspace/bereich.html @@ -9,11 +9,11 @@ - - - - - + + + + + @@ -144,14 +144,14 @@ - - - - - - - - - + + + + + + + + + diff --git a/workspace/calls.html b/workspace/calls.html index df749a46..46b0f1ec 100644 --- a/workspace/calls.html +++ b/workspace/calls.html @@ -9,11 +9,11 @@ - - - - - + + + + + @@ -77,11 +77,11 @@ - - - - - - + + + + + + diff --git a/workspace/chat.html b/workspace/chat.html index 4aed2429..0c2cf6f3 100644 --- a/workspace/chat.html +++ b/workspace/chat.html @@ -9,17 +9,17 @@ - - + + - - - + + + @@ -155,10 +155,10 @@ - - - - - + + + + + diff --git a/workspace/content.html b/workspace/content.html index b8877fa4..04c15b4b 100644 --- a/workspace/content.html +++ b/workspace/content.html @@ -9,11 +9,11 @@ - - - - - + + + + + @@ -167,12 +167,12 @@ - - - - - - - + + + + + + + diff --git a/workspace/dateien.html b/workspace/dateien.html index 5bd88ed0..55696cca 100644 --- a/workspace/dateien.html +++ b/workspace/dateien.html @@ -9,11 +9,11 @@ - - - - - + + + + + @@ -96,10 +96,10 @@ - - - - - + + + + + diff --git a/workspace/index.html b/workspace/index.html index b2f4ecb1..20a118f2 100644 --- a/workspace/index.html +++ b/workspace/index.html @@ -27,7 +27,7 @@ - + @@ -219,6 +219,6 @@ - + diff --git a/workspace/kalender.html b/workspace/kalender.html index c82fdc41..3ba2f6df 100644 --- a/workspace/kalender.html +++ b/workspace/kalender.html @@ -9,11 +9,11 @@ - - - - - + + + + + @@ -258,11 +258,11 @@ - - - - - - + + + + + + diff --git a/workspace/leistung.html b/workspace/leistung.html index 8f90d6c1..6cc4a142 100644 --- a/workspace/leistung.html +++ b/workspace/leistung.html @@ -9,11 +9,11 @@ - - - - - + + + + + @@ -212,10 +212,10 @@ - - - - - + + + + + diff --git a/workspace/personen.html b/workspace/personen.html index 8effca43..ec9afd27 100644 --- a/workspace/personen.html +++ b/workspace/personen.html @@ -9,11 +9,11 @@ - - - - - + + + + + @@ -157,10 +157,10 @@ - - - - - + + + + + diff --git a/workspace/profil.html b/workspace/profil.html index 9964dd6a..6b8a668c 100644 --- a/workspace/profil.html +++ b/workspace/profil.html @@ -9,11 +9,11 @@ - - - - - + + + + + @@ -202,11 +202,11 @@ - - - - - - + + + + + + diff --git a/workspace/report.html b/workspace/report.html index 3c12e30d..a8b58e9d 100644 --- a/workspace/report.html +++ b/workspace/report.html @@ -9,11 +9,11 @@ - - - - - + + + + + @@ -94,11 +94,11 @@ - - - - - - + + + + + + diff --git a/workspace/scouting.html b/workspace/scouting.html index 99ccbb81..affb3717 100644 --- a/workspace/scouting.html +++ b/workspace/scouting.html @@ -9,11 +9,11 @@ - - - - - + + + + + @@ -127,10 +127,10 @@ - - - - - + + + + + diff --git a/workspace/start.html b/workspace/start.html index 52146f7c..a421e0c5 100644 --- a/workspace/start.html +++ b/workspace/start.html @@ -9,12 +9,12 @@ - - + + - - + + @@ -320,10 +320,10 @@

- - - - - + + + + + diff --git a/workspace/startcheck.html b/workspace/startcheck.html index cda5f942..87f5f405 100644 --- a/workspace/startcheck.html +++ b/workspace/startcheck.html @@ -9,11 +9,11 @@ - - - - - + + + + + @@ -73,11 +73,11 @@ - - - - - - + + + + + + diff --git a/workspace/steckbrief.html b/workspace/steckbrief.html index 0400212e..8be1c5d3 100644 --- a/workspace/steckbrief.html +++ b/workspace/steckbrief.html @@ -9,11 +9,11 @@ - - - - - + + + + + @@ -114,10 +114,10 @@ - - - - - + + + + + diff --git a/workspace/uebersicht.html b/workspace/uebersicht.html index 559d8077..ff97f19a 100644 --- a/workspace/uebersicht.html +++ b/workspace/uebersicht.html @@ -9,13 +9,13 @@ - - + + - - - + + + @@ -137,11 +137,11 @@ - + - - - - + + + + diff --git a/workspace/wissen.html b/workspace/wissen.html index e6814898..5a2180c7 100644 --- a/workspace/wissen.html +++ b/workspace/wissen.html @@ -9,11 +9,11 @@ - - - - - + + + + + @@ -178,10 +178,10 @@ - - - - - + + + + +