diff --git a/client/src/pages/AdminParametres.tsx b/client/src/pages/AdminParametres.tsx index 21edb47..c7a1ee0 100644 --- a/client/src/pages/AdminParametres.tsx +++ b/client/src/pages/AdminParametres.tsx @@ -6,6 +6,7 @@ import { Label } from "@/components/ui/label"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; import { toast } from "sonner"; import { Loader2, Save, Settings } from "lucide-react"; +import DashboardLayout from "@/components/DashboardLayout"; export default function AdminParametres() { const { data: parametres, isLoading, refetch } = trpc.parametres.get.useQuery(); @@ -51,7 +52,8 @@ export default function AdminParametres() { } return ( -
+ +
@@ -118,6 +120,7 @@ export default function AdminParametres() {
-
+
+
); } diff --git a/client/src/pages/FormateurEmargement.tsx b/client/src/pages/FormateurEmargement.tsx index 6155bc2..7fd1f88 100644 --- a/client/src/pages/FormateurEmargement.tsx +++ b/client/src/pages/FormateurEmargement.tsx @@ -13,6 +13,7 @@ import { CheckCircle2, Circle, Loader2, QrCode, RefreshCw } from "lucide-react"; import { useState } from "react"; import { toast } from "sonner"; import { Badge } from "@/components/ui/badge"; +import DashboardLayout from "@/components/DashboardLayout"; import { Dialog, DialogContent, @@ -115,7 +116,8 @@ export default function FormateurEmargement() { } return ( -
+ +

Émargement numérique

@@ -295,6 +297,7 @@ export default function FormateurEmargement() { )} -

+
+
); } diff --git a/todo.md b/todo.md index 9df3b80..3af26cc 100644 --- a/todo.md +++ b/todo.md @@ -690,3 +690,6 @@ - [x] Ajouter le lien dans le menu après "Configuration SMTP" - [x] Modifier qrCodeGenerator pour utiliser l'URL de la BDD - [x] Définir l'URL par défaut : https://formations.itinova.org + +- [x] Ajouter DashboardLayout à la page AdminParametres +- [x] Ajouter DashboardLayout à la page FormateurEmargement