[Kimchi-devel] [PATCH v2 0/4] Implement and use jQuery circleGauge on guests tab

Adam King rak at linux.vnet.ibm.com
Fri Feb 21 01:59:31 UTC 2014


This patch set improves the guest tab implementation by:
    Implementing the circle gauge as a fully reusable jQuery widget
    Using DOM updates to update the guests tab rather than string manipulation
    Improving the usability of the guest livetile

Adam King (4):
  Update the guest.html.tmpl to use the new circleGauge widget
  Update (mock)model to generate proper JSON
  Create a reusable jQuery circleGauge widget
  Change guests tab to update the VM List by DOM manipulation

 src/kimchi/mockmodel.py              |  11 +-
 src/kimchi/model/vms.py              |   2 +-
 tests/test_mockmodel.py              |   2 +-
 tests/test_model.py                  |   2 +-
 ui/css/theme-default/circle.css      |  26 ---
 ui/css/theme-default/circleGauge.css |  26 +++
 ui/css/theme-default/list.css        |  29 ++-
 ui/js/src/kimchi.circle.js           |  88 ---------
 ui/js/src/kimchi.guest_main.js       | 366 +++++++++++++++++++----------------
 ui/js/widgets/circleGauge.js         | 104 ++++++++++
 ui/pages/guest.html.tmpl             |  41 ++--
 ui/pages/tabs/guests.html.tmpl       |   2 +-
 12 files changed, 393 insertions(+), 306 deletions(-)
 delete mode 100644 ui/css/theme-default/circle.css
 create mode 100644 ui/css/theme-default/circleGauge.css
 delete mode 100644 ui/js/src/kimchi.circle.js
 create mode 100644 ui/js/widgets/circleGauge.js

-- 
1.8.1.4




More information about the Kimchi-devel mailing list