Add per-VM autostart checkbox (single-select, persisted)

Only one VM can be marked for autostart at a time — checking a new
one unchecks the previous. Matched by host+vmid since the same vmid
can exist on multiple standalone Proxmox hosts in a cluster setup.
This commit is contained in:
2026-07-06 13:43:38 +02:00
parent 5c4e3781fd
commit 7fbac7c18a
5 changed files with 75 additions and 7 deletions
+14
View File
@@ -250,6 +250,20 @@ body.vms-page {
.vm-info { flex: 1; min-width: 0; }
.vm-autostart {
display: flex;
align-items: center;
gap: 0.35rem;
font-size: 0.75rem;
color: var(--muted);
cursor: pointer;
white-space: nowrap;
flex-shrink: 0;
user-select: none;
}
.vm-autostart input { cursor: pointer; }
.vm-name {
font-size: 0.97rem;
font-weight: 600;