[pve-devel] [PATCH] use widget-toolkit in pve-manager

Dominik Csapak d.csapak at proxmox.com
Mon Jan 15 15:17:33 CET 2018


this series contains necessary port from pve-manager for
proxmox widget toolkit
and a v2 of my series to the pve-manager changes

changes to v1:
incorporated feedback from thomas
included button and utils patch

proxmox-widget-toolkit:

Dominik Csapak (15):
  add version as comment to js file
  check earlier if the logview is destroyed
  add the missing explanation of onlineHelp
  pass given defaults in Edit window
  change invalid class
  place space on correct side of colon
  explicit set button focus respecting the 'dangerous' option
  fix var assignments
  ComboGrid: improve setting 'editable' default value
  ComboGrid: open picker also when focusing an editable field
  add all languages from pve
  remove unnecessary formatter
  add task_desc_table and format_task_description from pve
  add proxmoxlib to the clean target
  reintroduce api2request checks for toolkit

 Makefile            |   6 ++-
 Utils.js            | 134 +++++++++++++++++++++++++++++++++++++++++-----------
 button/Button.js    |   6 ++-
 form/ComboGrid.js   |  29 ++++++++++--
 node/ServiceView.js |   2 +-
 node/Tasks.js       |   2 +-
 panel/LogView.js    |   3 +-
 window/Edit.js      |   9 +++-
 8 files changed, 151 insertions(+), 40 deletions(-)

pve-manager:

