GSO-75
authorSeshu-Kumar-M <seshu.kumar.m@huawei.com>
Mon, 31 Oct 2016 06:20:13 +0000 (14:20 +0800)
committerSeshu-Kumar-M <seshu.kumar.m@huawei.com>
Mon, 31 Oct 2016 06:22:09 +0000 (14:22 +0800)
GSO-76

Change-Id: I2f919d14da304e0b14546d83e0e6e61f2859cf68
Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/gsolcmmain.html

index 7fbc77d..8b5677e 100644 (file)
@@ -15,6 +15,7 @@
     limitations under the License.\r
 \r
 -->\r
+\r
 <!DOCTYPE html>\r
 <html lang="en">\r
 <head>\r
     <script type="text/javascript" src="js/bootstrap-table-filter-control.min.js"></script>\r
     <script type="text/javascript">\r
         $(document).ready(function () {\r
-            /*    $('.modal-content').resizable({\r
-   \r
-                minHeight: 300,\r
-                minWidth: 300\r
-            });*/\r
+\r
             $('.modal-dialog').draggable();\r
             $("#detailCont").show();\r
             var jsondata = loadGetServiceData();\r
+                       \r
+                       $.each(jsondata,function(k,v){\r
+                        jsondata[k].createTime=  new Date(jsondata[key].createTime).toUTCString();\r
+                       });\r
+                       \r
             $('#sai').bootstrapTable({\r
                 //Assigning data to table\r
                 data: jsondata\r
@@ -68,8 +70,8 @@
 \r
                 //loadIframe("topoFrame", "chartTopo.html?serviceId="+row.serviceId);\r
                 document.getElementById("topoCont").setAttribute('data', 'chartTopo.html?serviceId='+row.serviceId);\r
-                               document.getElementById('inputcontent').setAttribute('data', 'inputData.html?json='+ JSON.stringify(row));\r
-                document.getElementById('inputcontentDlg').setAttribute('data', 'inputData.html?json='+ JSON.stringify(row));\r
+                               document.getElementById('inputcontent').setAttribute('data', 'InputData.html?json='+ JSON.stringify(row));\r
+                document.getElementById('inputcontentDlg').setAttribute('data', 'InputData.html?json='+ JSON.stringify(row));\r
                });\r
             new lcmHandler();\r
         });\r
                                 </iframe>-->\r
                             </div>\r
                             <div id="inpContMod" style="display:none;">\r
-                                <object id="inputcontentDlg" data="inputData.html" width="100%" height="300"\r
+                                <object id="inputcontentDlg" data="InputData.html" width="100%" height="300"\r
                                         type="text/html">\r
 \r
                                 </object>\r
-                                <!--<iframe src="inputData.html" name="" style="width:100%" allowTransparency="true" scrolling="no" frameborder="0">\r
+                                <!--<iframe src="InputData.html" name="" style="width:100%" allowTransparency="true" scrolling="no" frameborder="0">\r
                                 </iframe>\r
                                 </iframe>-->\r
                             </div>\r
                 </object>\r
             </div>\r
             <div id="inpCont" style="display:none;">\r
-                <object id="inputcontent" src="inputData.html" width="100%" height="300" type="text/html">\r
+                <object id="inputcontent" src="InputData.html" width="100%" height="300" type="text/html">\r
                 </object>\r
             </div>\r
         </div>\r