summaryrefslogtreecommitdiffstats
path: root/esr/src/main/webapp/extsys/vim/vimChart.html
blob: c6fe52239b9d16bbbb896b5df84926ae6b52e4c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<!--

    Copyright 2016-2017 ZTE Corporation.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

            http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

-->
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <link href="../../thirdparty/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
    <link href="../../thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <link href="../../thirdparty/css/ngict-component.css" rel="stylesheet" type="text/css">
    <link href="../../thirdparty/css/ZteIctIcons/style.css" rel="stylesheet" type="text/css">
    <link href="../../thirdparty/animate/animate.min.css" rel="stylesheet" type="text/css"/>
    <link href="css/vimChart.css" rel="stylesheet" type="text/css"/>
    <style>
        .ms-controller {
            visibility: hidden
        }
    </style>
    <script>
        var id, name, tenant;
        if (window.location.search && window.location.search.length > 1) {
            var arr = window.location.search.split("&");
            id = arr[0].replace("?", "");
            name = arr[1];
            tenant = arr[2];
        }
    </script>
</head>
<body>
<div class="ms-controller" ms-controller="vimChartController">
    <div class="container-fluid">

        <div class="row" style=" margin-top: 15px;">
            <div class="col-xs-6 col-md-6 col-sm-6 col-lg-6 titlefont">
                {{vimInfo.name}}<span id_i18n="com_zte_ums_eco_roc_vim_resource_use"
                                      name_i18n="com_zte_conductor_ui_i18n"></span>
            </div>
            <div class="pull-right">
                <a href="#" ms-click="gotoVimPage()" id_i18n="com_zte_ums_eco_roc_vim_resource_chart_return"
                   name_i18n="com_zte_conductor_ui_i18n"></a>

            </div>
        </div>
        <div class="separator-line"></div>

        <div class="row row-fluid">

            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 " ms-if="vimInfo.isAdmin==true">

                <div class="form-body">
                    <div class="form-title">
                        <span id_i18n="com_zte_ums_eco_roc_vim_resource_vim_use"
                              name_i18n="com_zte_conductor_ui_i18n"></span>
                    </div>
                    <div id="vimPieChartDiv" style="width:100%;height:200px" class="main"></div>

                </div>
            </div>


            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 ">
                <div class="form-body">
                    <div class="form-title">
                        {{vimInfo.tenant}}<span id_i18n="com_zte_ums_eco_roc_vim_resource_tenant_use"
                                                name_i18n="com_zte_conductor_ui_i18n"></span>
                        <div class="pull-right">
                            <select class="form-control m-b" ms-if="vimInfo.isAdmin==true"
                                    ms-each="tenantSelectList.selectItems" ms-duplex="vimInfo.tenant"
                                    ms-change="tenantChartLoad()">
                                <option ms-attr-value='el.name'>{{el.name}}</option>
                            </select>


                        </div>
                    </div>

                    <div id="tenantPieChartDiv" style="width:100%;height:400px" class="main"></div>

                </div>

            </div>

        </div>

    </div>


</div>

<script type="text/javascript" src="../../thirdparty/jquery/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="../../thirdparty/js/tools.js"></script>
<script type="text/javascript" src="../../thirdparty/jquery.i18n/jquery.i18n.properties-1.0.9.js"></script>
<script type="text/javascript" src="../../thirdparty/bootstrap/js/bootstrap.min.js"></script>
<script src="../../thirdparty/bootstrap-growl/bootstrap-growl.min.js"></script>
<script type="text/javascript" src="./i18n/loadi18nApp.js"></script>
<script src="../../thirdparty/echarts/echarts-all.js"></script>
<script type="text/javascript" src="../../thirdparty/bootbox/bootbox.min.js"></script>
<script src="../../thirdparty/avalon/avalon.js"></script>
<script type="text/javascript" src="js/vimChart.js"></script>
<script type="text/javascript" src="js/vimChartController.js"></script>
<script type="text/javascript" src="../../thirdparty/js/core/hk.min.js"></script>
</body>
</html>