mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-11-18 19:46:18 +00:00
Update virtual-machines.tsx
This commit is contained in:
@@ -525,8 +525,10 @@ export function VirtualMachines() {
|
|||||||
{typeBadge.icon}
|
{typeBadge.icon}
|
||||||
{typeBadge.label}
|
{typeBadge.label}
|
||||||
</Badge>
|
</Badge>
|
||||||
<span className="font-semibold text-foreground">{vm.name}</span>
|
<div className="flex-1 min-w-0">
|
||||||
<span className="text-sm text-muted-foreground">ID: {vm.vmid}</span>
|
<div className="font-semibold text-foreground truncate">{vm.name}</div>
|
||||||
|
<div className="text-[10px] text-muted-foreground">ID: {vm.vmid}</div>
|
||||||
|
</div>
|
||||||
{lxcIP && (
|
{lxcIP && (
|
||||||
<span className={`text-sm ${lxcIP === "DHCP" ? "text-yellow-500" : "text-green-500"}`}>
|
<span className={`text-sm ${lxcIP === "DHCP" ? "text-yellow-500" : "text-green-500"}`}>
|
||||||
IP: {lxcIP}
|
IP: {lxcIP}
|
||||||
@@ -618,9 +620,8 @@ export function VirtualMachines() {
|
|||||||
|
|
||||||
{/* Name and ID */}
|
{/* Name and ID */}
|
||||||
<div className="flex-1 min-w-0">
|
<div className="flex-1 min-w-0">
|
||||||
<div className="font-semibold text-foreground truncate">
|
<div className="font-semibold text-foreground truncate">{vm.name}</div>
|
||||||
{vm.name} ({vm.vmid})
|
<div className="text-[10px] text-muted-foreground">ID: {vm.vmid}</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex items-center gap-3 flex-shrink-0">
|
<div className="flex items-center gap-3 flex-shrink-0">
|
||||||
|
|||||||
Reference in New Issue
Block a user