update console

This commit is contained in:
pbao9
2025-07-29 10:24:14 +07:00
parent 980c9468fc
commit e8656c5655
27 changed files with 888 additions and 877 deletions
@@ -3,113 +3,7 @@
@push('style')
<link rel="stylesheet" href="{{ asset('lib/wmks/css/wmks-all.css') }}" />
<link rel="stylesheet" href="{{ asset('lib/adminlte/adminlte.css') }}">
<style>
/* Loading Animation Styles */
.loading-container {
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
min-height: 500px;
position: relative;
overflow: hidden;
}
.loading-spinner {
width: 60px;
height: 60px;
border: 4px solid rgba(255, 255, 255, 0.2);
border-left: 4px solid #007bff;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.loading-dots {
display: inline-flex;
align-items: center;
gap: 4px;
}
.loading-dots span {
width: 8px;
height: 8px;
border-radius: 50%;
background: #007bff;
animation: pulse 1.4s ease-in-out infinite both;
}
.loading-dots span:nth-child(1) {
animation-delay: -0.32s;
}
.loading-dots span:nth-child(2) {
animation-delay: -0.16s;
}
.loading-dots span:nth-child(3) {
animation-delay: 0s;
}
@keyframes pulse {
0%,
80%,
100% {
transform: scale(0.7);
opacity: 0.5;
}
40% {
transform: scale(1);
opacity: 1;
}
}
.console-container {
transition: all 0.5s ease-in-out;
min-height: 500px;
}
.fade-transition {
transition: opacity 0.4s ease-in-out;
}
.spinner-box {
width: 300px;
height: 300px;
display: flex;
justify-content: center;
align-items: center;
background-color: transparent;
}
.three-quarter-spinner {
width: 50px;
height: 50px;
border: 3px solid #fb5b53;
border-top: 3px solid transparent;
border-radius: 50%;
animation: spin .5s linear 0s infinite;
}
@keyframes spin {
from {
transform: rotate(0);
}
to {
transform: rotate(359deg);
}
}
</style>
<link rel="stylesheet" href="{{ asset('css/service/console.css') }}">
@endpush
@section('content')
@@ -148,7 +42,7 @@
<label>&nbsp;</label>
<div class="btn-group d-flex" role="group">
<button onclick="enterFullScreen()" class="btn btn-primary flex-fill">
<i class="fas fa-expand"></i> Full Screen
<i class="fas fa-expand"></i> Toàn màn hình
</button>
<button onclick="sendCAD()" class="btn btn-success flex-fill">
<i class="fas fa-keyboard"></i> Ctrl+Alt+Del