aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuji7 <lu.ji3@zte.com.cn>2016-09-29 18:46:30 +0800
committerLuji7 <lu.ji3@zte.com.cn>2016-09-29 18:46:30 +0800
commitd97d5dcabe0be3e3959bc452efceb22d2ca08ef2 (patch)
treebc9d7c6cb2a9177f79ab59f17c895b0e5f01d143
parentcce126789f4b61a074fc1467dfb5cebb39f2d460 (diff)
Changes for the new portal LCM pages.
Change-Id: Ied4aa6034fd08485c04de8011e3ac52d9cdd9148 Signed-off-by: Luji7 <lu.ji3@zte.com.cn>
-rw-r--r--openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/gsolcmmain.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/gsolcmmain.html b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/gsolcmmain.html
index b373f3ae..b4642457 100644
--- a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/gsolcmmain.html
+++ b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/gsolcmmain.html
@@ -96,10 +96,17 @@
function hideBasic() {
$("#basicInfoTab").hide();
+ initParameterTab();
+ $("#templateParameterTab").show();
}
function showBasic() {
$("#basicInfoTab").show();
+ $("#templateParameterTab").hide();
+ }
+
+ function serviceTemplateChanged() {
+ templateParameters.changed = true;
}
function showTopoCont() {
@@ -497,7 +504,7 @@
</label>
<div class="col-sm-7">
<select class="form-control" style="padding-top: 0px;padding-bottom: 0px;"
- id="svcTempl" name="svcTempl">
+ id="svcTempl" name="svcTempl" onchange="serviceTemplateChanged();">
<option value="select">--select--</option>
<option value="1.1">1.1</option>
<option value="1.2">1.2</option>
@@ -506,6 +513,10 @@
</div>
</div>
+ <div id="templateParameterTab">
+
+ </div>
+
</div>
<div class="modal-footer">
<button type="button" style="width:80px;" class="btn SDBtn" data-dismiss="modal"