diff --git a/web/src/components/settings/GeneralSettings.tsx b/web/src/components/settings/GeneralSettings.tsx index fff82afe7..b13051ea4 100644 --- a/web/src/components/settings/GeneralSettings.tsx +++ b/web/src/components/settings/GeneralSettings.tsx @@ -1,6 +1,6 @@ import { + LuActivity, LuGithub, - LuHardDrive, LuLifeBuoy, LuList, LuMoon, @@ -137,7 +137,7 @@ export default function GeneralSettings({ className }: GeneralSettings) { System - + - - Storage + + System metrics diff --git a/web/src/pages/System.tsx b/web/src/pages/System.tsx index f2748ab43..9b8ba1abc 100644 --- a/web/src/pages/System.tsx +++ b/web/src/pages/System.tsx @@ -3,9 +3,12 @@ import { FrigateStats } from "@/types/stats"; import { useState } from "react"; import TimeAgo from "@/components/dynamic/TimeAgo"; import { ToggleGroup, ToggleGroupItem } from "@/components/ui/toggle-group"; -import { isDesktop } from "react-device-detect"; +import { isDesktop, isMobile } from "react-device-detect"; import GeneralMetrics from "@/views/system/GeneralMetrics"; import StorageMetrics from "@/views/system/StorageMetrics"; +import { LuActivity, LuHardDrive } from "react-icons/lu"; +import { FaVideo } from "react-icons/fa"; +import Logo from "@/components/Logo"; const metrics = ["general", "storage", "cameras"] as const; type SystemMetric = (typeof metrics)[number]; @@ -24,7 +27,10 @@ function System() { return (
-
+
+ {isMobile && ( + + )} ( -
{item}
+ {item == "general" && } + {item == "storage" && } + {item == "cameras" && } + {isDesktop &&
{item}
}
))}