diff --git a/public/components/modal.js b/public/components/modal.js index 39ef258..44f87bf 100644 --- a/public/components/modal.js +++ b/public/components/modal.js @@ -93,7 +93,7 @@ export function openModal({ title, content, onSave, onDelete, size = 'md' } = {} `; @@ -192,7 +192,7 @@ function renderBody() { ${state.entries.length ? ` - CSV + CSV ` : ''}
@@ -240,7 +240,7 @@ function renderCategoryBars(byCategory) { function renderEntries() { if (!state.entries.length) { return `
- +
Keine Einträge
Noch keine Transaktionen für diesen Monat.
`; @@ -261,8 +261,8 @@ function renderEntries() {
${date} · ${escHtml(e.category)}${e.is_recurring ? ' 🔁' : ''}
${sign}${formatAmount(e.amount)}
- `; @@ -329,8 +329,8 @@ function openBudgetModal({ mode, entry = null }) {
`; @@ -620,7 +620,7 @@ function renderAgendaEvent(ev) {
-
${escHtml(ev.title)}${ev.recurrence_rule ? ' ' : ''}
+
${escHtml(ev.title)}${ev.recurrence_rule ? ' ' : ''}
${timeStr} ${ev.location ? `📍 ${escHtml(ev.location)}` : ''} @@ -663,7 +663,7 @@ function showEventPopup(ev, anchor) {
`; @@ -850,8 +850,8 @@ function buildEventModalContent({ mode, event, date }) { ${renderRRuleFields('event', isEdit ? event.recurrence_rule : null)} `; @@ -134,7 +134,7 @@ function renderList() { if (!contacts.length) { container.innerHTML = `
- +
Keine Kontakte gefunden
`; @@ -176,9 +176,9 @@ function renderList() { } function renderContactItem(c) { - const phone = c.phone ? `` : ''; - const email = c.email ? `` : ''; - const maps = c.address ? `` : ''; + const phone = c.phone ? `` : ''; + const email = c.email ? `` : ''; + const maps = c.address ? `` : ''; const meta = [c.phone, c.email].filter(Boolean).join(' · '); return ` @@ -190,8 +190,8 @@ function renderContactItem(c) {
${phone}${email}${maps} -
@@ -237,8 +237,8 @@ function openContactModal({ mode, contact = null }) {
@@ -427,7 +427,7 @@ function buildModalContent({ mode, date, mealType, meal }) {
${ingRows}
@@ -435,7 +435,7 @@ function buildModalContent({ mode, date, mealType, meal }) { ${isEdit && hasIngOpen ? `
- + Zutaten auf Einkaufsliste übertragen
@@ -455,8 +455,8 @@ function ingredientRowHTML(name, qty, id) {
-
`; diff --git a/public/pages/notes.js b/public/pages/notes.js index 695cc27..68a97d3 100644 --- a/public/pages/notes.js +++ b/public/pages/notes.js @@ -49,13 +49,13 @@ export async function render(container, { user }) {

Pinnwand

`; @@ -88,7 +88,7 @@ function renderGrid() { if (!state.notes.length) { grid.innerHTML = `
- +
Noch keine Notizen
Klicke auf „Neue Notiz" um loszulegen.
@@ -130,8 +130,8 @@ function renderNoteCard(note) { data-id="${note.id}" style="background-color:${escHtml(note.color)};color:${textColor};"> ${note.title ? `
${escHtml(note.title)}
` : ''}
${renderMarkdownLight(note.content)}
@@ -141,8 +141,8 @@ function renderNoteCard(note) { style="background-color:${escHtml(note.creator_color || '#8E8E93')}">${initials} ${escHtml(note.creator_name || '')} - diff --git a/public/pages/shopping.js b/public/pages/shopping.js index 6fb7694..eb95e93 100644 --- a/public/pages/shopping.js +++ b/public/pages/shopping.js @@ -75,7 +75,7 @@ function renderTabs(container) { bar.innerHTML = ` ${tabsHtml} `; if (window.lucide) window.lucide.createIcons(); @@ -88,7 +88,7 @@ function renderListContent(container) { if (!state.activeList) { content.innerHTML = `
- +
Keine Listen
Erstelle eine Liste mit dem + Button. @@ -106,19 +106,19 @@ function renderListContent(container) { ${state.activeList.name} - +
${checkedCount > 0 ? ` ` : ''}
@@ -139,7 +139,7 @@ function renderListContent(container) { ).join('')}
@@ -159,7 +159,7 @@ function renderItems() { if (!state.items.length) { return `
- +
Liste ist leer
Füge Artikel mit dem Eingabefeld oben hinzu.
`; @@ -169,7 +169,7 @@ function renderItems() { return groups.map(([cat, items]) => `
- + ${cat}
${items.map(renderItem).join('')} @@ -183,7 +183,7 @@ function renderItem(item) {
${item.name}
@@ -191,7 +191,7 @@ function renderItem(item) {
`; } @@ -321,7 +321,7 @@ function updateItemsList(container) { header.insertAdjacentHTML('afterbegin', ` `); if (window.lucide) window.lucide.createIcons(); @@ -330,7 +330,7 @@ function updateItemsList(container) { clearBtn.remove(); } else { clearBtn.innerHTML = ` - + Abgehakt löschen (${checkedCount})`; if (window.lucide) window.lucide.createIcons(); } @@ -557,7 +557,7 @@ export async function render(container, { user }) {
`; diff --git a/public/pages/tasks.js b/public/pages/tasks.js index 02238b7..8d9a158 100644 --- a/public/pages/tasks.js +++ b/public/pages/tasks.js @@ -99,7 +99,7 @@ function renderDueDate(dateStr) { const d = formatDueDate(dateStr); if (!d) return ''; return ` - ${d.label} + ${d.label} `; } @@ -108,11 +108,11 @@ function renderSwipeRow(task, innerHtml) { return `
${innerHtml} @@ -133,7 +133,7 @@ function renderTaskCard(task, opts = {}) { ${s.title}
`).join('') @@ -145,7 +145,7 @@ function renderTaskCard(task, opts = {}) {
@@ -155,7 +155,7 @@ function renderTaskCard(task, opts = {}) {
${renderPriorityBadge(task.priority)} ${renderDueDate(task.due_date)} - ${task.is_recurring ? '' : ''} + ${task.is_recurring ? '' : ''} ${task.category !== 'Sonstiges' ? `${task.category}` : ''}
@@ -168,7 +168,7 @@ function renderTaskCard(task, opts = {}) { @@ -195,7 +195,7 @@ function renderTaskCard(task, opts = {}) { function renderTaskGroups(tasks, groupMode) { if (!tasks.length) { return `
- +
Keine Aufgaben
Erstelle eine neue Aufgabe mit dem + Button.
`; @@ -467,7 +467,7 @@ function renderKanbanCard(task) {
${task.title}
${renderPriorityBadge(task.priority)} - ${due ? ` ${due.label}` : ''} + ${due ? ` ${due.label}` : ''}
${task.assigned_color ? ` @@ -943,7 +943,7 @@ export async function render(container, { user }) { `).join('')} `;