rebuild GUI structure(only changed modules' name)
[vnfsdk/refrepo.git] / extsys / src / main / webapp / extsys / vim / vimChart.html
1 <!DOCTYPE html>
2 <!--
3
4     Copyright 2016-2017 ZTE Corporation.
5
6     Licensed under the Apache License, Version 2.0 (the "License");
7     you may not use this file except in compliance with the License.
8     You may obtain a copy of the License at
9
10             http://www.apache.org/licenses/LICENSE-2.0
11
12     Unless required by applicable law or agreed to in writing, software
13     distributed under the License is distributed on an "AS IS" BASIS,
14     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15     See the License for the specific language governing permissions and
16     limitations under the License.
17
18 -->
19 <html>
20 <head lang="en">
21     <meta charset="UTF-8">
22     <title></title>
23     <link href="../../common/thirdparty/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
24     <link href="../../common/thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
25     <link href="../../common/css/ngict-component.css" rel="stylesheet" type="text/css">
26     <link href="../../common/css/ZteIctIcons/style.css" rel="stylesheet" type="text/css">
27     <link href="../../common/thirdparty/animate/animate.min.css" rel="stylesheet" type="text/css"/>
28     <link href="css/vimChart.css" rel="stylesheet" type="text/css"/>
29     <style>
30         .ms-controller {
31             visibility: hidden
32         }
33     </style>
34     <script>
35         var id, name, tenant;
36         if (window.location.search && window.location.search.length > 1) {
37             var arr = window.location.search.split("&");
38             id = arr[0].replace("?", "");
39             name = arr[1];
40             tenant = arr[2];
41         }
42     </script>
43 </head>
44 <body>
45 <div class="ms-controller" ms-controller="vimChartController">
46     <div class="container-fluid">
47
48         <div class="row" style=" margin-top: 15px;">
49             <div class="col-xs-6 col-md-6 col-sm-6 col-lg-6 titlefont">
50                 {{vimInfo.name}}<span id_i18n="com_zte_ums_eco_roc_vim_resource_use"
51                                       name_i18n="com_zte_conductor_ui_i18n"></span>
52             </div>
53             <div class="pull-right">
54                 <a href="#" ms-click="gotoVimPage()" id_i18n="com_zte_ums_eco_roc_vim_resource_chart_return"
55                    name_i18n="com_zte_conductor_ui_i18n"></a>
56
57             </div>
58         </div>
59         <div class="separator-line"></div>
60
61         <div class="row row-fluid">
62
63             <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 " ms-if="vimInfo.isAdmin==true">
64
65                 <div class="form-body">
66                     <div class="form-title">
67                         <span id_i18n="com_zte_ums_eco_roc_vim_resource_vim_use"
68                               name_i18n="com_zte_conductor_ui_i18n"></span>
69                     </div>
70                     <div id="vimPieChartDiv" style="width:100%;height:200px" class="main"></div>
71
72                 </div>
73             </div>
74
75
76             <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 ">
77                 <div class="form-body">
78                     <div class="form-title">
79                         {{vimInfo.tenant}}<span id_i18n="com_zte_ums_eco_roc_vim_resource_tenant_use"
80                                                 name_i18n="com_zte_conductor_ui_i18n"></span>
81                         <div class="pull-right">
82                             <select class="form-control m-b" ms-if="vimInfo.isAdmin==true"
83                                     ms-each="tenantSelectList.selectItems" ms-duplex="vimInfo.tenant"
84                                     ms-change="tenantChartLoad()">
85                                 <option ms-attr-value='el.name'>{{el.name}}</option>
86                             </select>
87
88
89                         </div>
90                     </div>
91
92                     <div id="tenantPieChartDiv" style="width:100%;height:400px" class="main"></div>
93
94                 </div>
95
96             </div>
97
98         </div>
99
100     </div>
101
102
103 </div>
104
105 <script type="text/javascript" src="../../common/thirdparty/jquery/jquery-1.10.2.min.js"></script>
106 <script type="text/javascript" src="../../common/js/tools.js"></script>
107 <script type="text/javascript" src="../../common/thirdparty/jquery.i18n/jquery.i18n.properties-1.0.9.js"></script>
108 <script type="text/javascript" src="../../common/thirdparty/bootstrap/js/bootstrap.min.js"></script>
109 <script src="../../common/thirdparty/bootstrap-growl/bootstrap-growl.min.js"></script>
110 <script type="text/javascript" src="./i18n/loadi18nApp.js"></script>
111 <script src="../../common/thirdparty/echarts/echarts-all.js"></script>
112 <script type="text/javascript" src="../../common/thirdparty/bootbox/bootbox.min.js"></script>
113 <script src="../../common/thirdparty/avalon/avalon.js"></script>
114 <script type="text/javascript" src="js/vimChart.js"></script>
115 <script type="text/javascript" src="js/vimChartController.js"></script>
116 <script type="text/javascript" src="../../common/js/core/hk.min.js"></script>
117 </body>
118 </html>