Implemented download remote image feature.
v1 -> v2:
2a) Disabled add volume for inactive and iscsi/scsi pools
(Aline's comment)
2b) Removed progress bar after upload/download finished
(Aline & Cristian's comment)
2c) Changed the button label to "Add" from "OK"
(Cristian's comment)
2d) Made add volume button behave correctly (enabled/disabled)
(Cristian's comment)
2e) Removed some code redundent
(Aline & Cristian's comment)
Hongliang Wang (4):
Storage Pool Add Volume UI: Add APIs to kimchi.api.js
Storage Pool Add Volume UI: Add i18n Strings
Storage Pool Add Volume UI: Implement Download/Upload Volume Function
Storage Pool Add Volume UI: Connect the Feature in Storage Tab
ui/css/theme-default/storage.css | 31 ++-
ui/css/theme-default/storagepool-add-volume.css | 36 ++++
ui/js/src/kimchi.api.js | 37 ++++
ui/js/src/kimchi.storage_main.js | 116 ++++++++++-
ui/js/src/kimchi.storagepool_add_volume_main.js | 243 ++++++++++++++++++++++++
ui/pages/i18n.json.tmpl | 4 +
ui/pages/storagepool-add-volume.html.tmpl | 80 ++++++++
ui/pages/tabs/storage.html.tmpl | 12 +-
8 files changed, 549 insertions(+), 10 deletions(-)
create mode 100644 ui/css/theme-default/storagepool-add-volume.css
create mode 100644 ui/js/src/kimchi.storagepool_add_volume_main.js
create mode 100644 ui/pages/storagepool-add-volume.html.tmpl
--
1.8.1.4