mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-22 14:38:19 +02:00
Merge pull request #26 from R0m1k3/1.1
Add a thin grey border around validation icons
This commit is contained in:
9 files changed
+11
-11
No files matched your search
@@ -394,7 +394,7 @@ export default function OrderDetailModal({
|
|||||||
disabled={validateOrderMutation.isPending}
|
disabled={validateOrderMutation.isPending}
|
||||||
className="bg-green-600 hover:bg-green-700"
|
className="bg-green-600 hover:bg-green-700"
|
||||||
>
|
>
|
||||||
<CheckCircle className="w-4 h-4 mr-2" />
|
<CheckCircle className="w-4 h-4 mr-2 border border-gray-300 rounded p-0.5" />
|
||||||
{validateOrderMutation.isPending ? 'Validation...' : 'Valider Commande'}
|
{validateOrderMutation.isPending ? 'Validation...' : 'Valider Commande'}
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
@@ -404,7 +404,7 @@ export default function OrderDetailModal({
|
|||||||
onClick={handleValidateDelivery}
|
onClick={handleValidateDelivery}
|
||||||
className="bg-secondary hover:bg-green-700"
|
className="bg-secondary hover:bg-green-700"
|
||||||
>
|
>
|
||||||
<Check className="w-4 h-4 mr-2" />
|
<Check className="w-4 h-4 mr-2 border border-gray-300 rounded p-0.5" />
|
||||||
Valider livraison
|
Valider livraison
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -255,7 +255,7 @@ export default function ReconciliationModal({
|
|||||||
disabled={!canValidate || updateDeliveryMutation.isPending}
|
disabled={!canValidate || updateDeliveryMutation.isPending}
|
||||||
className="bg-green-600 hover:bg-green-700"
|
className="bg-green-600 hover:bg-green-700"
|
||||||
>
|
>
|
||||||
<Check className="w-4 h-4 mr-2" />
|
<Check className="w-4 h-4 mr-2 border border-gray-300 rounded p-0.5" />
|
||||||
{updateDeliveryMutation.isPending ? "Validation..." : "Valider le rapprochement"}
|
{updateDeliveryMutation.isPending ? "Validation..." : "Valider le rapprochement"}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ export default function ValidateDeliveryModal({
|
|||||||
<DialogContent className="sm:max-w-md" aria-describedby="validate-delivery-modal-description">
|
<DialogContent className="sm:max-w-md" aria-describedby="validate-delivery-modal-description">
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle className="flex items-center space-x-2">
|
<DialogTitle className="flex items-center space-x-2">
|
||||||
<Check className="w-5 h-5 text-green-600" />
|
<Check className="w-5 h-5 text-green-600 border border-gray-300 rounded p-0.5" />
|
||||||
<span>Valider la livraison</span>
|
<span>Valider la livraison</span>
|
||||||
</DialogTitle>
|
</DialogTitle>
|
||||||
<p id="validate-delivery-modal-description" className="text-sm text-gray-600 mt-1">
|
<p id="validate-delivery-modal-description" className="text-sm text-gray-600 mt-1">
|
||||||
@@ -182,7 +182,7 @@ export default function ValidateDeliveryModal({
|
|||||||
disabled={validateDeliveryMutation.isPending}
|
disabled={validateDeliveryMutation.isPending}
|
||||||
className="bg-green-600 hover:bg-green-700"
|
className="bg-green-600 hover:bg-green-700"
|
||||||
>
|
>
|
||||||
<Check className="w-4 h-4 mr-2" />
|
<Check className="w-4 h-4 mr-2 border border-gray-300 rounded p-0.5" />
|
||||||
{validateDeliveryMutation.isPending ? "Validation..." : "Valider livraison"}
|
{validateDeliveryMutation.isPending ? "Validation..." : "Valider livraison"}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ const Checkbox = forwardRef<
|
|||||||
<CheckboxPrimitive.Indicator
|
<CheckboxPrimitive.Indicator
|
||||||
className={cn("flex items-center justify-center text-current")}
|
className={cn("flex items-center justify-center text-current")}
|
||||||
>
|
>
|
||||||
<Check className="h-4 w-4" />
|
<Check className="h-4 w-4 border border-gray-300 rounded p-0.5" />
|
||||||
</CheckboxPrimitive.Indicator>
|
</CheckboxPrimitive.Indicator>
|
||||||
</CheckboxPrimitive.Root>
|
</CheckboxPrimitive.Root>
|
||||||
))
|
))
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ const ContextMenuCheckboxItem = forwardRef<
|
|||||||
>
|
>
|
||||||
<span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
|
<span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
|
||||||
<ContextMenuPrimitive.ItemIndicator>
|
<ContextMenuPrimitive.ItemIndicator>
|
||||||
<Check className="h-4 w-4" />
|
<Check className="h-4 w-4 border border-gray-300 rounded p-0.5" />
|
||||||
</ContextMenuPrimitive.ItemIndicator>
|
</ContextMenuPrimitive.ItemIndicator>
|
||||||
</span>
|
</span>
|
||||||
{children}
|
{children}
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ const DropdownMenuCheckboxItem = forwardRef<
|
|||||||
>
|
>
|
||||||
<span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
|
<span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
|
||||||
<DropdownMenuPrimitive.ItemIndicator>
|
<DropdownMenuPrimitive.ItemIndicator>
|
||||||
<Check className="h-4 w-4" />
|
<Check className="h-4 w-4 border border-gray-300 rounded p-0.5" />
|
||||||
</DropdownMenuPrimitive.ItemIndicator>
|
</DropdownMenuPrimitive.ItemIndicator>
|
||||||
</span>
|
</span>
|
||||||
{children}
|
{children}
|
||||||
|
|||||||
@@ -465,7 +465,7 @@ export default function BLReconciliation() {
|
|||||||
className="text-gray-600 hover:text-green-600 transition-colors duration-200 p-1 hover:bg-green-50 rounded"
|
className="text-gray-600 hover:text-green-600 transition-colors duration-200 p-1 hover:bg-green-50 rounded"
|
||||||
title="Valider le rapprochement"
|
title="Valider le rapprochement"
|
||||||
>
|
>
|
||||||
<Check className="w-4 h-4" />
|
<Check className="w-4 h-4 border border-gray-300 rounded p-0.5" />
|
||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
{permissions.canDelete('reconciliation') && (
|
{permissions.canDelete('reconciliation') && (
|
||||||
|
|||||||
@@ -449,7 +449,7 @@ export default function Deliveries() {
|
|||||||
className="text-green-600 hover:text-green-700"
|
className="text-green-600 hover:text-green-700"
|
||||||
disabled={validateMutation.isPending}
|
disabled={validateMutation.isPending}
|
||||||
>
|
>
|
||||||
<Check className="w-4 h-4" />
|
<Check className="w-4 h-4 border border-gray-300 rounded p-0.5" />
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
{canDelete && (
|
{canDelete && (
|
||||||
|
|||||||
@@ -445,7 +445,7 @@ export default function Tasks() {
|
|||||||
{task.title}
|
{task.title}
|
||||||
</h5>
|
</h5>
|
||||||
<Badge variant="secondary" className="flex items-center gap-1">
|
<Badge variant="secondary" className="flex items-center gap-1">
|
||||||
<CheckCircle className="w-3 h-3" />
|
<CheckCircle className="w-3 h-3 border border-gray-300 rounded p-0.5" />
|
||||||
Terminée
|
Terminée
|
||||||
</Badge>
|
</Badge>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user