[pve-devel] [PATCH pve-manager 0/8] refactoring and enhancing mobile page

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Sep 23 17:54:38 CEST 2015


This series adds:
* an back button where applicable
* a Datacenter button in the menu, as a quick way to load the entry page
* PVEBar class which reduces code reuse.
* A parent class for the lxc and qemu summary pages, which greatly reduces code reuse

fixes:
* formating, especially in the task list page
* some remainings from OpenVZ times, eg. we had other config values there
* the summary page menus now show commands respective to the current VM/CT status.
* small whitespace and other small fixes

Thomas Lamprecht (8):
  add goBack function
  add Datacenter entry to menu
  add PVEBar class to provide an common menu titlebar
  use new PVEBar instead of TitleBar
  Implement VMSummaryBase class
  use new VMSummaryBase class for lxc and qemu summary
  format cpu load value better
  better formating and UI of task viewer and task list

 www/mobile/Datacenter.js    |  38 +++-----
 www/mobile/LXCSummary.js    | 195 ++------------------------------------
 www/mobile/Makefile         |   2 +
 www/mobile/MenuButton.js    |  14 ++-
 www/mobile/Migrate.js       |  11 +--
 www/mobile/NodeSummary.js   |  22 +----
 www/mobile/PVEBar.js        |  49 ++++++++++
 www/mobile/QemuSummary.js   | 191 ++------------------------------------
 www/mobile/TaskList.js      |  35 +++----
 www/mobile/TaskViewer.js    |  13 +--
 www/mobile/VMSummaryBase.js | 221 ++++++++++++++++++++++++++++++++++++++++++++
 www/mobile/Workspace.js     |  31 ++++---
 12 files changed, 347 insertions(+), 475 deletions(-)
 create mode 100644 www/mobile/PVEBar.js
 create mode 100644 www/mobile/VMSummaryBase.js

-- 
2.1.4



More information about the pve-devel mailing list