[pdm-devel] [PATCH datacenter-manager] ui: add download button for system report

Lukas Wagner l.wagner at proxmox.com
Tue Dec 16 14:50:32 CET 2025


On Wed Dec 10, 2025 at 2:59 PM CET, Dominik Csapak wrote:
> by simply setting the 'href' of an 'a' tag to be the report as inline
> data, like we do on PVE/PBS with a slight difference:
>
> in PVE/PBS we create an 'a' tag dynamically on button click, but here we
> create the a tag when we have the data and wrap a button without click
> handler, so the click on the button triggers the download of the 'a'
> tag.
>
> Refactor the `get_nodename` function to another place where we can
> access it from here.
>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>

Looks good to me and works as expected.

Reviewed-by: Lukas Wagner <l.wagner at proxmox.com>
Tested-by: Lukas Wagner <l.wagner at proxmox.com>




More information about the pdm-devel mailing list