GUI Code refactor
[vnfsdk/refrepo.git] / openo-portal / portal-monitor / src / main / webapp / monitor / monitorSettingList.html
index ec8dbfe..2026b5e 100644 (file)
-<!--
-    Copyright 2016, CMCC Technologies Co., Ltd.
-
-    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.
--->
-<!DOCTYPE html>
-<html>
-<head lang="en">
-<meta charset="UTF-8">
-       <link rel="stylesheet" type="text/css" href="/openoui/common/thirdparty/font-awesome/css/font-awesome.min.css"/>
-       <link rel="stylesheet" type="text/css" href="/openoui/common/thirdparty/bootstrap/css/bootstrap.min.css"/>
-       <link rel="stylesheet" type="text/css" href="/openoui/common/thirdparty/animate/animate.min.css"/>
-       <link rel="stylesheet" type="text/css" href="/openoui/common/thirdparty/data-tables/dataTables.bootstrap.css"/>
-       <link rel="stylesheet" type="text/css" href="/openoui/common/css/ngict-component.css"/>
-       <link rel="stylesheet" type="text/css" href="/openoui/common/css/ZteIctIcons/style.css"/>
-       <link rel="stylesheet" type="text/css" href="css/monitorSetting.css"/>
-       <style>
-               .ms-controller {
-                       visibility: hidden
-               }
-       </style>
-</head>
-<body>
-
- <div class="container-fluid" class="ms-controller"  ms-controller="monitorController">
-
-
-
-  <div class="row" style=" margin-top: 15px;">
-         <div class="col-xs-6 col-sm-12 col-md-6  col-lg-6">
-           <span class=" titlefont" id="com_zte_openo_umc_monitor_monitorList_titeName" name_i18n="com_zte_openo_umc_monitor_ui_i18n">Monitor Para List </span>
-         </div>  
-          
-   </div>
-   <div class="separator-line"></div>
- <button class="btn white radius_l" id="app-new-btn" style=" margin-bottom: 10px;"  ms-click="gotoDACPage()">
-            <i class="ict-it-net"></i>  
-  <span id="com_zte_openo_umc_monitor_monitorList_dac_manage" name_i18n="com_zte_openo_umc_monitor_ui_i18n"></span>
-          </button>
-
-   
-    <div class="row row-fluid">
-        <table class="table table-striped table-bordered table-hover dataTable " id="monitorManagerTable">
-            <thead>
-                <tr class="heading">
-                    <th style="width: 80px;" id="com_zte_openo_umc_monitor_monitorList_monitor_sn" name_i18n="com_zte_openo_umc_monitor_ui_i18n">SN</th>
-                    <th id="com_zte_openo_umc_monitor_monitorList_monitor_name" name_i18n="com_zte_openo_umc_monitor_ui_i18n">Display Name</th>
-                     <th id="com_zte_openo_umc_monitor_monitorList_monitor_ipaddress" name_i18n="com_zte_openo_umc_monitor_ui_i18n">IP Address</th>
-                                        <th id="com_zte_openo_umc_monitor_monitorList_monitor_dacip" name_i18n="com_zte_openo_umc_monitor_ui_i18n">DAC IP Address</th>
-                     <th id="com_zte_openo_umc_monitor_monitorList_monitor_type" name_i18n="com_zte_openo_umc_monitor_ui_i18n">Type</th>
-                                        <th id="com_zte_openo_umc_monitor_monitorList_monitor_opr" name_i18n="com_zte_openo_umc_monitor_ui_i18n">Opr</th>
-                    
-                </tr>
-            </thead>
-            <tbody ms-each-monitor="resource.monitorList">
-                <tr>
-                    <td>{{$index+1}}</td>  
-                    <td><a href="#" ms-click="gotoMonitorSettingPage(monitor.oid)">{{monitor.label}}</a></td>
-                    <td ms-text="monitor.ipAddress"></td>    
-                                       <td ms-text="monitor.customPara.PROXYIP"></td>                        
-                    <td>{{monitor.neTypeId}}</td>
-                                       <td>
-                                               <a href="#" ms-click="deleteMonitorInfo(monitor.oid)">
-                                                       <span id="com_zte_openo_umc_monitor_monitorsetting_delete" name_i18n="com_zte_openo_umc_monitor_ui_i18n">delete</span>
-                                               </a>
-                                       </td>
-                </tr>
-            </tbody>
-        </table>
-    </div>
- </div>
-<script type="text/javascript" src="/openoui/common/thirdparty/jquery/jquery-1.10.2.min.js"></script>
-<script type="text/javascript" src="/openoui/common/thirdparty/bootstrap/js/bootstrap.min.js"></script>
-<script type="text/javascript" src="/openoui/common/thirdparty/jquery.i18n/jquery.i18n.properties-1.0.9.js"></script>
-<script type="text/javascript" src="js/loadi18nApp_ngict-umc-monitor.js"></script>
-<script type="text/javascript" src="/openoui/common/js/tools.js"></script>
-<script type="text/javascript" src="/openoui/common/js/core/hk.min.js" ></script>
-<script type="text/javascript">
-       var lang= getLanguage();
-       loadPropertiesSideMenu(lang, 'umc-monitor-iui-i18n', 'i18n/');
-</script>
-<script type="text/javascript" src="/openoui/common/thirdparty/data-tables/jquery.dataTables.min.js"></script>
-<script type="text/javascript" src="/openoui/common/thirdparty/bootstrap-growl/bootstrap-growl.min.js"></script>
-<script type="text/javascript" src="/openoui/common/thirdparty/avalon/avalon.js"></script>
-<script type="text/javascript" src="js/monitorSettingUtil.js"></script>
-<script type="text/javascript" src="js/monitorSettingController.js"></script>
-<script>
-       $(function(){
-               vm.queryMonitorList();
-       });
-</script>
-</body>
-</html>
+<!--\r
+    Copyright 2016, CMCC Technologies Co., Ltd.\r
+\r
+    Licensed under the Apache License, Version 2.0 (the "License");\r
+    you may not use this file except in compliance with the License.\r
+    You may obtain a copy of the License at\r
+\r
+            http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+    Unless required by applicable law or agreed to in writing, software\r
+    distributed under the License is distributed on an "AS IS" BASIS,\r
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+    See the License for the specific language governing permissions and\r
+    limitations under the License.\r
+-->\r
+<!DOCTYPE html>\r
+<html>\r
+<head lang="en">\r
+<meta charset="UTF-8">\r
+       <link rel="stylesheet" type="text/css" href="/openoui/common/thirdparty/font-awesome/css/font-awesome.min.css"/>\r
+       <link rel="stylesheet" type="text/css" href="/openoui/common/thirdparty/bootstrap/css/bootstrap.min.css"/>\r
+       <link rel="stylesheet" type="text/css" href="/openoui/common/thirdparty/animate/animate.min.css"/>\r
+       <link rel="stylesheet" type="text/css" href="/openoui/common/thirdparty/data-tables/dataTables.bootstrap.css"/>\r
+       <link rel="stylesheet" type="text/css" href="/openoui/common/css/ngict-component.css"/>\r
+       <link rel="stylesheet" type="text/css" href="/openoui/common/css/ZteIctIcons/style.css"/>\r
+       <link rel="stylesheet" type="text/css" href="css/monitorSetting.css"/>\r
+       <style>\r
+               .ms-controller {\r
+                       visibility: hidden\r
+               }\r
+       </style>\r
+</head>\r
+<body>\r
+\r
+ <div class="container-fluid" class="ms-controller"  ms-controller="monitorController">\r
+\r
+\r
+\r
+  <div class="row" style=" margin-top: 15px;">\r
+         <div class="col-xs-6 col-sm-12 col-md-6  col-lg-6">\r
+           <span class=" titlefont" id="com_zte_openo_umc_monitor_monitorList_titeName" name_i18n="com_zte_openo_umc_monitor_ui_i18n">Monitor Para List </span>\r
+         </div>  \r
+          \r
+   </div>\r
+   <div class="separator-line"></div>\r
+ <button class="btn white radius_l" id="app-new-btn" style=" margin-bottom: 10px;"  ms-click="gotoDACPage()">\r
+            <i class="ict-it-net"></i>  \r
+  <span id="com_zte_openo_umc_monitor_monitorList_dac_manage" name_i18n="com_zte_openo_umc_monitor_ui_i18n"></span>\r
+          </button>\r
+\r
+   \r
+    <div class="row row-fluid">\r
+        <table class="table table-striped table-bordered table-hover dataTable " id="monitorManagerTable">\r
+            <thead>\r
+                <tr class="heading">\r
+                    <th style="width: 80px;" id="com_zte_openo_umc_monitor_monitorList_monitor_sn" name_i18n="com_zte_openo_umc_monitor_ui_i18n">SN</th>\r
+                    <th id="com_zte_openo_umc_monitor_monitorList_monitor_name" name_i18n="com_zte_openo_umc_monitor_ui_i18n">Display Name</th>\r
+                     <th id="com_zte_openo_umc_monitor_monitorList_monitor_ipaddress" name_i18n="com_zte_openo_umc_monitor_ui_i18n">IP Address</th>\r
+                                        <th id="com_zte_openo_umc_monitor_monitorList_monitor_dacip" name_i18n="com_zte_openo_umc_monitor_ui_i18n">DAC IP Address</th>\r
+                     <th id="com_zte_openo_umc_monitor_monitorList_monitor_type" name_i18n="com_zte_openo_umc_monitor_ui_i18n">Type</th>\r
+                                        <th id="com_zte_openo_umc_monitor_monitorList_monitor_opr" name_i18n="com_zte_openo_umc_monitor_ui_i18n">Opr</th>\r
+                    \r
+                </tr>\r
+            </thead>\r
+            <tbody ms-each-monitor="resource.monitorList">\r
+                <tr>\r
+                    <td>{{$index+1}}</td>  \r
+                    <td><a href="#" ms-click="gotoMonitorSettingPage(monitor.oid)">{{monitor.label}}</a></td>\r
+                    <td ms-text="monitor.ipAddress"></td>    \r
+                                       <td ms-text="monitor.customPara.PROXYIP"></td>                        \r
+                    <td>{{monitor.neTypeId}}</td>\r
+                                       <td>\r
+                                               <a href="#" ms-click="deleteMonitorInfo(monitor.oid)">\r
+                                                       <span id="com_zte_openo_umc_monitor_monitorsetting_delete" name_i18n="com_zte_openo_umc_monitor_ui_i18n">delete</span>\r
+                                               </a>\r
+                                       </td>\r
+                </tr>\r
+            </tbody>\r
+        </table>\r
+    </div>\r
+ </div>\r
+<script type="text/javascript" src="/openoui/common/thirdparty/jquery/jquery-1.10.2.min.js"></script>\r
+<script type="text/javascript" src="/openoui/common/thirdparty/bootstrap/js/bootstrap.min.js"></script>\r
+<script type="text/javascript" src="/openoui/common/thirdparty/jquery.i18n/jquery.i18n.properties-1.0.9.js"></script>\r
+<script type="text/javascript" src="js/loadi18nApp_ngict-umc-monitor.js"></script>\r
+<script type="text/javascript" src="/openoui/common/js/tools.js"></script>\r
+<script type="text/javascript" src="/openoui/common/js/core/hk.min.js" ></script>\r
+<script type="text/javascript">\r
+       var lang= getLanguage();\r
+       loadPropertiesSideMenu(lang, 'umc-monitor-iui-i18n', 'i18n/');\r
+</script>\r
+<script type="text/javascript" src="/openoui/common/thirdparty/data-tables/jquery.dataTables.min.js"></script>\r
+<script type="text/javascript" src="/openoui/common/thirdparty/bootstrap-growl/bootstrap-growl.min.js"></script>\r
+<script type="text/javascript" src="/openoui/common/thirdparty/avalon/avalon.js"></script>\r
+<script type="text/javascript" src="js/monitorSettingUtil.js"></script>\r
+<script type="text/javascript" src="js/monitorSettingController.js"></script>\r
+<script>\r
+       $(function(){\r
+               vm.queryMonitorList();\r
+       });\r
+</script>\r
+</body>\r
+</html>\r