From 305f0c86015a4443fb75197022d4f6d9c16a11d4 Mon Sep 17 00:00:00 2001 From: lizi Date: Fri, 13 Oct 2017 17:28:46 +0800 Subject: Add default tenant as input of VIM. Add default tenant as input of VIM. Zoom out the input box of extra info. Change-Id: Ib43be6fe985e346435fface6811009e74ffcc1a7 Issue-ID: AAI-435 Signed-off-by: lizi --- .../src/main/webapp/extsys/vim/js/vimController.js | 4 ++- portal/src/main/webapp/extsys/vim/vimView.html | 30 ++++++++++++++-------- 2 files changed, 23 insertions(+), 11 deletions(-) diff --git a/portal/src/main/webapp/extsys/vim/js/vimController.js b/portal/src/main/webapp/extsys/vim/js/vimController.js index e9fd644..ead5c2a 100644 --- a/portal/src/main/webapp/extsys/vim/js/vimController.js +++ b/portal/src/main/webapp/extsys/vim/js/vimController.js @@ -40,7 +40,8 @@ var vm = avalon "authUrl": "", "sslCacert": "", "sslInsecure": "false", - "cloudDomain": "" + "cloudDomain": "", + "defaultTenant": "" } ] }, @@ -233,6 +234,7 @@ var vm = avalon targetElement["vimAuthInfos"][0]["sslCacert"] = sourceElement["vimAuthInfos"][0]["sslCacert"]; targetElement["vimAuthInfos"][0]["sslInsecure"] = sourceElement["vimAuthInfos"][0]["sslInsecure"]; targetElement["vimAuthInfos"][0]["cloudDomain"] = sourceElement["vimAuthInfos"][0]["cloudDomain"]; + targetElement["vimAuthInfos"][0]["defaultTenant"] = sourceElement["vimAuthInfos"][0]["defaultTenant"]; }, getVIMSave: function () { var vimSave = $.extend(true, {}, vm.currentElement.$model); diff --git a/portal/src/main/webapp/extsys/vim/vimView.html b/portal/src/main/webapp/extsys/vim/vimView.html index c75cdee..12dfc7d 100644 --- a/portal/src/main/webapp/extsys/vim/vimView.html +++ b/portal/src/main/webapp/extsys/vim/vimView.html @@ -124,16 +124,7 @@ -
- -
- - -
-
+
+
+ +
+ + +
+
+
+ +
+ + +
+
-- cgit 1.2.3-korg