From 55828216fdf0362f6d6ddc3e300be32634660c33 Mon Sep 17 00:00:00 2001 From: Jeremy Kirsch Date: Mon, 18 May 2026 20:14:12 +0200 Subject: [PATCH] . --- public/index.html | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/public/index.html b/public/index.html index 2e484d4..8ab5fd5 100644 --- a/public/index.html +++ b/public/index.html @@ -1973,7 +1973,7 @@
-
Evidence Filter — einmal: gefunden  ·  zweimal: ausgeschlossen
+
Evidence Filter — Single click: found  ·  double click: excluded
@@ -2081,11 +2081,10 @@ Credits & Partner
- Danksagungen · Partner · Community
+ Thanks · Partner · Community
@@ -2222,17 +2221,17 @@
+ id="ef-ss" placeholder="e.g. Target's individual sanity"> -
+
-
-
@@ -2690,23 +2689,23 @@ const ul = document.getElementById('user-sub-list'); try { const subs = await api('GET', '/api/submissions/mine'); - if (!subs.length) { ul.innerHTML = '
📭 Du hast noch nichts eingereicht.
'; return; } + if (!subs.length) { ul.innerHTML = '
📭 You haven\'t submitted anything yet.
'; return; } ul.innerHTML = ''; subs.forEach(sub => { - const tl = sub.type === 'tip' ? '💡 Tip' : sub.type === 'edit' ? '✏️ Korrektur' : '🆕 Neuer Geist'; + const tl = sub.type === 'tip' ? '💡 Tip' : sub.type === 'edit' ? '✏️ Correction' : '🆕 New Ghost'; const sc = sub.status === 'approved' ? 'ssa' : sub.status === 'rejected' ? 'ssr' : 'ssp'; - const sl = sub.status === 'approved' ? '✓ Angenommen' : sub.status === 'rejected' ? '✕ Abgelehnt' : '⏳ Ausstehend'; + const sl = sub.status === 'approved' ? '✓ Approved' : sub.status === 'rejected' ? '✕ Rejected' : '⏳ Waiting for approval...'; const d = document.createElement('div'); d.className = 'usi'; - d.innerHTML = `
${escH(sub.ghost_name || 'Allgemein')}${tl}${sl}${fmtTime(sub.created_at)}
${escH(sub.content)}
${sub.admin_note ? `
Admin: ${escH(sub.admin_note)}
` : ''}`; + d.innerHTML = `
${escH(sub.ghost_name || 'General')}${tl}${sl}${fmtTime(sub.created_at)}
${escH(sub.content)}
${sub.admin_note ? `
Admin: ${escH(sub.admin_note)}
` : ''}`; ul.appendChild(d); }); const approved = subs.filter(s => s.status === 'approved').length; const ub = document.getElementById('badge-user'); ub.textContent = approved; ub.classList.toggle('show', approved > 0); - } catch { ul.innerHTML = '
Fehler beim Laden.
'; } + } catch { ul.innerHTML = '
Error while loading.
'; } } /* ── EXPORT ── */ - function exportGhosts() { const b = new Blob([JSON.stringify({ ghosts }, null, 2)], { type: 'application/json' }); const a = document.createElement('a'); a.href = URL.createObjectURL(b); a.download = 'blair-ghosts.json'; a.click(); toast("Exportiert ↓", "info"); } + function exportGhosts() { const b = new Blob([JSON.stringify({ ghosts }, null, 2)], { type: 'application/json' }); const a = document.createElement('a'); a.href = URL.createObjectURL(b); a.download = 'blair-ghosts.json'; a.click(); toast("Exported ↓", "info"); } /* ── MODAL / CONFIRM / TOAST ── */ function openModal(id) { document.getElementById(id).classList.add('open'); document.body.style.overflow = 'hidden'; }