From a74b0dbf64e306c65de8fbec357c18dd73f945c6 Mon Sep 17 00:00:00 2001 From: Antigravity Date: Wed, 23 Sep 2026 10:22:15 +0000 Subject: [PATCH] fix(ui): restore dictionary card styles and clean up activity heatmap labels --- app/static/index.html | 6 +++--- app/static/js/app.js | 41 +++++++++++++++++++++-------------------- 2 files changed, 24 insertions(+), 23 deletions(-) diff --git a/app/static/index.html b/app/static/index.html index 81cdd5c..32d3a62 100644 --- a/app/static/index.html +++ b/app/static/index.html @@ -71,7 +71,7 @@ Тренажёр SRS 0 - ` : ''} - -
${escapeHtml(c.translation)}
- ${c.context_sentence ? `
“${escapeHtml(c.context_sentence)}”
` : ''} -
- 📁 ${escapeHtml(c.collection || 'General')} - ${c.tags ? c.tags.split(',').map(t => `#${escapeHtml(t.trim())}`).join(' ') : ''} -
+
+
+ ${isBatchMode ? `` : ''} + + ${escapeHtml(c.term)} + ${c.phonetic ? `${escapeHtml(c.phonetic)}` : ''} + ${c.part_of_speech ? `${escapeHtml(c.part_of_speech)}` : ''} + ${c.audio_url ? `` : ''} +
+
+ +
-
- - +
${escapeHtml(c.translation)}
+ ${c.context_sentence ? `
“${escapeHtml(c.context_sentence)}”
` : ''} +
+
+ 📁 ${escapeHtml(c.collection || 'General')} + ${c.tags ? c.tags.split(',').map(t => `#${escapeHtml(t.trim())}`).join(' ') : ''} +
+ ${c.notes ? `
💡 ${escapeHtml(c.notes)}
` : ''}
`;