mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-21 15:48:22 +03:00
Adjust form label
This commit is contained in:
parent
887a1b480d
commit
46cf4eefc3
@ -193,7 +193,9 @@ export default function Step1NameAndDefine({
|
|||||||
name="modelName"
|
name="modelName"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>{t("wizard.step1.name")}</FormLabel>
|
<FormLabel className="text-primary-variant">
|
||||||
|
{t("wizard.step1.name")}
|
||||||
|
</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input
|
<Input
|
||||||
className="h-8"
|
className="h-8"
|
||||||
@ -211,7 +213,9 @@ export default function Step1NameAndDefine({
|
|||||||
name="modelType"
|
name="modelType"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>{t("wizard.step1.type")}</FormLabel>
|
<FormLabel className="text-primary-variant">
|
||||||
|
{t("wizard.step1.type")}
|
||||||
|
</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<RadioGroup
|
<RadioGroup
|
||||||
onValueChange={field.onChange}
|
onValueChange={field.onChange}
|
||||||
@ -260,7 +264,9 @@ export default function Step1NameAndDefine({
|
|||||||
name="objectLabel"
|
name="objectLabel"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>{t("wizard.step1.objectLabel")}</FormLabel>
|
<FormLabel className="text-primary-variant">
|
||||||
|
{t("wizard.step1.objectLabel")}
|
||||||
|
</FormLabel>
|
||||||
<Select
|
<Select
|
||||||
onValueChange={field.onChange}
|
onValueChange={field.onChange}
|
||||||
defaultValue={field.value}
|
defaultValue={field.value}
|
||||||
@ -296,7 +302,7 @@ export default function Step1NameAndDefine({
|
|||||||
name="objectType"
|
name="objectType"
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>
|
<FormLabel className="text-primary-variant">
|
||||||
{t("wizard.step1.classificationType")}
|
{t("wizard.step1.classificationType")}
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
@ -344,7 +350,9 @@ export default function Step1NameAndDefine({
|
|||||||
|
|
||||||
<div className="space-y-2">
|
<div className="space-y-2">
|
||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-between">
|
||||||
<FormLabel>{t("wizard.step1.classes")}</FormLabel>
|
<FormLabel className="text-primary-variant">
|
||||||
|
{t("wizard.step1.classes")}
|
||||||
|
</FormLabel>
|
||||||
<Button
|
<Button
|
||||||
type="button"
|
type="button"
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user