feat: Implement VMware console access with a new API endpoint and UI, and update the admin header to display user details.

This commit is contained in:
pbao9
2026-02-14 15:36:25 +07:00
parent 78b87c10fe
commit 449502e290
7 changed files with 433 additions and 452 deletions
@@ -346,73 +346,6 @@ $dtColumns = collect($columns)
height: 100%;
}
.data-table-wrapper .table thead th {
border-color: #f1f5f9 !important;
font-family: 'Inter', sans-serif;
vertical-align: middle;
position: sticky;
top: 0;
z-index: 2;
background-color: #f8f9fa;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.table thead th:last-child,
.table tbody td:last-child {
position: sticky;
right: 0;
background: #fff;
z-index: 1;
border-left: 1px solid #f1f5f9;
box-shadow: -2px 0 5px rgba(0, 0, 0, 0.02);
width: 70px;
min-width: 70px;
max-width: 70px;
}
.table thead th:last-child {
background: #f8f9fa;
z-index: 3;
}
.table thead th:first-child,
.table tbody td:first-child {
position: sticky;
left: 0;
background: #fff;
z-index: 1;
border-right: 1px solid #f1f5f9;
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.02);
}
.table thead th:first-child {
background: #f8f9fa;
z-index: 3;
}
.table tbody tr {
position: relative;
z-index: 0;
}
.table tbody tr:hover {
z-index: 5;
}
.table tbody tr:hover td {
background-color: #f8fafc !important;
cursor: pointer;
}
.data-table-wrapper .table td:not(:last-child) {
border-right: 1px solid #f1f5f9;
}
.data-table-wrapper .table thead tr.filter-row th {
top: 45px;
z-index: 2;
}
.data-table-wrapper .input-group-text {
color: #94a3b8;
}
@@ -584,35 +517,5 @@ $dtColumns = collect($columns)
gap: 0.5rem;
margin: 0;
}
.dt-action-dropdown .dropdown-menu {
min-width: 140px;
padding: 0.25rem 0;
font-size: 0.8125rem;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
border: 1px solid #e2e8f0;
z-index: 1050;
position: absolute;
}
.dt-action-dropdown .dropdown-item {
padding: 0.4rem 0.75rem;
display: flex;
align-items: center;
gap: 0.5rem;
transition: all 0.15s ease;
}
.dt-action-dropdown .dropdown-item:hover {
background-color: #f8fafc;
}
.dt-action-dropdown .dropdown-item.text-danger:hover {
background-color: #fef2f2;
}
.dt-action-dropdown .dropdown-divider {
margin: 0.25rem 0;
}
</style>
@endpush