UI tweaks

This commit is contained in:
leccelecce 2025-03-23 21:46:50 +00:00 committed by james
parent f6b722842a
commit 53d03934cf
2 changed files with 5 additions and 10 deletions

View File

@ -540,7 +540,6 @@
},
"modelInfo": {
"title": "Model Information",
"modelId": "Model ID",
"modelType": "Model Type",
"trainDate": "Train Date",
"baseModel": "Base Model",
@ -548,6 +547,7 @@
"cameras": "Cameras",
"loading": "Loading model information...",
"error": "Failed to load model information",
"availableModels": "Available Models",
"modelSelect": "Your available models on Frigate+ can be selected here. Note that only models compatible with your current detector configuration are shown."
},
"toast": {

View File

@ -269,12 +269,6 @@ export default function FrigatePlusSettingsView({
).toLocaleString()}
</p>
</div>
<div className="col-span-2 md:col-span-1">
<Label className="text-muted-foreground">
{t("frigatePlus.modelInfo.modelId")}
</Label>
<p>{config.model.plus.id}</p>
</div>
<div>
<Label className="text-muted-foreground">
{t("frigatePlus.modelInfo.baseModel")}
@ -292,7 +286,7 @@ export default function FrigatePlusSettingsView({
<div className="col-span-2">
<div className="space-y-2">
<div className="text-md">
{t("frigatePlus.modelInfo.modelId")}
{t("frigatePlus.modelInfo.availableModels")}
</div>
<div className="space-y-3 text-sm text-muted-foreground">
<p>
@ -321,9 +315,10 @@ export default function FrigatePlusSettingsView({
className="cursor-pointer"
value={model.id}
>
{model.id} (
{new Date(model.trainDate).toLocaleString()}
)
<div className="text-muted-foreground">
{model.id}
</div>
</SelectItem>
))}
</SelectGroup>