-
-
+
+
+
+ {auth.enabled ? `${t("auth.onHint")} ${auth.username ?? ""}` : t("auth.offHint")}
+
{auth.enabled ? (
)}
-
- {auth.enabled ? `${t("auth.onHint")} ${auth.username ?? ""}` : t("auth.offHint")}
-
-
+
-
-
-
- {
- const f = e.target.files?.[0];
- if (f) void importJson(f);
- e.target.value = "";
- }}
- />
-
-
{t("settings.importHint")}
- {msg ?
{msg}
: null}
+
+
+
+
+ {
+ const f = e.target.files?.[0];
+ if (f) void importJson(f);
+ e.target.value = "";
+ }}
+ />
+
+ {t("settings.importHint")}
+ {msg ? {msg}
: null}
+
diff --git a/apps/frontend/src/components/chart.tsx b/apps/frontend/src/components/chart.tsx
index d2013bc..def95ff 100644
--- a/apps/frontend/src/components/chart.tsx
+++ b/apps/frontend/src/components/chart.tsx
@@ -12,7 +12,6 @@ import {
XAxis,
YAxis,
} from "recharts";
-import { cn } from "@/lib/utils";
import { t } from "@/i18n";
/** One chart row: epoch ms plus named series values. */
diff --git a/apps/frontend/src/i18n/cs.ts b/apps/frontend/src/i18n/cs.ts
index 84a6375..cc1c26a 100644
--- a/apps/frontend/src/i18n/cs.ts
+++ b/apps/frontend/src/i18n/cs.ts
@@ -109,6 +109,7 @@ export const cs: Partial
> = {
"settings.testNotify": "Odeslat testovací notifikaci",
"settings.wallpaperPh": "https://… — prázdné = žádná",
"settings.importFailed": "Import selhal",
+ "settings.backup": "Záloha a import",
"service.editTitle": "Upravit službu",
"service.newTitle": "Přidat službu",
diff --git a/apps/frontend/src/i18n/en.ts b/apps/frontend/src/i18n/en.ts
index bc28c29..770d7ab 100644
--- a/apps/frontend/src/i18n/en.ts
+++ b/apps/frontend/src/i18n/en.ts
@@ -108,6 +108,7 @@ export const en = {
"settings.testNotify": "Send test notification",
"settings.wallpaperPh": "https://… — blank for none",
"settings.importFailed": "Import failed",
+ "settings.backup": "Backup & import",
"service.editTitle": "Edit service",
"service.newTitle": "Add service",
diff --git a/apps/frontend/src/renderers/index.ts b/apps/frontend/src/renderers/index.ts
index 1a02610..a445654 100644
--- a/apps/frontend/src/renderers/index.ts
+++ b/apps/frontend/src/renderers/index.ts
@@ -1,3 +1,4 @@
+import { LayoutGrid, LayoutList, Newspaper, SquareTerminal, type LucideIcon } from "lucide-react";
import { bento } from "./bento";
import { cards } from "./cards";
import { editorial } from "./editorial";
@@ -27,3 +28,10 @@ export const rendererDescriptions: Record = {
index: "editorial list · masthead",
console: "terminal panels · mono",
};
+
+export const rendererIcons: Record = {
+ bento: LayoutGrid,
+ cards: LayoutList,
+ index: Newspaper,
+ console: SquareTerminal,
+};