update layout control vm

This commit is contained in:
Pham Bao
2025-08-10 21:50:26 +07:00
parent dcac40e770
commit cb0e263f44
16 changed files with 514 additions and 47 deletions
@@ -1,9 +1,5 @@
<form method="POST" action="{{ route('service.create.snapshots') }}" class="inline-block" id="snapshotForm">
@csrf
<input type="hidden" name="product_id" value="{{ $invoice->vm_id }}">
<button type="submit"
class="bg-gray-50 hover:bg-gray-100 rounded-lg p-4 text-center cursor-pointer transition-colors duration-200 border border-gray-200 hover:border-purple-300 w-full"
onclick="handleSnapshotSubmit(event)">
<flux:modal.trigger name="snapshots">
<div class="bg-gray-50 hover:bg-gray-100 rounded-lg p-4 text-center cursor-pointer transition-colors duration-200 border border-gray-200 hover:border-purple-300 w-full">
<div class="flex flex-col items-center">
<div class="w-12 h-12 bg-purple-100 rounded-full flex items-center justify-center mb-3">
<svg class="w-6 h-6 text-purple-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
@@ -15,5 +11,5 @@
</div>
<span class="text-sm font-medium text-gray-700">{{ __('Tạo Snapshot') }}</span>
</div>
</button>
</form>
</div>
</flux:modal.trigger>