update reinstall vps
This commit is contained in:
@@ -2,19 +2,15 @@
|
||||
|
||||
@push('viewStyles')
|
||||
<link rel="stylesheet" href="{{ asset('lib/wmks/css/wmks-all.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('lib/adminlte/adminlte.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('css/service/console.css') }}">
|
||||
@endpush
|
||||
|
||||
@section('content')
|
||||
<div class="min-h-screen bg-gray-50">
|
||||
<div class="container mx-auto px-6 py-8">
|
||||
|
||||
<!-- Main Layout: 2 Columns -->
|
||||
<div class="grid grid-cols-1 lg:grid-cols-4 gap-6">
|
||||
|
||||
<!-- Console Display - Main Column (3/4) -->
|
||||
<div class="lg:col-span-3">
|
||||
<div class="flex flex-col gap-3">
|
||||
<div class="w-full">
|
||||
<div class="console-container">
|
||||
<!-- Console Header -->
|
||||
<div class="console-header">
|
||||
@@ -46,45 +42,29 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-full">
|
||||
<div class="control-panel">
|
||||
<div class="flex flex-row gap-2 items-center p-2">
|
||||
<button onclick="enterFullScreen()" class="btn-secondary flex items-center justify-center">
|
||||
<svg class="w-4 h-4 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
||||
d="M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4" />
|
||||
</svg>
|
||||
Toàn màn hình
|
||||
</button>
|
||||
|
||||
<!-- Control Panel - Sidebar (1/4) -->
|
||||
<div class="lg:col-span-1">
|
||||
<div class="space-y-6">
|
||||
|
||||
<!-- Quick Actions -->
|
||||
<div class="control-panel p-6">
|
||||
<h3 class="section-title">Bảng điều khiển</h3>
|
||||
|
||||
<div class="space-y-3">
|
||||
<button onclick="enterFullScreen()"
|
||||
class="btn-secondary w-full flex items-center justify-center">
|
||||
<svg class="w-4 h-4 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
||||
d="M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4" />
|
||||
</svg>
|
||||
Toàn màn hình
|
||||
</button>
|
||||
|
||||
<button onclick="sendCAD()" class="btn-secondary w-full flex items-center justify-center">
|
||||
<svg class="w-4 h-4 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
||||
d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z" />
|
||||
</svg>
|
||||
Ctrl + Alt + Del
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Text Input -->
|
||||
<div class="control-panel p-6">
|
||||
<h4 class="section-title">Gửi văn bản</h4>
|
||||
|
||||
<div class="space-y-3">
|
||||
<button onclick="sendCAD()" class="btn-secondary flex items-center justify-center">
|
||||
<svg class="w-4 h-4 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
||||
d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z" />
|
||||
</svg>
|
||||
Ctrl + Alt + Del
|
||||
</button>
|
||||
<div class="flex flex-row gap-2 items-center">
|
||||
<input type="text" id="sendStringText" placeholder="Type your message..."
|
||||
class="input-field" />
|
||||
|
||||
<button onclick="sendInputString()"
|
||||
class="btn-primary w-full flex items-center justify-center">
|
||||
<button onclick="sendInputString()" class="btn-primary flex items-center justify-center">
|
||||
<svg class="w-4 h-4 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
||||
d="M12 19l9 2-9-18-9 18 9-2zm0 0v-8" />
|
||||
|
||||
+13
-11
@@ -1,13 +1,15 @@
|
||||
<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-green-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-green-100 rounded-full flex items-center justify-center mb-3">
|
||||
<svg class="w-6 h-6 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
||||
d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" />
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
|
||||
</svg>
|
||||
<flux:modal.trigger name="reinstall-vm">
|
||||
<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-green-300">
|
||||
<div class="flex flex-col items-center">
|
||||
<div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mb-3">
|
||||
<svg class="w-6 h-6 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
||||
d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" />
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
|
||||
</svg>
|
||||
</div>
|
||||
<span class="text-sm font-medium text-gray-700">{{ __('Cài lại') }}</span>
|
||||
</div>
|
||||
<span class="text-sm font-medium text-gray-700">{{ __('Cài lại') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</flux:modal.trigger>
|
||||
|
||||
@@ -41,4 +41,9 @@
|
||||
|
||||
{{-- Notes Section --}}
|
||||
@include('frontend.service.partials.control-notes')
|
||||
@livewire('v-p-s-reinstall-modal', [
|
||||
'productId' => $invoice->invoiceItem->first()?->getProductAttribute()?->id,
|
||||
'invoiceId' => $invoice->id
|
||||
])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user