@extends('administrator.layout.master') @push('plugin-styles') @foreach (config('assets.datatable.css') as $datatable) @endforeach @endpush @section('breadcrumb') @php $breadcrumbItems = [ ['label' => 'Modules'], ['label' => 'Package vCenter', 'route' => 'package.vm.index'], ['label' => 'Virtual Machine', 'route' => 'package.vm.index'], ['label' => 'Edit VM', 'active' => true], ]; @endphp @endsection @section('content') @if(auth()->guard('admins')->user()->can("add module vcenter"))
@csrf @method('PUT')
Edit Virtual Machine
vCenter Configuration
VM Information
Status
@if($vm->power_state == 'POWERED_ON') Đang bật @elseif($vm->power_state == 'POWERED_OFF') Đang tắt @else {{ $vm->power_state ?? 'N/A' }} @endif
Actions
Save Changes Cancel @if($vm->vm_id && $vm->power_state == 'POWERED_ON') Open Console @elseif($vm->vm_id) Console (VM Off) @endif
@else
Access Denied - You are not assigned to any Module vCenter management department
@endif @endsection @push('plugin-scripts') @foreach (config('assets.datatable.js') as $datatable) @endforeach @endpush