update vm info

This commit is contained in:
pbao9
2025-08-10 20:24:23 +07:00
parent 1a9ade38e8
commit dcac40e770
11 changed files with 17615 additions and 16 deletions
@@ -0,0 +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>
</div>
<span class="text-sm font-medium text-gray-700">{{ __('Đặt lại mật khẩu') }}</span>
</div>
</div>
@@ -0,0 +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>
</div>
<span class="text-sm font-medium text-gray-700">{{ __('Đổi Port Remote') }}</span>
</div>
</div>
@@ -19,11 +19,13 @@
<div class="grid grid-cols-6 gap-4">
{{-- Row 1: Basic Controls --}}
@include('frontend.service.partials.control-buttons.renewal-button')
{{ $vmInfo }}
@if ($isPoweredOff)
@include('frontend.service.partials.control-buttons.start-button')
@elseif ($isPoweredOn)
@include('frontend.service.partials.control-buttons.restart-button')
@include('frontend.service.partials.control-buttons.reset-remote-button')
@include('frontend.service.partials.control-buttons.stop-button')
@include('frontend.service.partials.control-buttons.console-button', ['invoice' => $invoice])
@endif
@@ -43,7 +45,7 @@
@include('frontend.service.partials.control-notes')
@livewire('v-p-s-reinstall-modal', [
'productId' => $invoice->invoiceItem->first()?->getProductAttribute()?->id,
'invoiceId' => $invoice->id
'invoiceId' => $invoice->id,
])
</div>
</div>