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

View File

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