CLIENT GUI Framework
[vnfsdk/refrepo.git] / portal-lifecyclemgr / src / main / webapp / lifecyclemgr / InputData.html
1 <!-- /* Copyright 2016-2017, Huawei Technologies Co., Ltd.\r
2  *\r
3  * Licensed under the Apache License, Version 2.0 (the "License");\r
4  * you may not use this file except in compliance with the License.\r
5  * You may obtain a copy of the License at\r
6  *\r
7  *       http://www.apache.org/licenses/LICENSE-2.0\r
8  *\r
9  * Unless required by applicable law or agreed to in writing, software\r
10  * distributed under the License is distributed on an "AS IS" BASIS,\r
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
12  * See the License for the specific language governing permissions and\r
13  * limitations under the License.\r
14  */\r
15  -->\r
16 \r
17 <!DOCTYPE html>\r
18 <html>\r
19 \r
20 <head>\r
21 \r
22     <head lang="en">\r
23         <meta charset="UTF-8">\r
24         <title></title>\r
25         <link href="css/bootstrap.min.css" rel="stylesheet"/>\r
26         <link href="css/VMMain.css" rel="stylesheet"/>\r
27         <link href="css/bootstrap-table.min.css" rel="stylesheet"/>\r
28 \r
29         <script type="text/javascript" src="js/jquery-1.11.2.min.js"></script>\r
30         <script type="text/javascript" src="../common/thirdparty/jquery.i18n/jquery.i18n.properties-1.0.9.js"></script>\r
31         <script type="text/javascript" src="js/bootstrap.min.js"></script>\r
32         <script type="text/javascript" src="js/rest.js"></script>\r
33         <script type="text/javascript" src="js/gsolcm.js"></script>\r
34         <script type="text/javascript" src="js/bootstrap-table.min.js"></script>\r
35        <script>\r
36             $(document).ready(function () {\r
37                 new lcmHandler();\r
38                 $('[data-toggle="tooltip"]').tooltip();\r
39 \r
40                 var params = new URLSearchParams(window.location.search.slice(1));\r
41 \r
42                 var jsonData = JSON.parse((params.get("json")));\r
43                 if (jsonData != null) {\r
44                     document.getElementById("parametersDetail").innerHTML = convertInputsToUI('', 'show', jsonData.inputParameters);\r
45                 }\r
46 \r
47             });\r
48         </script>\r
49 \r
50         <style>\r
51             html, body {\r
52                 width: 99%;/*800px;*/\r
53             }\r
54         </style>\r
55     </head>\r
56 \r
57 <body>\r
58 <form class="form-horizontal" role="form">\r
59 <div id="parametersDetail"></div>\r
60 </form>\r
61 </body>\r
62 \r
63 </html>