From efb4f088f14aee394599bea21973f82f1867c4fe Mon Sep 17 00:00:00 2001 From: chenjiankun Date: Fri, 11 Aug 2017 09:26:22 +0000 Subject: Add function to upload image from local/url in GUI JIRA: YARDSTICK-782 As user, we need to upload image from local/url. If upload image from local, user need to choose local image, then we will load it to openstack. If upload image from url, we will download it and load it to openstack. Change-Id: Ia9a42fda15a1dfc91476643635343a2f77a94a6b Signed-off-by: chenjiankun --- gui/app/views/uploadImage.html | 82 ++++++++++++++++++++++++++++-------------- 1 file changed, 56 insertions(+), 26 deletions(-) (limited to 'gui/app/views/uploadImage.html') diff --git a/gui/app/views/uploadImage.html b/gui/app/views/uploadImage.html index 17ccfdb8b..0c337feeb 100644 --- a/gui/app/views/uploadImage.html +++ b/gui/app/views/uploadImage.html @@ -4,56 +4,86 @@
-

{{baseElementInfo.name}} -- Image +

{{environmentInfo.name}} -- Image

-
- - - - -
-

Current Images

- +

Alternative Images

+ + - + - + + - + - - -
namedescription size status timeaction
{{image.name}}{{image.size/1024}} MB{{image.description}}{{image.size | number:2}} MB {{image.status}} {{image.time}} +
+ + +
+
+
+

Custom Images

+
+ + +
+
+ - - - - - - + + + + + + + + + + + + + + + + +
namedescriptionsizestatustimeaction
{{image.name}}{{image.description}}{{image.size | number:2}} MB{{image.status}}{{image.time}} +
+ + +
+
+
- -
-- cgit 1.2.3-korg