[pve-devel] [PATCH manager 0/3] ui: refactor storage plugins add/create
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Mar 26 08:18:21 CEST 2018
This is the PATCH version of the former RFC (3/3), which, as Dominik was
off work did not get many comments, but anyway I took of some rough
edges and it should be in a more submit-able state now.
See this series 3/3 for more details and a possible blocker (ES6 arrow
function use).
cheers,
Thomas Lamprecht (3):
ui/Utils: do not create non-standard console.dir fallback
ui/Utils: add storage schema
ui: add storage plugin base class
www/manager6/Makefile | 1 +
www/manager6/Utils.js | 112 ++++++++++++++------
www/manager6/dc/StorageView.js | 192 +++++++---------------------------
www/manager6/storage/Base.js | 105 +++++++++++++++++++
www/manager6/storage/CIFSEdit.js | 89 +---------------
www/manager6/storage/DirEdit.js | 94 +----------------
www/manager6/storage/GlusterFsEdit.js | 90 +---------------
www/manager6/storage/IScsiEdit.js | 92 ++--------------
www/manager6/storage/LVMEdit.js | 93 +---------------
www/manager6/storage/LvmThinEdit.js | 96 +----------------
www/manager6/storage/NFSEdit.js | 82 +--------------
www/manager6/storage/RBDEdit.js | 99 ++----------------
www/manager6/storage/SheepdogEdit.js | 87 +--------------
www/manager6/storage/ZFSEdit.js | 87 ++-------------
www/manager6/storage/ZFSPoolEdit.js | 95 +----------------
15 files changed, 258 insertions(+), 1156 deletions(-)
create mode 100644 www/manager6/storage/Base.js
--
2.14.2
More information about the pve-devel
mailing list