@hed-hog/lms 0.0.265 → 0.0.266

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -49,11 +49,28 @@
49
49
  icon: form
50
50
  name:
51
51
  en: Exams
52
- pt: Provas
52
+ pt: Exames
53
53
  slug: /lms/exams
54
54
  relations:
55
55
  role:
56
56
  - where:
57
57
  slug: admin
58
58
  - where:
59
- slug: admin-lms
59
+ slug: admin-lms
60
+
61
+ - url: /lms/training
62
+ menu_id:
63
+ where:
64
+ slug: /lms
65
+ icon: graduation-cap
66
+ name:
67
+ en: Training
68
+ pt: Formação
69
+ slug: /lms/training
70
+ relations:
71
+ role:
72
+ - where:
73
+ slug: admin
74
+ - where:
75
+ slug: admin-lms
76
+
@@ -1115,7 +1115,7 @@ export default function CursosPage() {
1115
1115
 
1116
1116
  <form
1117
1117
  onSubmit={form.handleSubmit(onSubmit)}
1118
- className="mt-6 flex flex-col gap-5 px-1"
1118
+ className="mt-6 flex flex-col px-4 gap-5"
1119
1119
  >
1120
1120
  {/* Codigo */}
1121
1121
  <Field data-invalid={!!form.formState.errors.codigo}>
@@ -1373,13 +1373,6 @@ export default function CursosPage() {
1373
1373
  </div>
1374
1374
 
1375
1375
  <SheetFooter className="mt-2 gap-2 pb-6">
1376
- <Button
1377
- type="button"
1378
- variant="outline"
1379
- onClick={() => setSheetOpen(false)}
1380
- >
1381
- {t('form.actions.cancel')}
1382
- </Button>
1383
1376
  <Button type="submit" disabled={saving} className="gap-2">
1384
1377
  {saving && <Loader2 className="size-4 animate-spin" />}
1385
1378
  {editingCurso
@@ -953,7 +953,7 @@ export default function ExamesPage() {
953
953
  </SheetHeader>
954
954
  <form
955
955
  onSubmit={form.handleSubmit(onSubmit)}
956
- className="flex flex-1 flex-col gap-4 py-6"
956
+ className="flex flex-1 flex-col px-4 gap-4 py-6"
957
957
  >
958
958
  <Field>
959
959
  <FieldLabel htmlFor="codigo">
@@ -1069,14 +1069,6 @@ export default function ExamesPage() {
1069
1069
  />
1070
1070
  </label>
1071
1071
  <SheetFooter className="mt-auto shrink-0 gap-2 pt-4">
1072
- <Button
1073
- type="button"
1074
- variant="outline"
1075
- onClick={() => setSheetOpen(false)}
1076
- disabled={saving}
1077
- >
1078
- {t('form.actions.cancel')}
1079
- </Button>
1080
1072
  <Button type="submit" disabled={saving} className="gap-2">
1081
1073
  {saving && <Loader2 className="size-4 animate-spin" />}
1082
1074
  {editingExame