diff --git a/web/src/views/settings/FrigatePlusSettingsView.tsx b/web/src/views/settings/FrigatePlusSettingsView.tsx index db9a4369b5..7bc81fae22 100644 --- a/web/src/views/settings/FrigatePlusSettingsView.tsx +++ b/web/src/views/settings/FrigatePlusSettingsView.tsx @@ -239,332 +239,332 @@ export default function FrigatePlusSettingsView({ } return ( -
+
-
-
-
-
- - {t("frigatePlus.title")} - +
+
+ + {t("frigatePlus.title")} + -

- {t("frigatePlus.description")} -

-
- -
- - -

{t("frigatePlus.apiKey.desc")}

- {!config?.model.plus && ( -
- - {t("frigatePlus.apiKey.plusLink")} - - -
- )} - - } - content={ -
- {config?.plus?.enabled ? ( - - ) : ( - - )} - - {config?.plus?.enabled - ? t("frigatePlus.apiKey.validated") - : t("frigatePlus.apiKey.notValidated")} - -
- } - /> -
- - {config?.plus?.enabled && ( - - )} - - {config?.plus?.enabled && ( - - - frigatePlus.modelInfo.modelSelect - - } - content={ -
- - - - - - -
-
- {t("frigatePlus.modelInfo.filter.ariaLabel")} -
-
- - -
-
- - -
-
-
-
-
- } - /> -
- )} - - - -

- - frigatePlus.snapshotConfig.desc - -

-
- - {t("readTheDocumentation", { ns: "common" })} - - -
- - } - content={ -
-
- - - - - - - - - {Object.entries(config.cameras).map( - ([name, camera]) => ( - - - - - ), - )} - -
- {t("frigatePlus.snapshotConfig.table.camera")} - - {t( - "frigatePlus.snapshotConfig.table.snapshots", - )} -
- - - {camera.snapshots.enabled ? ( - - ) : ( - - )} -
-
-
- } - /> -
-
-
+

+ {t("frigatePlus.description")} +

-
-
-
- - +
+ + +

{t("frigatePlus.apiKey.desc")}

+ {!config?.model.plus && ( +
+ + {t("frigatePlus.apiKey.plusLink")} + + +
+ )} + + } + content={ +
+ {config?.plus?.enabled ? ( + + ) : ( + + )} + + {config?.plus?.enabled + ? t("frigatePlus.apiKey.validated") + : t("frigatePlus.apiKey.notValidated")} + +
+ } + /> +
+ + {config?.plus?.enabled && ( + + )} + + {config?.plus?.enabled && ( + + + frigatePlus.modelInfo.modelSelect + + } + content={ +
+ + + + + + +
+
+ {t("frigatePlus.modelInfo.filter.ariaLabel")} +
+
+ + +
+
+ + +
+
+
+
+
+ } + /> +
+ )} + + + +

+ + frigatePlus.snapshotConfig.desc + +

+
+ + {t("readTheDocumentation", { ns: "common" })} + + +
+ + } + content={ +
+
+ + + + + + + + + {Object.entries(config.cameras).map( + ([name, camera]) => ( + + + + + ), + )} + +
+ {t("frigatePlus.snapshotConfig.table.camera")} + + {t("frigatePlus.snapshotConfig.table.snapshots")} +
+ + + {camera.snapshots.enabled ? ( + + ) : ( + + )} +
+
+
+ } + /> +
+
+
+ +
+
+ {changedValue && ( +
+ + {t("unsavedChanges")} +
+ )} +
+ {changedValue && ( + + )} +