mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-11-18 11:36:17 +00:00
Update virtual-machines.tsx
This commit is contained in:
@@ -521,6 +521,13 @@ export function VirtualMachines() {
|
|||||||
</Badge>
|
</Badge>
|
||||||
<span className="font-semibold text-foreground">{vm.name}</span>
|
<span className="font-semibold text-foreground">{vm.name}</span>
|
||||||
<span className="text-sm text-muted-foreground">ID: {vm.vmid}</span>
|
<span className="text-sm text-muted-foreground">ID: {vm.vmid}</span>
|
||||||
|
{lxcIP && (
|
||||||
|
<span
|
||||||
|
className={`text-sm hidden sm:inline ${lxcIP === "DHCP" ? "text-yellow-500" : "text-green-500"}`}
|
||||||
|
>
|
||||||
|
IP: {lxcIP}
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
<span className="text-sm text-muted-foreground ml-auto hidden sm:inline">
|
<span className="text-sm text-muted-foreground ml-auto hidden sm:inline">
|
||||||
Uptime: {formatUptime(vm.uptime)}
|
Uptime: {formatUptime(vm.uptime)}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user