diff --git a/src/components/widgets/BackupWidget.tsx b/src/components/widgets/BackupWidget.tsx
index 65da02e..974c686 100644
--- a/src/components/widgets/BackupWidget.tsx
+++ b/src/components/widgets/BackupWidget.tsx
@@ -1,4 +1,6 @@
-import { Card, CardContent } from '@/components/ui/Card';
+import { Card, CardContent, CardHeader } from '@/components/ui/Card';
+import { Check } from 'lucide-react';
+import Badge from '@ui/Badge';
interface BackupWidgetProps {
onClick?: () => void;
@@ -6,27 +8,22 @@ interface BackupWidgetProps {
export default function BackupWidget({ onClick }: BackupWidgetProps) {
return (
-
+
+ Sauvegardes
+
+
+
-
-
Sauvegardes
-
- PRA Immuable
-
-
-
-
+
Dernier snapshot système
Aujourd'hui à 03:00 AM
-
-
+
-
+
Intégrité validée avec succès
diff --git a/src/components/widgets/NewTicketWidget.tsx b/src/components/widgets/NewTicketWidget.tsx
index d07904e..cc73dcc 100644
--- a/src/components/widgets/NewTicketWidget.tsx
+++ b/src/components/widgets/NewTicketWidget.tsx
@@ -5,7 +5,6 @@ import { Button } from '@/components/ui/Button';
import { Input } from '@/components/ui/Input';
import { Select } from '@/components/ui/Select';
import { Textarea } from '@/components/ui/Textarea';
-import { cn } from '@/utils/utils';
interface NewTicketWidgetProps {
onCancel: () => void;
@@ -22,6 +21,7 @@ export const NewTicketWidget: React.FC = ({ onCancel, onSu
const [affectedAsset, setAffectedAsset] = useState('');
const [incidentTime, setIncidentTime] = useState('');
const [description, setDescription] = useState('');
+ const [buttonVariant, setButtonVariant]=useState('primary');
const handleSubmit = async (e: React.FormEvent) => {
e.preventDefault();
@@ -39,7 +39,7 @@ export const NewTicketWidget: React.FC = ({ onCancel, onSu
return (
-
+
Ouvrir un nouveau ticket
Qualification de votre requête ITSM
@@ -62,7 +62,7 @@ export const NewTicketWidget: React.FC = ({ onCancel, onSu