fix: Badge-Beschriftung im Scheduler sichtbar machen (#1)
Explizite Textfarben (text-dark/text-white) für Typ-Badges hinzugefügt, damit die Beschriftung auf bg-warning/bg-info Hintergrund lesbar ist. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f2aa69333d
commit
95fade502d
|
|
@ -89,7 +89,7 @@ function renderJobs() {
|
||||||
const statusIcon = job.enabled ? 'bi-check-circle-fill' : 'bi-pause-circle';
|
const statusIcon = job.enabled ? 'bi-check-circle-fill' : 'bi-pause-circle';
|
||||||
const statusText = job.enabled ? 'Aktiv' : 'Inaktiv';
|
const statusText = job.enabled ? 'Aktiv' : 'Inaktiv';
|
||||||
const jobType = job.type === 'message' ? 'Nachricht' : 'Kommando';
|
const jobType = job.type === 'message' ? 'Nachricht' : 'Kommando';
|
||||||
const typeBadge = job.type === 'message' ? 'bg-warning' : 'bg-info';
|
const typeBadge = job.type === 'message' ? 'bg-warning text-dark' : 'bg-info text-white';
|
||||||
return `<tr>
|
return `<tr>
|
||||||
<td class="fw-semibold">${escapeHtml(job.name || '')}</td>
|
<td class="fw-semibold">${escapeHtml(job.name || '')}</td>
|
||||||
<td class="text-body-secondary">${escapeHtml(job.description || '')}</td>
|
<td class="text-body-secondary">${escapeHtml(job.description || '')}</td>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue