Status
{row['status']}
Kategorie
{row['category'] or '-'}
📍 Halle / Stand
{row['halle'] or '– nicht erkannt –'}
🎯 Spieltitel
{row['spiel_titel'] or '–'}
🎯 Spieltitel
+
+
+
+
@@ -1307,6 +1314,30 @@ if (_llmBtn) {{
this.textContent = '🤖 LLM-Zusammenfassung';
}});
}}
+var _spielBtn = document.getElementById('saveSpielTitelBtn');
+var _spielInput = document.getElementById('spielTitelInline');
+var _spielStatus = document.getElementById('spielTitelStatus');
+if (_spielBtn && _spielInput) {{
+ _spielBtn.addEventListener('click', async function() {{
+ this.disabled = true;
+ _spielStatus.style.display = 'none';
+ try {{
+ const formData = new FormData();
+ formData.append('action', 'save');
+ formData.append('spiel_titel', _spielInput.value.trim());
+ const r = await fetch('/submission/{row["id"]}/update-summary', {{method:'POST', body:formData}});
+ if (r.ok) {{
+ _spielStatus.textContent = '✓ Gespeichert';
+ _spielStatus.style.display = 'inline';
+ setTimeout(() => {{ _spielStatus.style.display = 'none'; }}, 2000);
+ }}
+ }} catch(err) {{ _spielStatus.textContent = 'Fehler'; _spielStatus.style.display = 'inline'; }}
+ this.disabled = false;
+ }});
+ _spielInput.addEventListener('keydown', function(e) {{
+ if (e.key === 'Enter') {{ e.preventDefault(); _spielBtn.click(); }}
+ }});
+}}