update layout control vm
This commit is contained in:
+11
-11
@@ -1,13 +1,13 @@
|
||||
{{-- Renewal Button Component --}}
|
||||
<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-orange-300"
|
||||
@click="showNotification('{{ __('Chức năng đang phát triển') }}', 'info')">
|
||||
<div class="flex flex-col items-center">
|
||||
<div class="w-12 h-12 bg-orange-100 rounded-full flex items-center justify-center mb-3">
|
||||
<svg class="w-6 h-6 text-orange-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
||||
d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" />
|
||||
</svg>
|
||||
{{-- Reset VM Password Trigger --}}
|
||||
<flux:modal.trigger name="reset-vm-password">
|
||||
<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-orange-300 w-full">
|
||||
<div class="flex flex-col items-center">
|
||||
<div class="w-12 h-12 bg-orange-100 rounded-full flex items-center justify-center mb-3">
|
||||
<svg class="w-6 h-6 text-orange-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 11c1.656 0 3-1.344 3-3s-1.344-3-3-3-3 1.344-3 3 1.344 3 3 3zm0 2c-2.761 0-5 2.239-5 5v1h10v-1c0-2.761-2.239-5-5-5z" />
|
||||
</svg>
|
||||
</div>
|
||||
<span class="text-sm font-medium text-gray-700">{{ __('Đặt lại mật khẩu') }}</span>
|
||||
</div>
|
||||
<span class="text-sm font-medium text-gray-700">{{ __('Đặt lại mật khẩu') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</flux:modal.trigger>
|
||||
+11
-11
@@ -1,13 +1,13 @@
|
||||
{{-- Renewal Button Component --}}
|
||||
<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-orange-300"
|
||||
@click="showNotification('{{ __('Chức năng đang phát triển') }}', 'info')">
|
||||
<div class="flex flex-col items-center">
|
||||
<div class="w-12 h-12 bg-orange-100 rounded-full flex items-center justify-center mb-3">
|
||||
<svg class="w-6 h-6 text-orange-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
||||
d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z" />
|
||||
</svg>
|
||||
{{-- Change Remote Port Trigger (Windows only) --}}
|
||||
<flux:modal.trigger name="change-remote-port">
|
||||
<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-orange-300 w-full">
|
||||
<div class="flex flex-col items-center">
|
||||
<div class="w-12 h-12 bg-orange-100 rounded-full flex items-center justify-center mb-3">
|
||||
<svg class="w-6 h-6 text-orange-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 7h16M4 12h16M4 17h16" />
|
||||
</svg>
|
||||
</div>
|
||||
<span class="text-sm font-medium text-gray-700">{{ __('Đổi Port Remote') }}</span>
|
||||
</div>
|
||||
<span class="text-sm font-medium text-gray-700">{{ __('Đổi Port Remote') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</flux:modal.trigger>
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user