Dominik Csapak (22):
  add proxmox-widget-toolkit to pve gui
  use ComboGrid from proxmox-widget-toolkit
  use TextField from proxmox-widget-toolkit
  use IntegerField from widget toolkit
  use TimeView and TimeEdit from widget toolkit
  use NetworkView/NetworkEdit from widget toolkit
  use NodeAPT grid from widget toolkit
  remove unused MigrateAll window
  add rrd models
  use RRDChart and RRDStore from widget toolkit
  use JsonObject from widget toolkit
  use UpdateStore from widget toolkit
  change pve-invalid-row class to proxmox-invalid-row
  use Tasks from widget toolkit
  use ServiceView from widget toolkit
  add 'service' parameter to syslog api call
  use DNSView/DNSEdit from widget toolkit
  create some models
  use Proxmox.button.StdRemoveButton where possible
  use Button from widget toolkit
  use Proxmox.Utils instead of PVE.Utils
  remove unneeded SendKeyMenu

 PVE/API2/Nodes.pm                          |  17 +-
 PVE/Service/pveproxy.pm                    |  11 +
 debian/control                             |   1 +
 www/css/ext6-pve.css                       |   2 +-
 www/index.html.tpl                         |   8 +
 www/manager6/Makefile                      |  21 +-
 www/manager6/Toolkit.js                    |  20 +-
 www/manager6/Utils.js                      | 598 ++---------------------------
 www/manager6/Workspace.js                  |  12 +-
 www/manager6/button/Button.js              |  96 -----
 www/manager6/ceph/Config.js                |   2 +-
 www/manager6/ceph/Crush.js                 |   2 +-
 www/manager6/ceph/Monitor.js               |  16 +-
 www/manager6/ceph/OSD.js                   |  16 +-
 www/manager6/ceph/Pool.js                  |  12 +-
 www/manager6/ceph/Status.js                |   4 +-
 www/manager6/data/ObjectStore.js           |   2 +-
 www/manager6/data/PVEProxy.js              |   1 +
 www/manager6/data/RRDStore.js              | 119 ------
 www/manager6/data/ResourceStore.js         |  14 +-
 www/manager6/data/UpdateQueue.js           |  67 ----
 www/manager6/data/UpdateStore.js           |  68 ----
 www/manager6/data/model/RRDModels.js       |  62 +++
 www/manager6/data/reader/JsonObject.js     | 127 ------
 www/manager6/dc/ACLView.js                 |   6 +-
 www/manager6/dc/AuthEdit.js                |  16 +-
 www/manager6/dc/AuthView.js                |  27 +-
 www/manager6/dc/Backup.js                  |  30 +-
 www/manager6/dc/GroupEdit.js               |   2 +-
 www/manager6/dc/GroupView.js               |  27 +-
 www/manager6/dc/Health.js                  |   4 +-
 www/manager6/dc/Log.js                     |   4 +-
 www/manager6/dc/NodeView.js                |   2 +-
 www/manager6/dc/OptionView.js              |  16 +-
 www/manager6/dc/PoolEdit.js                |   2 +-
 www/manager6/dc/PoolView.js                |  27 +-
 www/manager6/dc/RoleView.js                |   2 +-
 www/manager6/dc/SecurityGroups.js          |  38 +-
 www/manager6/dc/StorageView.js             |  29 +-
 www/manager6/dc/Summary.js                 |   2 +-
 www/manager6/dc/Support.js                 |   2 +-
 www/manager6/dc/Tasks.js                   |   8 +-
 www/manager6/dc/UserView.js                |  33 +-
 www/manager6/form/BridgeSelector.js        |   4 +-
 www/manager6/form/CPUModelSelector.js      |   2 +-
 www/manager6/form/CacheTypeSelector.js     |   2 +-
 www/manager6/form/ComboGrid.js             | 353 -----------------
 www/manager6/form/CompressionSelector.js   |   2 +-
 www/manager6/form/ControllerSelector.js    |   3 +-
 www/manager6/form/FileSelector.js          |   4 +-
 www/manager6/form/GlobalSearchField.js     |   2 +-
 www/manager6/form/GroupSelector.js         |   2 +-
 www/manager6/form/GuestIDSelector.js       |   4 +-
 www/manager6/form/IPProtocolSelector.js    |   2 +-
 www/manager6/form/IPRefSelector.js         |   2 +-
 www/manager6/form/IntegerField.js          |   8 -
 www/manager6/form/LanguageSelector.js      |   2 +-
 www/manager6/form/NodeSelector.js          |   2 +-
 www/manager6/form/PoolSelector.js          |   2 +-
 www/manager6/form/RoleSelector.js          |   2 +-
 www/manager6/form/SecurityGroupSelector.js |   2 +-
 www/manager6/form/SnapshotSelector.js      |   2 +-
 www/manager6/form/StorageSelector.js       |   6 +-
 www/manager6/form/TextField.js             |  36 --
 www/manager6/form/USBSelector.js           |   2 +-
 www/manager6/form/UserSelector.js          |   2 +-
 www/manager6/form/VMSelector.js            |   2 +-
 www/manager6/grid/BackupView.js            |  37 +-
 www/manager6/grid/FirewallAliases.js       |  33 +-
 www/manager6/grid/FirewallOptions.js       |   6 +-
 www/manager6/grid/FirewallRules.js         |  56 +--
 www/manager6/grid/ObjectGrid.js            |   2 +-
 www/manager6/grid/PoolMembers.js           |   8 +-
 www/manager6/grid/Replication.js           |  43 +--
 www/manager6/ha/GroupEdit.js               |   2 +-
 www/manager6/ha/GroupSelector.js           |   2 +-
 www/manager6/ha/Groups.js                  |  27 +-
 www/manager6/ha/ResourceEdit.js            |   6 +-
 www/manager6/ha/Resources.js               |  31 +-
 www/manager6/ha/StatusView.js              |   2 +-
 www/manager6/lxc/CmdMenu.js                |  12 +-
 www/manager6/lxc/Config.js                 |  11 +-
 www/manager6/lxc/CreateWizard.js           |   6 +-
 www/manager6/lxc/DNS.js                    |  10 +-
 www/manager6/lxc/MPResize.js               |   2 +-
 www/manager6/lxc/Network.js                |  16 +-
 www/manager6/lxc/Options.js                |  31 +-
 www/manager6/lxc/ResourceEdit.js           |   9 +-
 www/manager6/lxc/Resources.js              |  14 +-
 www/manager6/lxc/Snapshot.js               |   8 +-
 www/manager6/lxc/SnapshotTree.js           |  22 +-
 www/manager6/lxc/Summary.js                |  13 +-
 www/manager6/node/APT.js                   | 210 ----------
 www/manager6/node/Config.js                |  38 +-
 www/manager6/node/DNSEdit.js               |  55 ---
 www/manager6/node/DNSView.js               |  48 ---
 www/manager6/node/Disks.js                 |  20 +-
 www/manager6/node/NetworkEdit.js           | 325 ----------------
 www/manager6/node/NetworkView.js           | 351 -----------------
 www/manager6/node/ServiceView.js           | 164 --------
 www/manager6/node/StatusView.js            |   2 +-
 www/manager6/node/Subscription.js          |   8 +-
 www/manager6/node/Summary.js               |  17 +-
 www/manager6/node/Tasks.js                 | 175 ---------
 www/manager6/node/TimeEdit.js              |  39 --
 www/manager6/node/TimeView.js              |  57 ---
 www/manager6/panel/GuestStatusView.js      |   2 +-
 www/manager6/panel/IPSet.js                |  63 +--
 www/manager6/panel/InputPanel.js           |   2 +-
 www/manager6/panel/LogView.js              |   6 +-
 www/manager6/panel/NotesView.js            |   2 +-
 www/manager6/panel/RRDChart.js             | 187 ---------
 www/manager6/panel/RRDView.js              | 112 ------
 www/manager6/panel/StatusView.js           |   2 +-
 www/manager6/qemu/BootOrderEdit.js         |   2 +-
 www/manager6/qemu/CPUOptions.js            |   7 +-
 www/manager6/qemu/Clone.js                 |   6 +-
 www/manager6/qemu/CmdMenu.js               |  14 +-
 www/manager6/qemu/Config.js                |  17 +-
 www/manager6/qemu/CreateWizard.js          |   2 +-
 www/manager6/qemu/HDMove.js                |   2 +-
 www/manager6/qemu/HDResize.js              |   2 +-
 www/manager6/qemu/HDThrottle.js            |   8 +-
 www/manager6/qemu/HardwareView.js          |  22 +-
 www/manager6/qemu/MemoryEdit.js            |   6 +-
 www/manager6/qemu/Monitor.js               |   2 +-
 www/manager6/qemu/NetworkEdit.js           |   2 +-
 www/manager6/qemu/Options.js               |  22 +-
 www/manager6/qemu/ProcessorEdit.js         |   4 +-
 www/manager6/qemu/QemuBiosEdit.js          |   2 +-
 www/manager6/qemu/SendKeyMenu.js           | 114 ------
 www/manager6/qemu/Snapshot.js              |   8 +-
 www/manager6/qemu/SnapshotTree.js          |  22 +-
 www/manager6/qemu/Summary.js               |  13 +-
 www/manager6/qemu/TemplateMenu.js          |   2 +-
 www/manager6/storage/ContentView.js        |  47 +--
 www/manager6/storage/DirEdit.js            |   2 +-
 www/manager6/storage/GlusterFsEdit.js      |   4 +-
 www/manager6/storage/NFSEdit.js            |   2 +-
 www/manager6/storage/StatusView.js         |   4 +-
 www/manager6/storage/Summary.js            |   7 +-
 www/manager6/window/Backup.js              |   4 +-
 www/manager6/window/BackupConfig.js        |   2 +-
 www/manager6/window/BulkAction.js          |   4 +-
 www/manager6/window/Edit.js                |  10 +-
 www/manager6/window/Migrate.js             |   2 +-
 www/manager6/window/MigrateAll.js          |  85 ----
 www/manager6/window/Restore.js             |   6 +-
 www/manager6/window/SafeDestroy.js         |   8 +-
 www/manager6/window/Settings.js            |   4 +-
 www/manager6/window/TaskViewer.js          |  10 +-
 www/manager6/window/Wizard.js              |   6 +-
 www/mobile/Datacenter.js                   |   4 +-
 www/mobile/NodeSummary.js                  |   6 +-
 www/mobile/TaskList.js                     |   2 +-
 www/mobile/TaskViewer.js                   |   4 +-
 www/mobile/Toolkit.js                      |   2 +-
 www/mobile/VMSummaryBase.js                |   6 +-
 www/mobile/Workspace.js                    |   4 +-
 www/touch/index.html.tpl                   |  12 +-
 160 files changed, 693 insertions(+), 4152 deletions(-)
 delete mode 100644 www/manager6/button/Button.js
 delete mode 100644 www/manager6/data/RRDStore.js
 delete mode 100644 www/manager6/data/UpdateQueue.js
 delete mode 100644 www/manager6/data/UpdateStore.js
 create mode 100644 www/manager6/data/model/RRDModels.js
 delete mode 100644 www/manager6/data/reader/JsonObject.js
 delete mode 100644 www/manager6/form/ComboGrid.js
 delete mode 100644 www/manager6/form/IntegerField.js
 delete mode 100644 www/manager6/form/TextField.js
 delete mode 100644 www/manager6/node/APT.js
 delete mode 100644 www/manager6/node/DNSEdit.js
 delete mode 100644 www/manager6/node/DNSView.js
 delete mode 100644 www/manager6/node/NetworkEdit.js
 delete mode 100644 www/manager6/node/NetworkView.js
 delete mode 100644 www/manager6/node/ServiceView.js
 delete mode 100644 www/manager6/node/Tasks.js
 delete mode 100644 www/manager6/node/TimeEdit.js
 delete mode 100644 www/manager6/node/TimeView.js
 delete mode 100644 www/manager6/panel/RRDChart.js
 delete mode 100644 www/manager6/panel/RRDView.js
 delete mode 100644 www/manager6/qemu/SendKeyMenu.js
 delete mode 100644 www/manager6/window/MigrateAll.js
-- 
2.11.0





More information about the pve-devel mailing list