summaryrefslogtreecommitdiffstats
path: root/portal/src/main
diff options
context:
space:
mode:
authorlizi <li.zi30@zte.com.cn>2017-10-24 14:15:25 +0800
committerlizi <li.zi30@zte.com.cn>2017-10-24 14:15:25 +0800
commitf84fd12660e6e3d53eeda1e15cd747170c915437 (patch)
tree80f6cd80f93a97947db4ca3ba45fbeed94206886 /portal/src/main
parentb4fbc4cb55dd975dcd6148b3d73b6f02191c43cd (diff)
Change the version input box of register vim.
Change-Id: I8ef95bb1d290ae285270f056fc56cfef13bc6622 Issue-ID: AAI-440 Signed-off-by: lizi <li.zi30@zte.com.cn>
Diffstat (limited to 'portal/src/main')
-rw-r--r--portal/src/main/webapp/extsys/vim/vimView.html14
1 files changed, 11 insertions, 3 deletions
diff --git a/portal/src/main/webapp/extsys/vim/vimView.html b/portal/src/main/webapp/extsys/vim/vimView.html
index 10f1bc4..b0cb326 100644
--- a/portal/src/main/webapp/extsys/vim/vimView.html
+++ b/portal/src/main/webapp/extsys/vim/vimView.html
@@ -88,11 +88,19 @@
<span>Cloud Region Version</span>
<span class="required" aria-required="true">*</span>
</label>
- <div class="col-sm-7">
- <input type="text" ms-duplex="currentElement['cloudRegionVersion']" name="cloudRegionVersion" class="form-control"/>
+ <div class="col-sm-7" ms-if="'openstack' == currentElement.cloudType">
+ <select ms-duplex="currentElement['cloudRegionVersion']">
+ <option value='titanium_cloud'>titanium_cloud</option>
+ <option value='ocata'>ocata</option>
+ </select>
+ <span class="help-block"></span>
+ </div>
+ <div class="col-sm-7" ms-if="'vmware' == currentElement.cloudType">
+ <select ms-duplex="currentElement['cloudRegionVersion']">
+ <option value='4.0'>4.0</option>
+ </select>
<span class="help-block"></span>
</div>
-
</div>
<div class="form-group">
<label class="control-label col-sm-3">