From cb710c13dec271a6e274a05ab50c8a257a180729 Mon Sep 17 00:00:00 2001 From: breitenbach76 Date: Sun, 7 Jun 2026 16:01:31 +0200 Subject: [PATCH] v14 --- 04_Tablet-Quiz/app/index.html | 16 ++++++---------- 04_Tablet-Quiz/app/sw.js | 2 +- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/04_Tablet-Quiz/app/index.html b/04_Tablet-Quiz/app/index.html index 1b4ad68..db4990b 100644 --- a/04_Tablet-Quiz/app/index.html +++ b/04_Tablet-Quiz/app/index.html @@ -273,8 +273,8 @@ .lgItem:first-of-type{border-top:0;padding-top:2px} .lgName{font-weight:700;font-size:13px;color:var(--ink)} .lgIdee{margin:2px 0 4px;font-size:13px;color:var(--ink)} - .lgBed{margin:2px 0 4px;padding-left:18px;color:var(--muted);font-size:12px} - .lgBed li{margin:1px 0} + .lgBed{margin:4px 0;color:var(--muted);font-size:13px} + .lgBed div{margin:2px 0} .lgBsp{font-size:12px;color:var(--muted)} .hint{font-weight:600;margin:8px 0} .hint.bad{color:var(--bad)} .hint.ok{color:var(--ok)} @@ -1200,12 +1200,7 @@ function renderClassify(){ const choices = CT_ORDER.map(i=> ``).join(""); const legend = `

Legende: Change-Arten im DIGITOM

` + - CT_ORDER.map(i=>{ const L = CHANGE_LEGEND[i]; - return `
${CHANGE_TYPES[i]}
` - + `
${L.idee}
` - + `
    ${L.bed.map(b=>`
  • ${b}
  • `).join("")}
` - + `
Beispiel: ${L.bsp}
`; - }).join("") + `
`; + CT_ORDER.map(i=>`
${CHANGE_TYPES[i]}
${CHANGE_LEGEND[i].idee}
`).join("") + ``; const hint = S.classifyWrong!=null ? `
Nicht ganz — überlegt nochmal und probiert es erneut.
` : ``; $("#panel").innerHTML = ` @@ -1235,8 +1230,9 @@ function renderClassify(){
✓ Richtig: ${CHANGE_TYPES[correct]}

Warum?

-

${CHANGE_LEGEND[correct].idee}

-

Beispiel: ${CHANGE_LEGEND[correct].bsp}

+

${CHANGE_LEGEND[correct].idee}

+
${CHANGE_LEGEND[correct].bed.map(b=>`
${b}
`).join("")}
+

Beispiel: ${CHANGE_LEGEND[correct].bsp}

diff --git a/04_Tablet-Quiz/app/sw.js b/04_Tablet-Quiz/app/sw.js index 618f0fa..3f6b328 100644 --- a/04_Tablet-Quiz/app/sw.js +++ b/04_Tablet-Quiz/app/sw.js @@ -1,5 +1,5 @@ /* Service Worker — SLC-Workshop Companion (App-Shell, offline-first) */ -const CACHE = "slc-companion-v16"; +const CACHE = "slc-companion-v17"; const SHELL = ["./", "index.html", "manifest.webmanifest", "icon.svg"]; // Action-Card-Grafiken (cards/s-c.png) fuer Offline vorab cachen (alle 30). const CARDS = [];