[pve-devel] [PATCH-SERIES widget-toolkit/manager] Add checkbox for removing unreferenced disks on guest removal

Fabian Ebner f.ebner at proxmox.com
Mon Apr 19 15:14:34 CEST 2021


by allowing generic additional items for the SafeDestroy window in
widget-toolkit and deriving a SafeDestroyGuest child class from it.

Also switch over the other SafeDestroy users in PVE.


proxmox-widget-toolkit:

Fabian Ebner (2):
  safe destroy: remove purge checkbox
  safe destroy: allow specifing additional items

 src/window/SafeDestroy.js | 127 +++++++++++++++++---------------------
 1 file changed, 55 insertions(+), 72 deletions(-)


pve-manager:

Fabian Ebner (5):
  ui: add SafeDestroyGuest window
  ui: use new SafeDestroyGuest window
  ui: safe destroy guest: add checkbox for removal of unreferenced disks
  ui: use safe destroy window from proxmox-widget-toolkit
  ui: remove SafeDestroy window

 www/manager6/Makefile                   |   2 +-
 www/manager6/ceph/Pool.js               |   3 +-
 www/manager6/lxc/Config.js              |   3 +-
 www/manager6/qemu/Config.js             |   3 +-
 www/manager6/storage/ImageView.js       |   3 +-
 www/manager6/window/SafeDestroy.js      | 194 ------------------------
 www/manager6/window/SafeDestroyGuest.js |  44 ++++++
 7 files changed, 53 insertions(+), 199 deletions(-)
 delete mode 100644 www/manager6/window/SafeDestroy.js
 create mode 100644 www/manager6/window/SafeDestroyGuest.js

-- 
2.20.1





More information about the pve-devel mailing list