]> git.proxmox.com Git - pve-manager.git/commit
ui: backup job: correctly align descriptions with fields in advanced options
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 22 Apr 2024 08:16:46 +0000 (10:16 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 Apr 2024 09:27:17 +0000 (11:27 +0200)
commit9486317cbdcbb4eb17b91cc04dc28f591f885150
treee199e7da2c1df9238413b66f78d664b830610666
parent9540e48c0fae5356c3eebabf30f2a708d8d7c939
ui: backup job: correctly align descriptions with fields in advanced options

Merges the column1/2/B into just single items so that the vertical
alignment is still correct even if a description wraps over multiple
lines.

Use the new pveTwoColumnContainer to achieve this without extra
boilerplate code and use a 1/3 of the width for the field and the 2/3
rest for the description.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
 [ TL: adapt to changes in prev. commit, reword message, fix eslint ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/panel/BackupAdvancedOptions.js