[pve-devel] [PATCH manager 0/3] improve SnapshotTree and Window

Dominik Csapak d.csapak at proxmox.com
Thu Jan 30 16:58:50 CET 2020


series improves the SnapshotTree and window,
by removing duplicated code between qemu/lxc,
and also reusing the edit window for the snapshot window

this also fixes #2572 Guest snapshots not visible with VM.Audit

Dominik Csapak (3):
  gui: refactor snapshot window
  gui: refator SnapshotTree
  fix #2572: gui: make snapshot panel visible for VM.Audit

 www/manager6/Makefile             |   6 +-
 www/manager6/lxc/Config.js        |   6 +-
 www/manager6/lxc/Snapshot.js      | 206 -----------------
 www/manager6/lxc/SnapshotTree.js  | 326 ---------------------------
 www/manager6/qemu/Config.js       |   6 +-
 www/manager6/qemu/Snapshot.js     | 215 ------------------
 www/manager6/qemu/SnapshotTree.js | 316 --------------------------
 www/manager6/tree/SnapshotTree.js | 361 ++++++++++++++++++++++++++++++
 www/manager6/window/Snapshot.js   | 131 +++++++++++
 9 files changed, 502 insertions(+), 1071 deletions(-)
 delete mode 100644 www/manager6/lxc/Snapshot.js
 delete mode 100644 www/manager6/lxc/SnapshotTree.js
 delete mode 100644 www/manager6/qemu/Snapshot.js
 delete mode 100644 www/manager6/qemu/SnapshotTree.js
 create mode 100644 www/manager6/tree/SnapshotTree.js
 create mode 100644 www/manager6/window/Snapshot.js

-- 
2.20.1





More information about the pve-devel mailing list