diff options
author | c00149107 <chenchuanyu@huawei.com> | 2017-04-19 16:37:02 +0800 |
---|---|---|
committer | c00149107 <chenchuanyu@huawei.com> | 2017-04-19 16:37:02 +0800 |
commit | c42bd171e111f4cbb122b21a6075c4d4e638c170 (patch) | |
tree | c66139e31fae4b82310ce7c5691c5ae63cb3dc67 /lifecyclemgr | |
parent | 9671e1758ba94acbe501e6eafd62f071bd0bec62 (diff) |
Show parameter tab when no sdncontroller
Show parameter tab when no sdncontroller
Change-Id: I167cb818b6abc464f3e0ad5fdf5fc5d38587ef89
Issue-ID:CLIENT-194
Signed-off-by: c00149107 <chenchuanyu@huawei.com>
Diffstat (limited to 'lifecyclemgr')
-rw-r--r-- | lifecyclemgr/src/main/webapp/lifecyclemgr/js/DataService.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lifecyclemgr/src/main/webapp/lifecyclemgr/js/DataService.js b/lifecyclemgr/src/main/webapp/lifecyclemgr/js/DataService.js index e5b7c8cc..f2ff5483 100644 --- a/lifecyclemgr/src/main/webapp/lifecyclemgr/js/DataService.js +++ b/lifecyclemgr/src/main/webapp/lifecyclemgr/js/DataService.js @@ -393,7 +393,7 @@ function generateParamComponent(nodeType, identify, param, strReadOnly) { var name = getParamLabel(nodeType, param);
var id = getParamId(identify,param);
var component = '';
- if (param.type === 'string') {
+ if (param.type != 'enum') {
component = '<div class="mT15 form-group row-content" style="margin-left:0px;">'
+ '<label class="col-sm-6 control-label labelstyle">'
+ '<span>' + name + '</span>' + generateRequiredLabel(param)
@@ -411,7 +411,7 @@ function generateParamComponent(nodeType, identify, param, strReadOnly) { component = '<div class="form-group row-content" style="margin-left:0px;margin-bottom:5px;">'
+ '<label class="col-sm-6 control-label labelstyle">'
+ '<span>' + name + '</span>'
- + '<span class="required">*</span>'
+ + generateRequiredLabel(param)
+ '</label>'
+ '<div class="col-sm-6">'
+ '<select class="form-control" style ="padding-top: 0px;padding-bottom: 0px;"'
|