diff --git a/app/MainClient.tsx b/app/MainClient.tsx index 78bf87f..d3069f1 100644 --- a/app/MainClient.tsx +++ b/app/MainClient.tsx @@ -53,7 +53,7 @@ export default function MainClient({ kuerzel, beoId, beoName, role }: Props) { {/* Header */}
-

+

Sternwarte-Welzheim   Führungsbuch für {activeKuppel}-Kuppel

@@ -179,7 +179,7 @@ export default function MainClient({ kuerzel, beoId, beoName, role }: Props) { {activeTab === 'statistik' && (
- Statistik (alle Kuppeln) + Statistik (alle Kuppeln)
diff --git a/components/LogbuchForm.tsx b/components/LogbuchForm.tsx index 25ab750..1b06bb5 100644 --- a/components/LogbuchForm.tsx +++ b/components/LogbuchForm.tsx @@ -205,7 +205,7 @@ export default function LogbuchForm({ kuppel, currentUserBeo, editEntry, onSaved } } - const inputCls = 'w-full px-2 py-1 border-2 border-gray-400 rounded-lg bg-white text-sm focus:border-blue-500 focus:outline-none'; + const inputCls = 'w-full px-2 py-1 border-2 border-gray-400 rounded-lg bg-white text-gray-900 text-sm focus:border-blue-500 focus:outline-none'; const labelCls = 'block text-xs font-medium text-gray-700 mb-0.5'; return ( @@ -273,7 +273,7 @@ export default function LogbuchForm({ kuppel, currentUserBeo, editEntry, onSaved onChange={(e) => setBesucher(e.target.value === '' ? '' : parseInt(e.target.value) || 0)} min={0} max={9999} - className="w-20 px-2 py-1 border-2 border-gray-400 rounded-lg bg-white text-sm focus:border-blue-500 focus:outline-none" + className="w-20 px-2 py-1 border-2 border-gray-400 rounded-lg bg-white text-gray-900 text-sm focus:border-blue-500 focus:outline-none" />
)} @@ -327,7 +327,7 @@ export default function LogbuchForm({ kuppel, currentUserBeo, editEntry, onSaved value={bemerkungen} onChange={(e) => setBemerkungen(e.target.value.slice(0, 500))} rows={2} - className="w-full px-2 py-1 border-2 border-gray-400 rounded-lg bg-white text-sm focus:border-blue-500 focus:outline-none resize-y" + className="w-full px-2 py-1 border-2 border-gray-400 rounded-lg bg-white text-gray-900 text-sm focus:border-blue-500 focus:outline-none resize-y" placeholder="Freier Text (max. 500 Zeichen)" />
diff --git a/components/LogbuchList.tsx b/components/LogbuchList.tsx index f8bc155..a6bb8d3 100644 --- a/components/LogbuchList.tsx +++ b/components/LogbuchList.tsx @@ -148,7 +148,7 @@ export default function LogbuchList({ kuppel, refreshKey, onEdit, currentUserKue value={month} max={currentMonth()} onChange={(e) => setMonth(e.target.value > currentMonth() ? currentMonth() : e.target.value)} - className="border border-[#407BFF] rounded-lg px-2 py-1 text-sm focus:outline-none focus:ring-2 focus:ring-inset focus:ring-[#235CC8]" + className="border border-[#407BFF] rounded-lg px-2 py-1 text-sm text-gray-900 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-[#235CC8]" /> Seite {page + 1} von {Math.ceil(total / limit)}
)} diff --git a/components/Statistik.tsx b/components/Statistik.tsx index 9439d96..3425d4b 100644 --- a/components/Statistik.tsx +++ b/components/Statistik.tsx @@ -61,14 +61,14 @@ export default function Statistik() { return rows.reduce((s, r) => s + (r[key] as number), 0); } - const thTop = 'px-3 py-2 border border-gray-300 text-xs font-semibold bg-gray-100 text-center'; - const thSub = 'px-3 py-2 border border-gray-300 text-xs font-semibold bg-gray-50 whitespace-nowrap'; - const thDiv = 'px-3 py-2 border border-gray-300 border-l-4 border-l-gray-400 text-xs font-semibold bg-gray-50 whitespace-nowrap'; - const td = 'px-3 py-2 border border-gray-200 text-sm text-right tabular-nums'; - const tdDiv = 'px-3 py-2 border border-gray-200 border-l-4 border-l-gray-400 text-sm text-right tabular-nums'; - const tdL = 'px-3 py-2 border border-gray-200 text-sm text-left whitespace-nowrap'; - const tdSum = 'px-3 py-2 border border-gray-200 text-sm text-right tabular-nums font-semibold bg-gray-50'; - const tdSumDiv = 'px-3 py-2 border border-gray-200 border-l-4 border-l-gray-400 text-sm text-right tabular-nums font-semibold bg-gray-50'; + const thTop = 'px-3 py-2 border border-gray-300 text-xs font-semibold bg-gray-100 text-center text-gray-900'; + const thSub = 'px-3 py-2 border border-gray-300 text-xs font-semibold bg-gray-50 whitespace-nowrap text-gray-900'; + const thDiv = 'px-3 py-2 border border-gray-300 border-l-4 border-l-gray-400 text-xs font-semibold bg-gray-50 whitespace-nowrap text-gray-900'; + const td = 'px-3 py-2 border border-gray-200 text-sm text-right tabular-nums text-gray-900'; + const tdDiv = 'px-3 py-2 border border-gray-200 border-l-4 border-l-gray-400 text-sm text-right tabular-nums text-gray-900'; + const tdL = 'px-3 py-2 border border-gray-200 text-sm text-left whitespace-nowrap text-gray-900'; + const tdSum = 'px-3 py-2 border border-gray-200 text-sm text-right tabular-nums font-semibold bg-gray-50 text-gray-900'; + const tdSumDiv = 'px-3 py-2 border border-gray-200 border-l-4 border-l-gray-400 text-sm text-right tabular-nums font-semibold bg-gray-50 text-gray-900'; return (
@@ -80,7 +80,7 @@ export default function Statistik() { onChange={(e) => setYear(parseInt(e.target.value, 10) || new Date().getFullYear())} min={2000} max={2100} - className="w-24 px-2 py-1 border-2 border-gray-400 rounded-lg bg-white text-sm focus:border-blue-500 focus:outline-none" + className="w-24 px-2 py-1 border-2 border-gray-400 rounded-lg bg-white text-gray-900 text-sm focus:border-blue-500 focus:outline-none" />
@@ -156,11 +156,11 @@ export default function Statistik() {
Besucher {year}
-
{data?.cumulative.toLocaleString('de-DE') ?? 0}
+
{data?.cumulative.toLocaleString('de-DE') ?? 0}
Führungen {year}
-
{data?.tage ?? 0}
+
{data?.tage ?? 0}
diff --git a/package.json b/package.json index b64d3cb..7a22b4c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "logbuch", - "version": "1.8.0", + "version": "1.8.1", "private": true, "scripts": { "dev": "next dev",