[pve-devel] [PATCH widget-toolkit/manager] refactor realm ui

Dominik Csapak d.csapak at proxmox.com
Fri Jul 9 13:42:20 CEST 2021


refactor the parts of the realm ui that we need for pbs now into
widget-toolkit

manager patches depend on widget toolkit, but can be applied later too
if thats wanted. there is no functional change intended

proxmox-widget-toolkit:

Dominik Csapak (4):
  add window/AuthEditBase from PVE
  Utils: add authSchema from PVE and make it overrideable
  add panel/AuthView from PVE
  add generic OpenIDInputPanel

 src/Makefile                 |   3 +
 src/Utils.js                 |  25 +++++++
 src/panel/AuthView.js        | 125 +++++++++++++++++++++++++++++++++++
 src/window/AuthEditBase.js   |  88 ++++++++++++++++++++++++
 src/window/AuthEditOpenId.js |  96 +++++++++++++++++++++++++++
 5 files changed, 337 insertions(+)
 create mode 100644 src/panel/AuthView.js
 create mode 100644 src/window/AuthEditBase.js
 create mode 100644 src/window/AuthEditOpenId.js

pve-manager:

Dominik Csapak (2):
  ui: use AuthView and authSchema from widget-toolkit
  ui: remove PVE.dc.AuthEditBase window

 www/manager6/Utils.js           |  85 +++++++++++----------
 www/manager6/Workspace.js       |   2 +-
 www/manager6/dc/AuthEditBase.js |  93 +----------------------
 www/manager6/dc/AuthView.js     | 126 ++++++--------------------------
 www/manager6/dc/UserView.js     |   8 +-
 5 files changed, 72 insertions(+), 242 deletions(-)

-- 
2.30.2






More information about the pve-devel mailing list