aboutsummaryrefslogtreecommitdiffstats
path: root/openo-portal/portal-common
diff options
context:
space:
mode:
Diffstat (limited to 'openo-portal/portal-common')
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/about.html2
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/changepwd.html90
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/default.html556
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/i18n/openo-nsoc-i18n-en-US.properties23
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/i18n/openo-nsoc-i18n-zh-CN.properties32
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/i18n/openo-roc-i18n-en-US.properties21
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/i18n/openo-roc-i18n-zh-CN.properties107
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/i18n/openo-umc-i18n-en-US.properties27
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/i18n/openo-umc-i18n-zh-CN.properties27
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/i18n/web-portal-login-i18n-en-US.properties49
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/i18n/web-portal-login-i18n-zh-CN.properties49
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/i18n/web-portal-login-integration-i18n-en-US.properties3
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/i18n/web-portal-login-integration-i18n-zh-CN.properties1
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/image/integration/logo.pngbin5668 -> 0 bytes
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/image/integration/openo_bg_1.jpg (renamed from openo-portal/portal-common/src/main/webapp/common/image/integration/zte_bg_1.jpg)bin143465 -> 143465 bytes
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/image/integration/openo_bg_2.jpg (renamed from openo-portal/portal-common/src/main/webapp/common/image/integration/zte_bg_2.jpg)bin152396 -> 152396 bytes
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/image/integration/openo_bg_3.jpg (renamed from openo-portal/portal-common/src/main/webapp/common/image/integration/zte_bg_3.jpg)bin155899 -> 155899 bytes
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/image/integration/openo_logo_white.png (renamed from openo-portal/portal-common/src/main/webapp/common/image/integration/zte_logo_white.png)bin5717 -> 5717 bytes
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/image/integration/zte_logo_16.gifbin106 -> 0 bytes
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/image/integration/ztelogo.pngbin2790 -> 0 bytes
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/index.html23
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/js/core/openoFrameWork.js (renamed from openo-portal/portal-common/src/main/webapp/common/js/core/ZteFrameWork.js)245
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/js/core/openoFrameWork.min.js (renamed from openo-portal/portal-common/src/main/webapp/common/js/core/ZteFrameWork.min.js)126
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/js/i18n/loadi18n-openo-nsoc.js20
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/js/i18n/loadi18n-openo-roc.js21
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/js/i18n/loadi18n-openo-umc.js19
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/js/international/loadi18n-login.js44
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/js/login.js360
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/js/mainpage/about.js4
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/js/mainpage/ict.main.page.js4
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/js/moreOperation.js4
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/js/tools.js19
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/json/main-page.json14
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/login.html269
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/main-page.html54
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/main_Fmegabar.html2
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/main_siderbar.html211
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/DataTableICT.js10
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/DataTableSmartClient.js6
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/DataTableSmartClientApp.js6
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/dataTable.html2
-rw-r--r--openo-portal/portal-common/src/main/webapp/common/thirdparty/fakeLoader/fakeLoader.min.js2
42 files changed, 1054 insertions, 1398 deletions
diff --git a/openo-portal/portal-common/src/main/webapp/common/about.html b/openo-portal/portal-common/src/main/webapp/common/about.html
index 77795cd5..c0143021 100644
--- a/openo-portal/portal-common/src/main/webapp/common/about.html
+++ b/openo-portal/portal-common/src/main/webapp/common/about.html
@@ -24,7 +24,7 @@
</a>
</div>
<div class="info">
- <img src="image/integration/zte_logo_ white.png" alt=""/>
+ <img src="./common/image/integration/openo_logo_white.png" alt=""/>
<div class="ict_main_productname">
<span id="com_zte_ums_ict_framework_ui_main_title" name_i18n="com_zte_ums_ict_framework_ui_i18n"></span>
</div>
diff --git a/openo-portal/portal-common/src/main/webapp/common/changepwd.html b/openo-portal/portal-common/src/main/webapp/common/changepwd.html
deleted file mode 100644
index dacfbf5e..00000000
--- a/openo-portal/portal-common/src/main/webapp/common/changepwd.html
+++ /dev/null
@@ -1,90 +0,0 @@
-<!--
- 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.
--->
-<div class="content">
- <form class="login-form" id="fm1" action="javascript:;" method="post">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
- </button>
- <h4 class="modal-title" id="com_zte_ums_ict_sm_user_modify_current_password"
- name_i18n="com_zte_ums_ict_framework_ui_i18n">
- 当前用户密码设置
- </h4>
- </div>
- <!--div class="modal-body"-->
- <div class="alert display-hide" id="nameOrpwdError">
- <button class="close" data-close="alert">
- </button>
- <span id="com_zte_ums_ict_portal_login_nameOrpwdError" name_i18n="com_zte_ums_ict_framework_ui_i18n">
- 原始密码错误
- </span>
- </div>
- <div class="form-group">
- <label class="control-label visible-ie8 visible-ie9" id="com_zte_ums_ict_sm_user_old_password"
- name_i18n="com_zte_ums_ict_framework_ui_i18n">
- 旧密码
- </label>
- <div class="input-icon">
- <i class="fa fa-lock">
- </i>
- <input type="password" class="form-control placeholder-no-fix" id="oldpassword"
- autocomplete="off" placeholder="旧密码" name="oldpassword" />
- </div>
- </div>
- <div class="form-group">
- <label class="control-label visible-ie8 visible-ie9" id="com_zte_ums_ict_sm_user_password"
- name_i18n="com_zte_ums_ict_framework_ui_i18n">
- 新密码
- </label>
- <div class="input-icon">
- <i class="fa fa-lock">
- </i>
- <input type="password" class="form-control placeholder-no-fix" id="password"
- autocomplete="off" placeholder="新密码" name="password" />
- </div>
- </div>
- <div class="form-group">
- <label class="control-label visible-ie8 visible-ie9" id="com_zte_ums_ict_sm_user_confirmpassword"
- name_i18n="com_zte_ums_ict_framework_ui_i18n">
- 确认新密码
- </label>
- <div class="controls">
- <div class="input-icon">
- <i class="fa fa-check">
- </i>
- <input type="password" class="form-control placeholder-no-fix" id="rpassword"
- autocomplete="off" placeholder="确认新密码" name="rpassword" />
- </div>
- </div>
- </div>
- <!--/div-->
- <div class="form-actions">
- <div class="modal-footer">
- <button data-dismiss="modal" aria-hidden="true" id="cancelBtn" class="btn default ">
- <span id="com_zte_ums_ict_sm_user_cancel_button" name_i18n="com_zte_ums_ict_framework_ui_i18n">
- 取消
- </span>
- </button>
- <button type="submit" id="submitBtn" class="btn blue">
- <span id="com_zte_ums_ict_sm_user_ok" name_i18n="com_zte_ums_ict_framework_ui_i18n">
- 确定
- </span>
- <i class="m-icon-swapright m-icon-white">
- </i>
- </button>
- </div>
- </div>
- </form>
-</div> \ No newline at end of file
diff --git a/openo-portal/portal-common/src/main/webapp/common/default.html b/openo-portal/portal-common/src/main/webapp/common/default.html
index 49c8812d..8b91d02d 100644
--- a/openo-portal/portal-common/src/main/webapp/common/default.html
+++ b/openo-portal/portal-common/src/main/webapp/common/default.html
@@ -16,200 +16,99 @@
<!DOCTYPE html>
<html>
<head>
- <meta charset="utf-8" />
- <title id="com_zte_ums_ict_framework_ui_page_title" name_i18n="com_zte_ums_ict_framework_ui_i18n">
- </title>
+ <title id="com_zte_ums_ict_framework_ui_page_title" name_i18n="com_zte_ums_ict_framework_ui_i18n"></title>
+ <meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta content="width=device-width,height=device-height,initial-scale=1.0"
- name="viewport" />
- <meta content="zte ict" name="description" />
- <meta content="zte" name="author" />
- <script type="text/javascript" src="./js/core/const.js"></script>
- <script type="text/javascript" src="./js/core/hk.min.js"></script>
- <link href="thirdparty/fakeLoader/fakeLoader.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="thirdparty/jquery/jquery-1.10.2.min.js"></script>
- <script type="text/javascript" src="thirdparty/fakeLoader/fakeLoader.min.js"></script>
- <link href="thirdparty/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" id="font_awesome" />
- <link href="thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
- <link href="thirdparty/uniform/css/uniform.default.css" rel="stylesheet" type="text/css" />
- <link rel="stylesheet" type="text/css" href="thirdparty/select2/select2.css"/>
- <link rel="stylesheet" type="text/css" href="thirdparty/select2/select2-custom.css"/>
- <link href="./css/style-custom.css" rel="stylesheet" type="text/css" />
- <link href="./css/style.css" rel="stylesheet" type="text/css"/>
- <link href="./css/frame-style.css" rel="stylesheet" type="text/css" />
- <link href="./css/style-responsive.css" rel="stylesheet" type="text/css" />
- <link href="./css/plugins.css" rel="stylesheet" type="text/css" />
- <link href="" rel="stylesheet" type="text/css" id="style_color" />
- <link href="./css/changepwd.css" rel="stylesheet" type="text/css" />
- <link rel="shortcut icon" href="./image/integration/zte_logo_16.gif" />
- <link rel="stylesheet" type="text/css" href="./css/style.css"/>
- <link rel="stylesheet" type="text/css" href="./css/ZteIctIcons/style.css"/>
+ <meta content="width=device-width,height=device-height,initial-scale=1.0" name="viewport"/>
+ <meta content="zte ict" name="description"/>
+ <meta content="zte" name="author"/>
+ <script type="text/javascript" src="./common/js/core/const.js"></script>
+ <script type="text/javascript" src="./common/js/core/hk.min.js"></script>
+ <script type="text/javascript" src="./common/thirdparty/jquery/jquery-1.10.2.min.js"></script>
+ <script type="text/javascript" src="./common/thirdparty/fakeLoader/fakeLoader.min.js"></script>
+ <link href="./common/thirdparty/fakeLoader/fakeLoader.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/thirdparty/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" id="font_awesome"/>
+ <link href="./common/thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/thirdparty/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/thirdparty/select2/select2.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/thirdparty/select2/select2-custom.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/css/style-custom.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/css/style.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/css/frame-style.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/css/style-responsive.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/css/plugins.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/css/changepwd.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/css/style.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/css/ZteIctIcons/style.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/css/more-operation.css" rel="stylesheet" type="text/css" />
+ <link href="" rel="stylesheet" type="text/css" id="style_color"/>
</head>
- <body class="page-header-fixed page-sidebar-fixed" >
- <div id="pageLoading" class="fakeloader" ></div>
- <script type="text/javascript">
+ <body class="page-header-fixed page-sidebar-fixed">
+ <div id="pageLoading" class="fakeloader"></div>
+ <script type="text/javascript">
$("#pageLoading").fakeLoader({text:"",bgColor:"#1178ee",opacity:'1',spinner:"spinner2",zIndex:99999999});
- </script>
+ </script>
<div class="header navbar navbar-fixed-top mega-menu">
<div class="header-inner">
- <a class="navbar-brand zte-navbar-brand hidden-sm hidden-xs" href="./main-page.html">
- <img id="com_zte_ums_ict_framework_img_netnumenLogo" src="./image/integration/netnumenLogo.png"
- name_img="com_zte_ums_ict_framework_img" alt="logo" style="display:none"/>
- <span id="com_zte_ums_ict_framework_ui_main_title" name_i18n="com_zte_ums_ict_framework_ui_i18n"
- class="zte-brand-text" style="display:none">
- </span>
- </a>
+ <img id="com_zte_ums_ict_framework_img_netnumenLogo" src="./common/image/integration/netnumenLogo.png" name_img="com_zte_ums_ict_framework_img" alt="logo" style="display:none"/>
+ <span id="com_zte_ums_ict_framework_ui_main_title" name_i18n="com_zte_ums_ict_framework_ui_i18n" class="zte-brand-text" style="display:none"></span>
<div class="hor-menu hidden-sm hidden-xs">
- <ul class="nav navbar-nav hormenu" style="display:none" id="main_hormenu" menuSrc="main_MegaHorbar.html" ><!--style="display:none"这个暂时去掉-->
- </ul>
- <ul class="nav navbar-nav hormenu" style="display:none" id="f_hormenu" menuSrc="main_Fmegabar.html">
- </ul>
- </div>
+ <ul class="nav navbar-nav hormenu" style="display:none" id="main_hormenu" menuSrc="main_MegaHorbar.html" ></ul>
+ <ul class="nav navbar-nav hormenu" style="display:none" id="f_hormenu" menuSrc="main_Fmegabar.html"></ul>
+ </div>
<ul class="nav navbar-nav pull-right">
<div>
<a href="javascript:;" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse" onclick="handleMavToggle(this);" navtoggledispattr="hidden">
- <img src="./image/menu-toggler.png" alt="" />
+ <img src="./common/image/menu-toggler.png" alt=""/>
</a>
</div>
- <div class="zte-theme-panel ">
- <div class="toggler">
- </div>
- <div class="toggler-close">
- </div>
+ <div class="zte-theme-panel">
+ <div class="toggler"></div>
+ <div class="toggler-close"></div>
<div class="theme-options">
<div class="theme-option theme-colors clearfix">
- <span id="com_zte_ums_ict_framework_ui_skin_select" name_i18n="com_zte_ums_ict_framework_ui_i18n">
- </span>
+ <span id="com_zte_ums_ict_framework_ui_skin_select" name_i18n="com_zte_ums_ict_framework_ui_i18n"></span>
<ul>
- <li class="color-ztebluelight current" data-style="ztebluelight">
- </li>
- <li class="color-ztebluelight4" data-style="ztebluelight4">
- </li>
- <li class="color-ztebluelight2" data-style="ztebluelight2">
- </li>
-
- <!--li class="color-ztebluelight3" data-style="ztebluelight3">
- </li>
- <li class="color-zteblue" data-style="zteblue">
- </li>
- <li class="color-blue" data-style="blue">
- </li>
- <li class="color-black" data-style="black">
- </li-->
-
- <!--li class="color-grey" data-style="grey">
- </li>
- <li class="color-white" data-style="light">
- </li>
- <li class="color-brown" data-style="brown">
- </li>
- <li class="color-purple" data-style="purple">
- </li-->
+ <li class="color-ztebluelight current" data-style="ztebluelight"></li>
+ <li class="color-ztebluelight4" data-style="ztebluelight4"></li>
+ <li class="color-ztebluelight2" data-style="ztebluelight2"></li>
</ul>
- </div>
+ </div>
<div class="theme-option">
- <span id="com_zte_ums_ict_framework_ui_language" name_i18n="com_zte_ums_ict_framework_ui_i18n">
- </span>
+ <span id="com_zte_ums_ict_framework_ui_language" name_i18n="com_zte_ums_ict_framework_ui_i18n"></span>
<select class="language-option form-control input-small">
- <option id="com_zte_ums_ict_framework_ui_language_zhcn" name_i18n="com_zte_ums_ict_framework_ui_i18n"
- value="zh-CN" selected="selected">
- </option>
- <option id="com_zte_ums_ict_framework_ui_language_en" name_i18n="com_zte_ums_ict_framework_ui_i18n"
- value="en-US">
- </option>
+ <option id="com_zte_ums_ict_framework_ui_language_zhcn" name_i18n="com_zte_ums_ict_framework_ui_i18n" value="en-US" selected="selected"></option>
+ <option id="com_zte_ums_ict_framework_ui_language_en" name_i18n="com_zte_ums_ict_framework_ui_i18n" value="en-US"></option>
</select>
</div>
<div class="theme-option">
- <span id="com_zte_ums_ict_framework_ui_navbar_direction" name_i18n="com_zte_ums_ict_framework_ui_i18n">
- </span>
+ <span id="com_zte_ums_ict_framework_ui_navbar_direction" name_i18n="com_zte_ums_ict_framework_ui_i18n"></span>
<select class="nav-pos-direction form-control input-small">
- <option id="com_zte_ums_ict_framework_ui_navbar_direction_vertical" name_i18n="com_zte_ums_ict_framework_ui_i18n"
- value="vertical" selected="selected">
- </option>
- <option id="com_zte_ums_ict_framework_ui_navbar_direction_horizontal" name_i18n="com_zte_ums_ict_framework_ui_i18n"
- value="horizontal">
- </option>
- <option id="com_zte_ums_ict_framework_ui_navbar_direction_fmenu" name_i18n="com_zte_ums_ict_framework_ui_i18n"
- value="fmenu">
- </option>
+ <option id="com_zte_ums_ict_framework_ui_navbar_direction_vertical" name_i18n="com_zte_ums_ict_framework_ui_i18n" value="vertical" selected="selected"></option>
+ <option id="com_zte_ums_ict_framework_ui_navbar_direction_horizontal" name_i18n="com_zte_ums_ict_framework_ui_i18n" value="horizontal"></option>
+ <option id="com_zte_ums_ict_framework_ui_navbar_direction_fmenu" name_i18n="com_zte_ums_ict_framework_ui_i18n" value="fmenu"></option>
</select>
</div>
<div class="theme-option">
- <span id="com_zte_ums_ict_framework_ui_skin_layout" name_i18n="com_zte_ums_ict_framework_ui_i18n">
- </span>
+ <span id="com_zte_ums_ict_framework_ui_skin_layout" name_i18n="com_zte_ums_ict_framework_ui_i18n"></span>
<select class="layout-option form-control input-small">
- <option id="com_zte_ums_ict_framework_ui_layout_fluid" name_i18n="com_zte_ums_ict_framework_ui_i18n"
- value="fluid" selected="selected">
- </option>
- <option id="com_zte_ums_ict_framework_ui_layout_boxed" name_i18n="com_zte_ums_ict_framework_ui_i18n"
- value="boxed">
- </option>
+ <option id="com_zte_ums_ict_framework_ui_layout_fluid" name_i18n="com_zte_ums_ict_framework_ui_i18n" value="fluid" selected="selected"></option>
+ <option id="com_zte_ums_ict_framework_ui_layout_boxed" name_i18n="com_zte_ums_ict_framework_ui_i18n" value="boxed"></option>
</select>
</div>
- <!--div class="theme-option">
- <span id="com_zte_ums_ict_framework_ui_page_head" name_i18n="com_zte_ums_ict_framework_ui_i18n">
- </span>
- <select class="header-option form-control input-small">
- <option id="com_zte_ums_ict_framework_ui_page_head_fixed" name_i18n="com_zte_ums_ict_framework_ui_i18n"
- value="fixed" selected="selected">
- </option>
- <option id="com_zte_ums_ict_framework_ui_page_head_default" name_i18n="com_zte_ums_ict_framework_ui_i18n"
- value="default">
- </option>
- </select>
- </div-->
- <!--div class="theme-option">
- <span id="com_zte_ums_ict_framework_ui_side_bar" name_i18n="com_zte_ums_ict_framework_ui_i18n">
- </span>
- <select class="sidebar-option form-control input-small">
- <option id="com_zte_ums_ict_framework_ui_page_sidebar_fixed" name_i18n="com_zte_ums_ict_framework_ui_i18n"
- value="fixed" selected="selected">
- </option>
- <option id="com_zte_ums_ict_framework_ui_page_sidebar_default" name_i18n="com_zte_ums_ict_framework_ui_i18n"
- value="default">
- </option>
- </select>
- </div-->
- <!--div class="theme-option">
- <span id="com_zte_ums_ict_framework_ui_sidebar_location" name_i18n="com_zte_ums_ict_framework_ui_i18n">
- </span>
- <select class="sidebar-pos-option form-control input-small">
- <option id="com_zte_ums_ict_framework_ui_keep_left" name_i18n="com_zte_ums_ict_framework_ui_i18n"
- value="left" selected="selected">
- </option>
- <option id="com_zte_ums_ict_framework_ui_keep_right" name_i18n="com_zte_ums_ict_framework_ui_i18n"
- value="right">
- </option>
- </select>
- </div-->
- <!-- <div class="theme-option">
- <span id="com_zte_ums_ict_framework_ui_page_footer">
- </span>
- <select class="footer-option form-control input-small">
- <option id="com_zte_ums_ict_framework_ui_page_footer_fixed" value="fixed" ></option>
- <option id="com_zte_ums_ict_framework_ui_page_footer_default" value="default" selected="selected"></option>
- </select>
- </div>
- -->
</div>
</div>
<li class="dropdown" id="header_notification_bar" style="display:none">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown"
- data-close-others="true">
- <i class="fa fa-warning" id="hd_heighestAlarmcount_li">
- </i>
- <span class="badge" id="hd_heighestAlarmcount_value">
- </span>
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
+ <i class="fa fa-warning" id="hd_heighestAlarmcount_li"></i>
+ <span class="badge" id="hd_heighestAlarmcount_value"></span>
</a>
<ul class="dropdown-menu extended notification">
<li>
<p>
- <span id="hd_alarmcount_total_before_text">
- </span>
- <span class="badge" id="hd_alarmcount_total_value">
- </span>
- <span id="hd_alarmcount_total_after_text">
- </span>
+ <span id="hd_alarmcount_total_before_text"></span>
+ <span class="badge" id="hd_alarmcount_total_value"></span>
+ <span id="hd_alarmcount_total_after_text"></span>
</p>
</li>
<li>
@@ -217,49 +116,37 @@
<li>
<a href="#">
<span class="label label-icon alarm-critical">
- <i class="fa fa-bolt " id="hd_alarmcount_critical_li">
- </i>
- <span class="badge" id="hd_alarmcount_critical_value">
- </span>
- </span>
- <span id="hd_alarmcount_critical_text">
+ <i class="fa fa-bolt " id="hd_alarmcount_critical_li"></i>
+ <span class="badge" id="hd_alarmcount_critical_value"></span>
</span>
+ <span id="hd_alarmcount_critical_text"></span>
</a>
</li>
<li>
<a href="#">
<span class="label label-icon alarm-major">
- <i class="fa fa-warning" id="hd_alarmcount_major_li">
- </i>
- <span class="badge" id="hd_alarmcount_major_value">
- </span>
- </span>
- <span id="hd_alarmcount_major_text">
+ <i class="fa fa-warning" id="hd_alarmcount_major_li"></i>
+ <span class="badge" id="hd_alarmcount_major_value"></span>
</span>
+ <span id="hd_alarmcount_major_text"></span>
</a>
</li>
<li>
<a href="#">
<span class="label label-icon alarm-minor">
- <i class="fa fa-bell-o" id="hd_alarmcount_minor_li">
- </i>
- <span class="badge" id="hd_alarmcount_minor_value">
- </span>
- </span>
- <span id="hd_alarmcount_minor_text">
+ <i class="fa fa-bell-o" id="hd_alarmcount_minor_li"></i>
+ <span class="badge" id="hd_alarmcount_minor_value"></span>
</span>
+ <span id="hd_alarmcount_minor_text"></span>
</a>
</li>
<li>
<a href="#">
<span class="label label-icon alarm-warning">
- <i class="fa fa-bullhorn" id="hd_alarmcount_warning_li">
- </i>
- <span class="badge" id="hd_alarmcount_warning_value">
- </span>
- </span>
- <span id="hd_alarmcount_warning_text">
+ <i class="fa fa-bullhorn" id="hd_alarmcount_warning_li"></i>
+ <span class="badge" id="hd_alarmcount_warning_value"></span>
</span>
+ <span id="hd_alarmcount_warning_text"></span>
</a>
</li>
</ul>
@@ -267,120 +154,71 @@
</ul>
</li>
<li class="dropdown user" id="header_dropdown_user" style="display:none">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown"
- data-close-others="true">
- <span>
- <img alt="" width=26 height=26 src="./image/user.png"
- />
- </span>
- <span class="username" id="currentUser">
- </span>
- <i class="fa fa-angle-down">
- </i>
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
+ <span><img alt="" width=26 height=26 src="./common/image/user.png"/></span>
+ <span class="username" id="currentUser"></span>
+ <i class="fa fa-angle-down"></i>
</a>
<ul class="dropdown-menu">
<div id="uep_ict_help_div">
<li>
<a href="#" target="uep_ict_help" id="uep_ict_help_url">
- <i class="fa fa-book fa-fw">
- </i>
- <span id="com_zte_ums_ict_framework_moudle_help">
- </span>
+ <i class="fa fa-book fa-fw"></i>
+ <span id="com_zte_ums_ict_framework_moudle_help"></span>
</a>
</li>
- <li>
- <a href="#" data-target="#aboutDlg" data-backdrop="false" data-toggle="modal">
- <i class="fa fa fa-th-large">
- </i>
- <span id="com_zte_ums_ict_framework_moudle_about">
- </span>
- </a>
- </li>
- <li class="divider">
+ <li>
+ <a href="#" data-target="#aboutDlg" data-backdrop="false" data-toggle="modal">
+ <i class="fa fa fa-th-large"></i>
+ <span id="com_zte_ums_ict_framework_moudle_about"></span>
+ </a>
</li>
+ <li class="divider"></li>
</div>
- <!--<li>
- <a href="#" >
- <i class="fa fa-user"></i> <span id="com_zte_ums_ict_framework_ui_basic_info"></span>
- </a>
- </li>-->
<li>
<a href="#" id ="changePwd_labellink" data-target="#changepwdDlg" data-backdrop="false" data-toggle="modal">
- <i class="fa fa-pencil">
- </i>
- <span id="changePwd_label">
- </span>
+ <i class="fa fa-pencil"></i>
+ <span id="changePwd_label"></span>
</a>
</li>
- <li class="divider" id="full_logout_divider">
- </li>
+ <li class="divider" id="full_logout_divider"></li>
<div id="trigger_fullscreen_div">
- <li>
- <a href="javascript:;" id="trigger_fullscreen">
- <i class="fa fa-arrows">
- </i>
- <span id="fullscreen_label">
- </span>
- </a>
- </li>
+ <li>
+ <a href="javascript:;" id="trigger_fullscreen">
+ <i class="fa fa-arrows"></i>
+ <span id="fullscreen_label"></span>
+ </a>
+ </li>
</div>
<div id="trigger_logout_div">
- <li>
- <a id="trigger_logout" href="#">
- <i class="fa fa-key">
- </i>
- <span id="logout_label">
- </span>
- </a>
- </li>
+ <li>
+ <a id="trigger_logout" href="#">
+ <i class="fa fa-key"></i>
+ <span id="logout_label"></span>
+ </a>
+ </li>
</div>
</ul>
</li>
- <li class="dropdown system" id="headerMenu">
- </li>
+ <li class="dropdown system" id="headerMenu"></li>
</ul>
</div>
</div>
- <div class="modal fade" tabindex="-1" id="changepwdDlg" style="display:none" role="dialog"
- aria-hidden="true">
+ <div class="modal fade" tabindex="-1" id="aboutDlg" role="dialog" aria-hidden="true">
<div class="page-loading page-loading-boxed">
- <img src="./image/loading-spinner-grey.gif" alt="" class="loading">
- <span>
- &nbsp;&nbsp;Loading...
- </span>
+ <img src="./common/image/loading-spinner-grey.gif" alt="" class="loading">
+ <span>&nbsp;&nbsp;Loading...</span>
</div>
- <div class="modal-dialog modal-lg ">
- <div class="modal-content Changepasswd" dlgsrc="changepwd.html">
- </div>
+ <div class="modal-dialog modal-lg">
+ <div class="modal-content aboutDlg" dlgsrc="./common/about.html"></div>
</div>
</div>
- <div class="modal fade" tabindex="-1" id="aboutDlg" role="dialog"
- aria-hidden="true">
- <div class="page-loading page-loading-boxed">
- <img src="image/loading-spinner-grey.gif" alt="" class="loading">
- <span>
- &nbsp;&nbsp;Loading...
- </span>
- </div>
- <div class="modal-dialog modal-lg ">
- <div class="modal-content aboutDlg" dlgsrc="about.html">
- </div>
- </div>
- </div>
<!-- /.modal -->
- <div class="clearfix">
- </div>
+ <div class="clearfix"></div>
<div class="page-container">
<div class="page-sidebar navbar-collapse collapse" style="z-index: 9999;">
- <ul class="page-sidebar-menu" id="page-sidebar-menu" data-auto-scroll="true" data-slide-speed="200"
- menuSrc="main_siderbar.html" >
- </ul>
- <ul class="page-sidebar-menu" id="page-f-sidebar-menu" data-auto-scroll="true" data-slide-speed="200"
- menuSrc="main_Fsiderbar.html" >
- </ul>
- <ul class="page-sidebar-menu" id="page-megachild-sidebar-menu" data-auto-scroll="true" data-slide-speed="200"
- menuSrc="child_menu.html" style="display:none">
- </ul>
+ <ul class="page-sidebar-menu" id="page-sidebar-menu" data-auto-scroll="true" data-slide-speed="200" menuSrc="./common/main_siderbar.html"></ul>
+ <ul class="page-sidebar-menu" id="page-f-sidebar-menu" data-auto-scroll="true" data-slide-speed="200" menuSrc="./common/main_Fsiderbar.html"></ul>
</div>
<div class="page-content-wrapper">
<div class="page-content">
@@ -389,108 +227,54 @@
<div class="col-md-12">
<ul class="page-breadcrumb breadcrumb">
<div class="row">
- <ul class="col-md-10 breadcrumbUl" >
- <!--li>
- <i class="fa fa-home">
- </i>
- <a href="javascript:goToHomePage();">
+ <ul class="col-md-10 breadcrumbUl"></ul>
+ </div>
+ <ul class="col-md-2 more-botton-zone"></ul>
+ </ul>
+ <div id = "pageableDiv" style = "display: none" class="row row1">
+ <div class="col-xs-12" >
+ <div class="row">
+ <div id="carousel-example-generic" class="carousel slide" data-ride="carousel" data-interval="false">
+ <div class="carousel-inner" role="listbox"></div>
+ <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
+ <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
+ <span class="sr-only">Previous</span>
</a>
- <i class="fa fa-angle-right">
- </i>
- </li>
- <li>
- <a href="#">
+ <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next" style="margin-right: -10px;">
+ <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
+ <span class="sr-only">Next</span>
</a>
- </li-->
- </ul>
-
-
+ </div>
+ </div>
</div>
- <ul class="col-md-2 more-botton-zone">
-
- </ul>
-
- </ul>
-<link href="css/more-operation.css" rel="stylesheet" type="text/css" />
- <div id = "pageableDiv" style = "display: none" class="row row1">
- <div class="col-xs-12" >
- <div class="row" >
- <div id="carousel-example-generic" class="carousel slide" data-ride="carousel" data-interval="false">
- <div class="carousel-inner" role="listbox"></div>
- <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
- <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
- <span class="sr-only">Previous</span>
- </a>
- <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next" style="margin-right: -10px;">
- <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
- <span class="sr-only">Next</span>
- </a>
- </div>
- </div>
- </div>
- </div>
+ </div>
</div>
</div>
</div>
</div>
</div>
</div>
- <!-- <div class="footer">
- <div class="footer-inner">
- 2014 &copy; ZTE中兴通讯股份有限公司
- </div>
- <div class="footer-tools">
- <span class="go-top">
- <i class="fa fa-angle-up"></i>
- </span>
- </div>
- </div> -->
- <!--[if lt IE 9]>
- <script type="text/javascript" src="/ngict/iui/component/thirdparty/respond/respond.min.js">
- </script>
- <script type="text/javascript" src="/ngict/iui/component/thirdparty/excanvas/excanvas.min.js">
- </script>
- <![endif]-->
-
- <!---->
- <!--script type="text/javascript" src="/ngict/iui/framework/menus/framework/thirdparty/jquery-migrate-1.2.1.min.js">
- </script-->
- <!-- 重要! 加载botstrap.min.js之前请先加载jquery-ui-1.10.3.custom.min.js以避免bootstrap的tooltip与jquery
- ui的tooltip发生冲突 -->
- <!--script type="text/javascript" src="thirdparty/jquery-ui/jquery-ui-1.10.3.custom.min.js">
- </script-->
- <script type="text/javascript" src="thirdparty/bootstrap/js/bootstrap.min.js">
- </script>
- <script type="text/javascript" src="thirdparty/jquery-validation/js/jquery.validate.min.js">
- </script>
- <script type="text/javascript" src="thirdparty/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js">
- </script>
- <script type="text/javascript" src="thirdparty/jquery-blockui/jquery.blockui.min.js">
- </script>
- <script type="text/javascript" src="thirdparty/jquery-cokie/jquery.cokie.min.js">
- </script>
- <script type="text/javascript" src="thirdparty/uniform/jquery.uniform.min.js">
- </script>
- <!-- 重要! 加载ict-cometd.js之前必须先加载cometd.js和jquery.cometd.js以避免cometd的ict-cometd发生内存溢出
- -->
- <script type="text/javascript" src="thirdparty/cometd/cometd.js">
- </script>
- <script type="text/javascript" src="thirdparty/cometd/jquery/jquery.cometd.js">
- </script>
- <script type="text/javascript" src="thirdparty/select2/select2.min.js">
- </script>
- <script type="text/javascript" src="thirdparty/bootbox/bootbox.min.js">
- </script>
- <script src="./js/moreOperation.js"></script>
- <script src="./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="./js/international/loadi18n.js">
- </script>
- <script type="text/javascript" src="./js/Main2moreMenu.js">
- </script>
- <script type="text/javascript" src="./js/core/pym.min.js"></script>
- <script type="text/javascript" src="./js/core/ZteFrameWork.js"></script>
+ <script type="text/javascript" src="./common/thirdparty/bootstrap/js/bootstrap.min.js"></script>
+ <script type="text/javascript" src="./common/thirdparty/jquery-validation/js/jquery.validate.min.js"></script>
+ <script type="text/javascript" src="./common/thirdparty/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js"></script>
+ <script type="text/javascript" src="./common/thirdparty/jquery-blockui/jquery.blockui.min.js"></script>
+ <script type="text/javascript" src="./common/thirdparty/jquery-cokie/jquery.cokie.min.js"></script>
+ <script type="text/javascript" src="./common/thirdparty/uniform/jquery.uniform.min.js"></script>
+ <script type="text/javascript" src="./common/thirdparty/cometd/cometd.js"></script>
+ <script type="text/javascript" src="./common/thirdparty/cometd/jquery/jquery.cometd.js"></script>
+ <script type="text/javascript" src="./common/thirdparty/select2/select2.min.js"></script>
+ <script type="text/javascript" src="./common/thirdparty/bootbox/bootbox.min.js"></script>
+ <script type="text/javascript" src="./common/thirdparty/jquery.i18n/jquery.i18n.properties-1.0.9.js"></script>
+ <script type="text/javascript" src="./common/thirdparty/data-tables/jquery.dataTables.min.js"></script>
+ <script type="text/javascript" src="./common/js/moreOperation.js"></script>
+ <script type="text/javascript" src="./common/js/tools.js"></script>
+ <script type="text/javascript" src="./common/js/international/loadi18n.js"></script>
+ <script type="text/javascript" src="./common/js/Main2moreMenu.js"></script>
+ <script type="text/javascript" src="./common/js/core/pym.min.js"></script>
+ <script type="text/javascript" src="./common/js/core/openoFrameWork.min.js"></script>
+ <script type="text/javascript" src="./common/js/fm_light.js"></script>
+ <script type="text/javascript" src="./common/js/security/changepwd.js"></script>
+ <script type="text/javascript" src="./common/js/mainpage/about.js"></script>
<script>
var sence = '0';
var panel = $('.zte-theme-panel');
@@ -498,46 +282,36 @@
switch (sence) {
case "1":
$('title').attr('id', 'com_zte_ums_ict_framework_ui_page_title_1');
- break;
+ break;
case "2":
$('title').attr('id', 'com_zte_ums_ict_framework_ui_page_title_2');
- if (body.hasClass("page-sidebar-fixed")) {
- body.removeClass('page-sidebar-fixed');
- }
- body.addClass('page-sidebar-closed');
- break;
+ if (body.hasClass("page-sidebar-fixed")) {
+ body.removeClass('page-sidebar-fixed');
+ }
+ body.addClass('page-sidebar-closed');
+ break;
case "3":
$('title').attr('id', 'com_zte_ums_ict_framework_ui_page_title_3');
- if (body.hasClass("page-sidebar-fixed")) {
- body.removeClass('page-sidebar-fixed');
- }
- body.addClass('page-sidebar-closed');
- $('.sidebar-option', panel).val("default");
- //getHeaderMenu("/web/newict/framework/zte/ict/headerMenu.html");
- break;
+ if (body.hasClass("page-sidebar-fixed")) {
+ body.removeClass('page-sidebar-fixed');
+ }
+ body.addClass('page-sidebar-closed');
+ $('.sidebar-option', panel).val("default");
+ break;
case "0":
default:
- break;
+ break;
}
</script>
<script>
- loadi18n_WebFramework(); // 加载框架自身的国际化内容
- iniHorMenu();
- //iniSidebarMenu();
- iniFMenu();
- </script>
- <script type="text/javascript" src="./js/fm_light.js">
- </script>
- <script type="text/javascript" src="./js/security/changepwd.js">
+ loadi18n_WebFramework();
+ iniHorMenu();
+ iniFMenu();
</script>
- <script type="text/javascript" src="thirdparty/data-tables/jquery.dataTables.min.js">
- </script>
- <script src="js/mainpage/about.js"></script>
<script>
jQuery(document).ready(function() {
- ZteFrameWork.init();
+ openoFrameWork.init();
initBaseInfo();
- //initUserInfo();
iniChangePWDDlg();
iniAboutDlg();
var language = getLanguage();
@@ -546,8 +320,6 @@
});
var help_url = "/help/showhelp.jsp?lang=" + language;
$('#uep_ict_help_url').attr('href', help_url);
- //handleAppCustomMenuItem();
- //handleAppCustomThemeColor();
$('#changepwdDlg').on('hide.bs.modal',function() {
$(this).removeData('bs.modal');
})
@@ -556,4 +328,4 @@
});
</script>
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/openo-portal/portal-common/src/main/webapp/common/i18n/openo-nsoc-i18n-en-US.properties b/openo-portal/portal-common/src/main/webapp/common/i18n/openo-nsoc-i18n-en-US.properties
new file mode 100644
index 00000000..cf4261e5
--- /dev/null
+++ b/openo-portal/portal-common/src/main/webapp/common/i18n/openo-nsoc-i18n-en-US.properties
@@ -0,0 +1,23 @@
+#
+# Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
+#
+# 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.
+#
+org_openo_orchestrator_nsoc_service=Service
+org_openo_orchestrator_nsoc_orchestrator=Orchestrator
+org_openo_orchestrator_nsoc_model_design=Model Design
+org_openo_orchestrator_nsoc_node_type=Node Type
+org_openo_orchestrator_nsoc_pkg=Package
+org_openo_orchestrator_nsoc_template=Service Template
+org_openo_orchestrator_nsoc_lifecycle=Lifecycle
+org_openo_orchestrator_nsoc_hostimage=Host Image \ No newline at end of file
diff --git a/openo-portal/portal-common/src/main/webapp/common/i18n/openo-nsoc-i18n-zh-CN.properties b/openo-portal/portal-common/src/main/webapp/common/i18n/openo-nsoc-i18n-zh-CN.properties
new file mode 100644
index 00000000..d78b800f
--- /dev/null
+++ b/openo-portal/portal-common/src/main/webapp/common/i18n/openo-nsoc-i18n-zh-CN.properties
@@ -0,0 +1,32 @@
+#
+# Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
+#
+# 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.
+#
+
+org_openo_orchestrator_nsoc=业务
+org_openo_orchestrator_nsoc_orchestrator=编排
+org_openo_orchestrator_nsoc_catalogue=目录管理
+org_openo_orchestrator_nsoc_lifecycle=生命周期管理
+org_openo_orchestrator_nsoc_pkg=包管理
+org_openo_orchestrator_nsoc_template=模板管理
+org_openo_orchestrator_nsoc_templateDetail=模板明细
+org_openo_orchestrator_nsoc_hostimage=主机镜像
+org_openo_orchestrator_nsoc_software_image=软件镜像
+org_openo_orchestrator_nsoc_appCenter=应用中心
+org_openo_orchestrator_nsoc_vapp=虚拟应用
+org_openo_orchestrator_nsoc_nodesApp=节点明细
+org_openo_orchestrator_nsoc_model_design=模型设计
+org_openo_orchestrator_nsoc_node_type=节点类型
+
+org_openo_orchestrator_roc_vnfm=VNFM管理 \ No newline at end of file
diff --git a/openo-portal/portal-common/src/main/webapp/common/i18n/openo-roc-i18n-en-US.properties b/openo-portal/portal-common/src/main/webapp/common/i18n/openo-roc-i18n-en-US.properties
new file mode 100644
index 00000000..72c4e5eb
--- /dev/null
+++ b/openo-portal/portal-common/src/main/webapp/common/i18n/openo-roc-i18n-en-US.properties
@@ -0,0 +1,21 @@
+#
+# Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
+#
+# 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.
+#
+org_openo_orchestrator_roc_resource=Resource
+org_openo_orchestrator_roc_managementview=Manage View
+org_openo_orchestrator_roc_vim=VIM Manage
+org_openo_orchestrator_roc_vnfm=VNFM
+org_openo_orchestrator_roc_resourceview=Resource View
+org_openo_orchestrator_roc_overview=Overview
diff --git a/openo-portal/portal-common/src/main/webapp/common/i18n/openo-roc-i18n-zh-CN.properties b/openo-portal/portal-common/src/main/webapp/common/i18n/openo-roc-i18n-zh-CN.properties
new file mode 100644
index 00000000..cdc27fd1
--- /dev/null
+++ b/openo-portal/portal-common/src/main/webapp/common/i18n/openo-roc-i18n-zh-CN.properties
@@ -0,0 +1,107 @@
+#
+# Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
+#
+# 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.
+#
+
+
+com_zte_ums_eco_domain=分层管理
+com_zte_ums_eco_ems=网元管理
+
+com_zte_ums_zenap_manager=管理
+com_zte_ums_zenap_msb=微服务
+com_zte_ums_zenap_msb_apiroute=api路由
+
+
+com_zte_ums_eco_roc=资源
+com_zte_ums_eco_roc_managementview=管理视图
+com_zte_ums_eco_roc_vim=VIM管理
+com_zte_ums_eco_roc_vnfm=VNFM管理
+
+
+com_zte_ums_eco_roc_resourceview=资源视图
+com_zte_ums_eco_roc_overview=资源概览
+
+######### do ##########
+com_zte_nfv_do_wireless=域管理 - vManager
+com_zte_nfv_do_wired=域管理 - vBrasManager
+com_zte_nfv_do_application=域管理 - iVLManage
+com_zte_nfv_do_vDirector=域管理 - vDirector
+com_zte_nfv_do_iRos=域管理 - iRos
+
+######### iRos ##########
+iRos-index=首页
+iRos-resourcemanage=资源管理
+iRos-user=用户管理
+iRos-template=模板管理
+iRos-toInstanceSC=实例管理
+
+######### vManager ##########
+com_zte_nfv_vmanager_nsoc_overview=概况
+com_zte_nfv_vmanager_nsoc_topo=拓扑
+com_zte_nfv_vmanager_nsoc_vim_tenantmanager=VIM配置管理
+com_zte_nfv_vmanager_nsoc_catalog_pkg=版本包
+com_zte_nfv_vmanager_nsoc_catalog_template=VNF模板
+com_zte_nfv_vmanager_nsoc_catalog_neds=网元目录
+com_zte_nfv_vmanager_nsoc_catalog_nfvr=NFV实例目录
+com_zte_nfv_vmanager_nsoc_catalog_service_chain=Service Chain
+com_zte_nfv_vmanager_nsoc_scalable_policy=弹性伸缩策略
+
+######### vDirector ##########
+vdirector-hd=硬件管理
+vdirector-hd-overview=概览
+vdirector-hd-pod=POD
+vdirector-hd-rackAndChassis=机架/机框
+vdirector-hd-boards=刀片
+vdirector-hd-storages=磁盘阵列
+vdirector-hd-switches=交换机
+vdirector-hd-racks=机架
+vdirector-hd-chassis=机框
+
+vdirector-cloud=云管理
+vdirector-clouddeploy=云部署
+vdirector-cloudMonitor=云环境
+vdirector-clouddeploy-summary=云部署概览
+vdirector-clouddeploy-Servers=云部署服务器
+vdirector-cloudMonitor-summary=云环境概览
+vdirector-tenant-mgr=租户管理
+vdirector-res=资源配置
+
+vdirector-template=模板管理
+vdirector-image=镜像
+vdirector-app=应用软件
+vdirector-app-overview=应用概览
+vdirector-vnfm=vnfm
+vdirector-addapp=创建应用
+
+######### menus more opencos/openstack ##########
+col-nfvroc-vim-sys-dashboard=系统面板
+nfvroc-vim-sys-dashboard-more=更多操作
+
+nfvroc-vim-sys-dashboard-overview-i18n=概况
+nfvroc-vim-sys-dashboard-resource-i18n=资源使用情况
+nfvroc-vim-sys-dashboard-vm-i18n=虚拟机管理器
+nfvroc-vim-sys-dashboard-hosts-i18n=主机集合
+nfvroc-vim-sys-dashboard-instance-i18n=实例
+nfvroc-vim-sys-dashboard-cloud-harddisk-i18n=云硬盘
+nfvroc-vim-sys-dashboard-cloud-host-type-i18n=云主机类型
+nfvroc-vim-sys-dashboard-mirror-i18n=镜像
+nfvroc-vim-sys-dashboard-networks-i18n=网络
+nfvroc-vim-sys-dashboard-routers-i18n=路由
+nfvroc-vim-sys-dashboard-sys-info-i18n=系统信息
+
+
+
+
+
+
diff --git a/openo-portal/portal-common/src/main/webapp/common/i18n/openo-umc-i18n-en-US.properties b/openo-portal/portal-common/src/main/webapp/common/i18n/openo-umc-i18n-en-US.properties
new file mode 100644
index 00000000..63023eee
--- /dev/null
+++ b/openo-portal/portal-common/src/main/webapp/common/i18n/openo-umc-i18n-en-US.properties
@@ -0,0 +1,27 @@
+#
+# Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
+#
+# 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.
+#
+org_openo_orchestrator_umc_monitor=Monitor
+org_openo_orchestrator_umc_monitor_setting=Setting
+org_openo_orchestrator_umc_monitor_para_setting=Monitor Para Setting
+org_openo_orchestrator_umc_topo=Topology
+org_openo_orchestrator_umc_physical_topo=Physical Topology
+org_openo_orchestrator_umc_service_topo=Service Topology
+org_openo_orchestrator_umc_fm=Alarm
+org_openo_orchestrator_umc_fm_currentAlarm=Alarm Query
+org_openo_orchestrator_umc_pm=Performance
+org_openo_orchestrator_umc_pm_performance_query=Performance Query
+org_openo_orchestrator_umc_monitor_service=Service List
+org_openo_orchestrator_umc_monitor_service_overview=Overview
diff --git a/openo-portal/portal-common/src/main/webapp/common/i18n/openo-umc-i18n-zh-CN.properties b/openo-portal/portal-common/src/main/webapp/common/i18n/openo-umc-i18n-zh-CN.properties
new file mode 100644
index 00000000..2fa26b27
--- /dev/null
+++ b/openo-portal/portal-common/src/main/webapp/common/i18n/openo-umc-i18n-zh-CN.properties
@@ -0,0 +1,27 @@
+#
+# Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
+#
+# 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.
+#
+org_openo_orchestrator_umc_monitor=监控
+org_openo_orchestrator_umc_monitor_access=设置
+org_openo_orchestrator_umc_monitor_access_itmp=监控参数设置
+org_openo_orchestrator_umc_topo=拓扑
+org_openo_orchestrator_umc_physical_topo=物理拓扑
+org_openo_orchestrator_umc_service_topo=业务拓扑
+org_openo_orchestrator_umc_monitor_alarm=告警
+org_openo_orchestrator_umc_monitor_alarm_currentAlarm=当前告警
+org_openo_orchestrator_umc_monitor_perform=性能
+org_openo_orchestrator_umc_monitor_perform_historySearch=历史查询
+org_openo_orchestrator_umc_monitor_service=业务监控
+org_openo_orchestrator_umc_monitor_service_overview=业务概览 \ No newline at end of file
diff --git a/openo-portal/portal-common/src/main/webapp/common/i18n/web-portal-login-i18n-en-US.properties b/openo-portal/portal-common/src/main/webapp/common/i18n/web-portal-login-i18n-en-US.properties
deleted file mode 100644
index 00a32fbe..00000000
--- a/openo-portal/portal-common/src/main/webapp/common/i18n/web-portal-login-i18n-en-US.properties
+++ /dev/null
@@ -1,49 +0,0 @@
-#
-# 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.
-#
-
-com_zte_ums_ict_portal_login_welcome=Welcome
-com_zte_ums_ict_portal_login_userPassword=User Name or Password Error
-inputUserName=Please Input User Name
-inputPassword=Please Input Password
-com_zte_ums_ict_portal_login_rememberMe=Remember Me
-com_zte_ums_ict_portal_login_companyName=2014 @; ZTE - Corporation
-com_zte_ums_ict_login_inputname=Please Input User Name
-com_zte_ums_ict_login_inputpwd=Please Input Password
-com_zte_ums_aos_portal_login_username=Username:
-com_zte_ums_aos_portal_login_password=Password:
-com_zte_ums_aos_portal_login_validateCode=Validate Code:&nbsp;
-com_zte_ums_aos_portal_login_login=Login
-com_zte_ums_aos_portal_login_reset=Reset
-com_zte_ums_aos_portal_login_notice=To make your experience more smoothly and better, please download the lastest browser(Windows 32bit):
-com_zte_ums_aos_portal_login_group_localdownload=Local download
-com_zte_ums_aos_portal_login_group_officialdownload=Official download
-com_zte_ums_aos_portal_ui_changePwd=Change Password
-com_zte_ums_aos_sm_user_op_ok=Operation succeeded.
-com_zte_ums_aos_sm_user_close_button=Close
-com_zte_ums_aos_sm_user_confirm=Confirm
-com_zte_ums_aos_login_warning_title = Warning
-com_zte_ums_aos_sm_user_modify_current_password_label=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;User Password Set
-com_zte_ums_aos_sm_user_modify_current_password=User Password Set
-com_zte_ums_aos_sm_user_old_password=Old Password
-com_zte_ums_aos_sm_user_confirmpassword=Confirm Password
-com_zte_ums_aos_sm_user_cancel_button=Cancel
-com_zte_ums_aos_sm_user_password=New Password
-com_zte_ums_aos_sm_password_confirm_not_consistent = password and confirm password is not the same.
-com_zte_ums_aos_portal_login_group_download = Download
-com_zte_ums_aos_portal_login_notice_about_chromeFrame=Please download and install the following browser.Otherwise, some functions may become exceptional.
-com_zte_ums_aos_portal_login_recommend_notice=Recommend the use of IE8, IE9, IE10, Chrome27, Firefox20.1 browser, recommend the display resolution: 1280 * 800.
-com_zte_ums_ict_portal_login_serv_error=Login Error
-com_zte_ums_ict_portal_login_title=NFV Mano System \ No newline at end of file
diff --git a/openo-portal/portal-common/src/main/webapp/common/i18n/web-portal-login-i18n-zh-CN.properties b/openo-portal/portal-common/src/main/webapp/common/i18n/web-portal-login-i18n-zh-CN.properties
deleted file mode 100644
index 18164a5e..00000000
--- a/openo-portal/portal-common/src/main/webapp/common/i18n/web-portal-login-i18n-zh-CN.properties
+++ /dev/null
@@ -1,49 +0,0 @@
-#
-# 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.
-#
-
-com_zte_ums_ict_portal_login_welcome=欢迎登录
-com_zte_ums_ict_portal_login_userPassword=用户名和密码错误
-inputUserName=请输入用户名
-inputPassword=请输入密码
-com_zte_ums_ict_portal_login_rememberMe=记住我
-com_zte_ums_ict_portal_login_companyName=2014 © ZTE - 中兴通讯股份有限公司
-com_zte_ums_ict_login_inputname=请输入用户名
-com_zte_ums_ict_login_inputpwd=请输入密码
-com_zte_ums_aos_portal_login_username=用户名:
-com_zte_ums_aos_portal_login_password=密 码:
-com_zte_ums_aos_portal_login_validateCode=验证码:
-com_zte_ums_aos_portal_login_login=登录
-com_zte_ums_aos_portal_login_reset=重置
-com_zte_ums_aos_portal_login_notice=为了有更好更流畅的操作体验,请更新到最新的浏览器,请下载(Windows 32位):
-com_zte_ums_aos_portal_login_group_localdownload=本地下载
-com_zte_ums_aos_portal_login_group_officialdownload=官方下载
-com_zte_ums_aos_portal_ui_changePwd=修改密码
-com_zte_ums_aos_sm_user_op_ok=操作成功。
-com_zte_ums_aos_sm_user_close_button=关闭
-com_zte_ums_aos_sm_user_confirm=确定
-com_zte_ums_aos_login_warning_title = 警告
-com_zte_ums_aos_sm_user_modify_current_password_label=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;当前用户密码设置
-com_zte_ums_aos_sm_user_modify_current_password=当前用户密码设置
-com_zte_ums_aos_sm_user_old_password=旧密码
-com_zte_ums_aos_sm_user_confirmpassword=确认密码
-com_zte_ums_aos_sm_user_cancel_button=取消
-com_zte_ums_aos_sm_user_password=新密码
-com_zte_ums_aos_sm_password_confirm_not_consistent = 密码输入不一致。
-com_zte_ums_aos_portal_login_group_download = 下载
-com_zte_ums_aos_portal_login_notice_about_chromeFrame=为了不影响系统的功能正常使用,请连网安装并使用下面的浏览器:
-com_zte_ums_aos_portal_login_recommend_notice=推荐使用IE8及以上、Chrome27及以上、Firefox20.1及以上版本浏览器,推荐显示分辨率:1280×800。
-com_zte_ums_ict_portal_login_serv_error=登录异常
-com_zte_ums_ict_portal_login_title=虚拟化管理编排系统
diff --git a/openo-portal/portal-common/src/main/webapp/common/i18n/web-portal-login-integration-i18n-en-US.properties b/openo-portal/portal-common/src/main/webapp/common/i18n/web-portal-login-integration-i18n-en-US.properties
index 8ecfed9f..d84c00d7 100644
--- a/openo-portal/portal-common/src/main/webapp/common/i18n/web-portal-login-integration-i18n-en-US.properties
+++ b/openo-portal/portal-common/src/main/webapp/common/i18n/web-portal-login-integration-i18n-en-US.properties
@@ -15,13 +15,12 @@
#
-com_zte_ums_ict_portal_login_title=ICT Management System
+com_zte_ums_ict_portal_login_title=OPEN-O System
com_zte_ums_ict_portal_login_welcome=Welcome
com_zte_ums_ict_portal_login_userPassword=User Name or Password Error
inputUserName=Please Input User Name
inputPassword=Please Input Password
com_zte_ums_ict_portal_login_rememberMe=Remember Me
-com_zte_ums_ict_portal_login_companyName=2014 @; ZTE - Corporation
com_zte_ums_ict_login_inputname=Please Input User Name
com_zte_ums_ict_login_inputpwd=Please Input Password
com_zte_ums_aos_portal_login_username=Username:
diff --git a/openo-portal/portal-common/src/main/webapp/common/i18n/web-portal-login-integration-i18n-zh-CN.properties b/openo-portal/portal-common/src/main/webapp/common/i18n/web-portal-login-integration-i18n-zh-CN.properties
index c1d96f2d..3fc18d9f 100644
--- a/openo-portal/portal-common/src/main/webapp/common/i18n/web-portal-login-integration-i18n-zh-CN.properties
+++ b/openo-portal/portal-common/src/main/webapp/common/i18n/web-portal-login-integration-i18n-zh-CN.properties
@@ -21,7 +21,6 @@ com_zte_ums_ict_portal_login_userPassword=用户名和密码错误
inputUserName=请输入用户名
inputPassword=请输入密码
com_zte_ums_ict_portal_login_rememberMe=记住我
-com_zte_ums_ict_portal_login_companyName=2014 © ZTE - 中兴通讯股份有限公司
com_zte_ums_ict_login_inputname=请输入用户名
com_zte_ums_ict_login_inputpwd=请输入密码
com_zte_ums_aos_portal_login_username=用户名:
diff --git a/openo-portal/portal-common/src/main/webapp/common/image/integration/logo.png b/openo-portal/portal-common/src/main/webapp/common/image/integration/logo.png
deleted file mode 100644
index 9277eb11..00000000
--- a/openo-portal/portal-common/src/main/webapp/common/image/integration/logo.png
+++ /dev/null
Binary files differ
diff --git a/openo-portal/portal-common/src/main/webapp/common/image/integration/zte_bg_1.jpg b/openo-portal/portal-common/src/main/webapp/common/image/integration/openo_bg_1.jpg
index 4a7b0722..4a7b0722 100644
--- a/openo-portal/portal-common/src/main/webapp/common/image/integration/zte_bg_1.jpg
+++ b/openo-portal/portal-common/src/main/webapp/common/image/integration/openo_bg_1.jpg
Binary files differ
diff --git a/openo-portal/portal-common/src/main/webapp/common/image/integration/zte_bg_2.jpg b/openo-portal/portal-common/src/main/webapp/common/image/integration/openo_bg_2.jpg
index db94b166..db94b166 100644
--- a/openo-portal/portal-common/src/main/webapp/common/image/integration/zte_bg_2.jpg
+++ b/openo-portal/portal-common/src/main/webapp/common/image/integration/openo_bg_2.jpg
Binary files differ
diff --git a/openo-portal/portal-common/src/main/webapp/common/image/integration/zte_bg_3.jpg b/openo-portal/portal-common/src/main/webapp/common/image/integration/openo_bg_3.jpg
index f2949dfe..f2949dfe 100644
--- a/openo-portal/portal-common/src/main/webapp/common/image/integration/zte_bg_3.jpg
+++ b/openo-portal/portal-common/src/main/webapp/common/image/integration/openo_bg_3.jpg
Binary files differ
diff --git a/openo-portal/portal-common/src/main/webapp/common/image/integration/zte_logo_white.png b/openo-portal/portal-common/src/main/webapp/common/image/integration/openo_logo_white.png
index ef9aedb7..ef9aedb7 100644
--- a/openo-portal/portal-common/src/main/webapp/common/image/integration/zte_logo_white.png
+++ b/openo-portal/portal-common/src/main/webapp/common/image/integration/openo_logo_white.png
Binary files differ
diff --git a/openo-portal/portal-common/src/main/webapp/common/image/integration/zte_logo_16.gif b/openo-portal/portal-common/src/main/webapp/common/image/integration/zte_logo_16.gif
deleted file mode 100644
index 2a2d258b..00000000
--- a/openo-portal/portal-common/src/main/webapp/common/image/integration/zte_logo_16.gif
+++ /dev/null
Binary files differ
diff --git a/openo-portal/portal-common/src/main/webapp/common/image/integration/ztelogo.png b/openo-portal/portal-common/src/main/webapp/common/image/integration/ztelogo.png
deleted file mode 100644
index ebe122a2..00000000
--- a/openo-portal/portal-common/src/main/webapp/common/image/integration/ztelogo.png
+++ /dev/null
Binary files differ
diff --git a/openo-portal/portal-common/src/main/webapp/common/index.html b/openo-portal/portal-common/src/main/webapp/common/index.html
deleted file mode 100644
index 7a778347..00000000
--- a/openo-portal/portal-common/src/main/webapp/common/index.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<!--
- 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.
--->
-<html>
-
-<head>
- <meta http-equiv="Refresh" content="1;url=login.html"> </head>
-
-<body> Loading... </body>
-
-</html>
diff --git a/openo-portal/portal-common/src/main/webapp/common/js/core/ZteFrameWork.js b/openo-portal/portal-common/src/main/webapp/common/js/core/openoFrameWork.js
index 9e2b10d8..e2d07527 100644
--- a/openo-portal/portal-common/src/main/webapp/common/js/core/ZteFrameWork.js
+++ b/openo-portal/portal-common/src/main/webapp/common/js/core/openoFrameWork.js
@@ -1,18 +1,7 @@
/*
- * 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.
- */
+主框架
+*/
+/*string类型的去前后空格和format方法*/
String.prototype.trim = function() {
return this.replace(/(^\s*)|(\s*$)/g, "");
};
@@ -341,7 +330,7 @@ var s=!function(w,d){
return purl;
});
//把框架所有的ajax请求集中到一起,发一条请求,获取所有的配置信息。
-ZteFrameWork_conf = {
+openoFrameWork_conf = {
userName:store.get('username'),
changePassItem:FrameConst.change_pass?FrameConst.change_pass:true,
helpMenuItem:false,
@@ -351,9 +340,9 @@ ZteFrameWork_conf = {
logoutMenuItem:true,
defaultThemeColor:"ztebluelight2",
dbType:"other",
- acceptLanguage:"zh-CN"
+ acceptLanguage:"en-US"
};
-$("#currentUser").html(ZteFrameWork_conf.userName);
+$("#currentUser").html(openoFrameWork_conf.userName);
$.ajax({
url : FrameConst.REST_FRAMECOMMIFO,
@@ -363,31 +352,31 @@ $.ajax({
success: function(data){
var tempConf = data;
if( tempConf.helpMenuItem && tempConf.helpMenuItem != "" ){
- ZteFrameWork_conf.helpMenuItem = tempConf.helpMenuItem;
+ openoFrameWork_conf.helpMenuItem = tempConf.helpMenuItem;
}
if( tempConf.aboutMenuItem && tempConf.aboutMenuItem != "" ){
- ZteFrameWork_conf.aboutMenuItem = tempConf.aboutMenuItem;
+ openoFrameWork_conf.aboutMenuItem = tempConf.aboutMenuItem;
}
if( tempConf.flightMenuItem && tempConf.flightMenuItem != "" ){
- ZteFrameWork_conf.flightMenuItem = tempConf.flightMenuItem;
+ openoFrameWork_conf.flightMenuItem = tempConf.flightMenuItem;
}
if( tempConf.fullscreenMenuItem && tempConf.fullscreenMenuItem != "" ){
- ZteFrameWork_conf.fullscreenMenuItem = tempConf.fullscreenMenuItem;
+ openoFrameWork_conf.fullscreenMenuItem = tempConf.fullscreenMenuItem;
}
if( tempConf.logoutMenuItem && tempConf.logoutMenuItem != "" ){
- ZteFrameWork_conf.logoutMenuItem = tempConf.logoutMenuItem;
+ openoFrameWork_conf.logoutMenuItem = tempConf.logoutMenuItem;
}
if( tempConf.defaultThemeColor && tempConf.defaultThemeColor != "" ){
- ZteFrameWork_conf.defaultThemeColor = tempConf.defaultThemeColor;
+ openoFrameWork_conf.defaultThemeColor = tempConf.defaultThemeColor;
}
if( tempConf.dbType && tempConf.dbType != "" ){
- ZteFrameWork_conf.dbType = tempConf.dbType;
+ openoFrameWork_conf.dbType = tempConf.dbType;
}
if( tempConf.acceptLanguage && tempConf.acceptLanguage != "" ){
- ZteFrameWork_conf.acceptLanguage = tempConf.acceptLanguage;
+ openoFrameWork_conf.acceptLanguage = tempConf.acceptLanguage;
}
if( tempConf.changePassItem && tempConf.changePassItem != "" ){
- ZteFrameWork_conf.changePassItem = tempConf.changePassItem;
+ openoFrameWork_conf.changePassItem = tempConf.changePassItem;
}
setFrameWorkByConf();
@@ -416,12 +405,12 @@ function setThemeColor( configColor ){
function setFrameWorkByConf(){
//设置用户相关的框架下拉菜单是否可用
- var helpMenuItem = ZteFrameWork_conf.helpMenuItem;
- var aboutMenuItem = ZteFrameWork_conf.aboutMenuItem;
- var flightMenuItem = ZteFrameWork_conf.flightMenuItem;
- var fullscreenMenuItem = ZteFrameWork_conf.fullscreenMenuItem;
- var logoutMenuItem = ZteFrameWork_conf.logoutMenuItem;
- var changePassMenuItem = ZteFrameWork_conf.changePassMenuItem;
+ var helpMenuItem = openoFrameWork_conf.helpMenuItem;
+ var aboutMenuItem = openoFrameWork_conf.aboutMenuItem;
+ var flightMenuItem = openoFrameWork_conf.flightMenuItem;
+ var fullscreenMenuItem = openoFrameWork_conf.fullscreenMenuItem;
+ var logoutMenuItem = openoFrameWork_conf.logoutMenuItem;
+ var changePassMenuItem = openoFrameWork_conf.changePassMenuItem;
if (!helpMenuItem || helpMenuItem === "false") {
$('#uep_ict_help_url').parent('li').remove();
}
@@ -451,7 +440,7 @@ function setFrameWorkByConf(){
}
//设置二次开发者选择的框架皮肤
- var defaultColor = ZteFrameWork_conf.defaultThemeColor;
+ var defaultColor = openoFrameWork_conf.defaultThemeColor;
var panel = $('.zte-theme-panel');
$('ul > li', panel).removeClass("current");
if (store && !store('style_color')) { // cookie没有才设置默认主题
@@ -493,14 +482,14 @@ var fMenuSiderDivId = 'page-f-sidebar-menu';
var fMenuMegaDivId = 'f_hormenu';
var megaSiderDivId = 'page-megachild-sidebar-menu';
var megaDivId = 'main_hormenu';
-var zteframework_menu_horizontal = "horizontal";
-var zteframework_menu_vertical = "vertical";
-var zteframework_menu_fmenu = "fmenu";
-var zteframework_showNav = "true";
-var zteframework_smallView = 960;//原来为992,但是在投影仪上不准(投影仪设置为1024,但是实际尺寸比1024小),边栏菜单也会被移除,这个设置一个稍小的值。
+var openoFrameWork_menu_horizontal = "horizontal";
+var openoFrameWork_menu_vertical = "vertical";
+var openoFrameWork_menu_fmenu = "fmenu";
+var openoFrameWork_showNav = "true";
+var openoFrameWork_smallView = 960;//原来为992,但是在投影仪上不准(投影仪设置为1024,但是实际尺寸比1024小),边栏菜单也会被移除,这个设置一个稍小的值。
/*下面是主框架的核心*/
-var ZteFrameWork = function () {
+var openoFrameWork = function () {
var defaultLanage=getLanguage();
var isRTL = false;//文档顺序
var isTouch=function(){
@@ -626,7 +615,7 @@ var ZteFrameWork = function () {
var dealSidebarState = function () {
// 窗体宽度小尺寸(平板和iphone模式下)时移出左边栏
var viewport = _getViewPort();
- if (viewport.width < zteframework_smallView) {
+ if (viewport.width < openoFrameWork_smallView) {
$('body').removeClass("page-sidebar-closed");
}else{
if (getCookie('sidebar_closed') === '1') {
@@ -634,7 +623,7 @@ var ZteFrameWork = function () {
}
}
}
- // ZteFrameWork.addResponsiveHandler()回调函数.
+ // openoFrameWork.addResponsiveHandler()回调函数.
var runResponsiveHandlers = function () {
//重新初始化其他订阅的元素elements
for (var i = 0; i < responsiveHandlers.length; i++) {
@@ -699,17 +688,17 @@ var ZteFrameWork = function () {
fsiderMenu.css('display','none');
return;
}
- if (zteframework_menu_horizontal == siderbarpos) {
+ if (openoFrameWork_menu_horizontal == siderbarpos) {
sidermenu.css('display','none');// 侧边栏隐藏
fhorMenu.css('display','none');// 侧边栏隐藏
fsiderMenu.css('display','none');// 侧边栏隐藏
hormenu.css("display", "block");//显示水平菜单栏
- } else if (zteframework_menu_vertical == siderbarpos) {
+ } else if (openoFrameWork_menu_vertical == siderbarpos) {
sidermenu.css('display','block');// 侧边栏显示
hormenu.css("display", "none");//隐藏水平菜单栏
fhorMenu.css('display','none');// 侧边栏隐藏
fsiderMenu.css('display','none');// 侧边栏隐藏
- } else if (zteframework_menu_fmenu == siderbarpos) {
+ } else if (openoFrameWork_menu_fmenu == siderbarpos) {
sidermenu.css('display','none');
hormenu.css("display", "none");
fhorMenu.css('display','block');
@@ -866,7 +855,7 @@ var ZteFrameWork = function () {
// 屏幕小尺寸时会隐藏边栏,这时菜单由小屏幕右上图标控制,当屏幕变化到大尺寸屏幕时,
// 需要按原菜单出现方式恢复菜单显示。
var screenwidth = $(window).width();
- if(screenwidth >= zteframework_smallView){
+ if(screenwidth >= openoFrameWork_smallView){
changeSiderBar();
if($(".page-sidebar-menu li").css('display') != "none"){
if ($('body').hasClass("page-sidebar-closed") && $(".sidebar-toggler").hasClass("close-by-viewportChange")) {
@@ -920,7 +909,7 @@ var ZteFrameWork = function () {
}
resize = setInterval(dealIframeHeight, 400,$(this));
}*/
- ZteFrameWork.stopPageLoading();
+ openoFrameWork.stopPageLoading();
});
}
}
@@ -937,9 +926,9 @@ var ZteFrameWork = function () {
$('#header_notification_bar').html("<div>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</div>");
}
var dealShownav=function(){
- var showNav=ZteFrameWork.getLocationURLParameter('showNav');
+ var showNav=openoFrameWork.getLocationURLParameter('showNav');
if( showNav=="false"){
- zteframework_showNav = showNav;
+ openoFrameWork_showNav = showNav;
hidemenu();
hideAlarmLight();
}
@@ -960,7 +949,7 @@ var ZteFrameWork = function () {
dealFMenuRelated(source , megaSiderDivId);
targetContainer = rtn[0];
targetsource = rtn[1];
- }else if(navPosOption === zteframework_menu_fmenu){
+ }else if(navPosOption === openoFrameWork_menu_fmenu){
dealFMenuRelated(source , fMenuSiderDivId);
}
if (targetContainer) {
@@ -1031,7 +1020,7 @@ var ZteFrameWork = function () {
}else{//F菜单的竖向菜单点击
//处理一种特殊情况,告警灯打开新页面,所有的菜单都不出现,因此,虽然这个source在竖菜单,但竖菜单这个时候实际上是没有显示的
- if( zteframework_showNav == "true") {
+ if( openoFrameWork_showNav == "true") {
$('#' + siderDivId + '>li').hide();
var lis = $(source).parents('li');
var id = lis.eq(lis.length-1).children( 'a' ).attr('hparentid');
@@ -1149,14 +1138,14 @@ var ZteFrameWork = function () {
var url = aObject.attr("href");
if(!url||url.length<2)
return;
- url=ZteFrameWork.handlBaseURL(url);
+ url=openoFrameWork.handlBaseURL(url);
//-----------2015年9月21日新增V5中大O需要的按照实例(根据选择的系统实例变化url的ip和端口地址)进行动态切换菜单的功能
var category= aObject.attr("category");//处理菜单中定义的Category属性
if(category&&category.length>0){//处理Category属性
var newIpPort=_menuCategorys.items(category);
if(newIpPort&&newIpPort.ipPort&&newIpPort.ipPort.trim()!=""){//如果找到了
- var newIpPortstr=ZteFrameWork.getDomainURL(newIpPort.ipPort);//去掉ip和port后多余的部分
- var urlipport=ZteFrameWork.getDomainURL(url);
+ var newIpPortstr=openoFrameWork.getDomainURL(newIpPort.ipPort);//去掉ip和port后多余的部分
+ var urlipport=openoFrameWork.getDomainURL(url);
console.log("old url:"+url);
url=newIpPortstr+url.replace(urlipport,"");
console.log("newIpPort:"+newIpPortstr+" newURL:"+url);
@@ -1194,7 +1183,7 @@ var ZteFrameWork = function () {
pymParent.iframe.setAttribute('msallowfullscreen','');
pymParent.iframe.setAttribute('webkitallowfullscreen','');
//pymParent.iframe.setAttribute('scrolling',autoScroll);
- pymParent.iframe.setAttribute('onload', 'ZteFrameWork.SyncCSS(this,0,"'+_cssfile+'");ZteFrameWork.stopPageLoading();');
+ pymParent.iframe.setAttribute('onload', 'openoFrameWork.SyncCSS(this,0,"'+_cssfile+'");openoFrameWork.stopPageLoading();');
cachedIframesObject.replace(id,pymParent);//缓存iframe对象实体
pymParent.onMessage('height', function(he){
console.log("The frame "+id+" receive message height is "+he);
@@ -1253,7 +1242,7 @@ var ZteFrameWork = function () {
return false;//返回false 后续不再做其他动作了
}
finally{
- ZteFrameWork.stopPageLoading();
+ openoFrameWork.stopPageLoading();
}
}else{//否则url不同,或者url相同但没有shiftjs
if(nagivJS.length>0&&nagivJS.toLowerCase()!="null"){//如果是代码导航过来的去掉url参数中的默认action动作
@@ -1264,7 +1253,7 @@ var ZteFrameWork = function () {
pagemyIframe.attr("src","");//url和src不同说明更换了页面,需要清空重新加载
}else //if (src.trim()==url.trim()) //没有shiftjs并且url相同,说明不需要再次加载了,已经加载过了
{
- ZteFrameWork.stopPageLoading();
+ openoFrameWork.stopPageLoading();
}
pagemyIframe.attr("src",url);
@@ -1277,7 +1266,7 @@ var ZteFrameWork = function () {
});
}
if(_cssfile.length>0&&_cssfile.toLowerCase()!="null"){//如果配置了cssSrc,每次切换都重新执行一边这个css文件,防止有遗漏
- parm={syncCSSJS:'ZteFrameWork.SyncCSS(this,10,"'+_cssfile+'");ZteFrameWork.stopPageLoading();'};
+ parm={syncCSSJS:'openoFrameWork.SyncCSS(this,10,"'+_cssfile+'");openoFrameWork.stopPageLoading();'};
pagemyIframe.one('load',parm,function(e){
var syncCSSJS=e&&e.data&&e.data.syncCSSJS?e.data.syncCSSJS:"";
if(syncCSSJS.length>0&&syncCSSJS.toLowerCase()!="null")
@@ -1312,7 +1301,7 @@ var ZteFrameWork = function () {
}
showIframe(miframe);
- ZteFrameWork.fixContentHeight(); // 调整高度
+ openoFrameWork.fixContentHeight(); // 调整高度
return true;
}
// 处理边栏菜单
@@ -1448,7 +1437,7 @@ var ZteFrameWork = function () {
if (url.length<2){
return;
}
- url=ZteFrameWork.handlBaseURL(url);
+ url=openoFrameWork.handlBaseURL(url);
if (gurl==url){
if(e===true){
$('#pageableDiv').show();
@@ -1580,7 +1569,7 @@ var ZteFrameWork = function () {
var dhByBreadcrumb = false;
var dealBreadcrumb=function(clickedObject,notGenUID,e){//notGenUID为true就不重新生成id
var mbreadcrumb=$('.breadcrumbUl');
- ZteFrameWork.setPageTitle(clickedObject.find('span').text().trim());
+ openoFrameWork.setPageTitle(clickedObject.find('span').text().trim());
var clieckedObj= clickedObject.parent('li');
if(clieckedObj.length == 0){ //分页式更多菜单,a链接的父亲是div
clieckedObj= clickedObject.parent('div');
@@ -1601,7 +1590,7 @@ var ZteFrameWork = function () {
while (clieckedObj&&clieckedObj.length>0){
if(clieckedObj.children('a')){
if(!notGenUID){
- url=ZteFrameWork.getUniqueID("aid");//+Math.floor(Math.random() * (new Date()).getTime());
+ url=openoFrameWork.getUniqueID("aid");//+Math.floor(Math.random() * (new Date()).getTime());
clieckedObj.children('a').attr("name",url);
}else{
url=clieckedObj.children('a').attr("name");
@@ -1609,7 +1598,7 @@ var ZteFrameWork = function () {
tempObj=clieckedObj.clone();
tempObj.children('a').removeClass('iframe');
tempObj.children('a').removeClass('active');
- tempObj.children('a').attr("href","javascript:ZteFrameWork.goToURL('"+url+"');");
+ tempObj.children('a').attr("href","javascript:openoFrameWork.goToURL('"+url+"');");
var arrowdown = $(".fa-angle-down", tempObj.children('a'));
if (arrowdown) {
arrowdown.remove();
@@ -1622,9 +1611,9 @@ var ZteFrameWork = function () {
var id = clieckedObj.children( 'a' ).attr('hparentid');
//判断是F菜单还是横菜单
var megaMenu = null;
- if(navPosOption == zteframework_menu_horizontal){
+ if(navPosOption == openoFrameWork_menu_horizontal){
magaMenu = $('#'+megaDivId);
- }else if(navPosOption == zteframework_menu_fmenu){
+ }else if(navPosOption == openoFrameWork_menu_fmenu){
magaMenu = $('#'+fMenuMegaDivId);
}
clieckedObj = $("a[id=" + id + "]" , magaMenu).parent('li');
@@ -1675,7 +1664,7 @@ var ZteFrameWork = function () {
if(tempObj.children('a')){
tempObj.children('a').removeClass('iframe');
url=tempObj.children('a').attr("href");
- tempObj.children('a').attr("onclick","ZteFrameWork.openbreadcrumbLink($(this),event);");
+ tempObj.children('a').attr("onclick","openoFrameWork.openbreadcrumbLink($(this),event);");
var tempdiv = tempObj.children('a').children('div');
if( tempdiv.length > 0 ){
var innerofDiv = tempdiv[0].innerHTML;
@@ -1747,7 +1736,7 @@ var ZteFrameWork = function () {
}
var viewport = _getViewPort();
- if (viewport.width >= zteframework_smallView) {
+ if (viewport.width >= openoFrameWork_smallView) {
var sidebarHeight = _calculateFixedSidebarViewportHeight();
dealSidebarAndContentHeight();
}
@@ -1836,7 +1825,7 @@ var ZteFrameWork = function () {
// 处理边栏菜单切换时的关闭和隐藏.
var dealSidebarToggler = function () {
var viewport = _getViewPort();
- if (getCookie('sidebar_closed') === '1' && viewport.width >= zteframework_smallView) {
+ if (getCookie('sidebar_closed') === '1' && viewport.width >= openoFrameWork_smallView) {
$('body').addClass('page-sidebar-closed');
}
$('.page-sidebar, .sidebar-toggler').on('click', '.sidebar-toggler', function (e) {
@@ -1928,7 +1917,7 @@ var ZteFrameWork = function () {
return setInterval(function() {
var userName;
if( userName == null ){
- var userName = ZteFrameWork_conf.userName;
+ var userName = openoFrameWork_conf.userName;
}
var heartUrl = FrameConst.REST_HEARTBEAT + "?username=" + encodeURIComponent(userName);
$.ajax(heartUrl, {
@@ -2051,7 +2040,7 @@ var ZteFrameWork = function () {
$('.header-option', panel).val("fixed");
$('.footer-option', panel).val("default");
if ( $('.sidebar-pos-option').attr("disabled") === false) {
- $('.sidebar-pos-option', panel).val(ZteFrameWork.isRTL() ? 'right' : 'left');
+ $('.sidebar-pos-option', panel).val(openoFrameWork.isRTL() ? 'right' : 'left');
}
var _resetLayout = function () {
dealResetLayout();
@@ -2060,7 +2049,7 @@ var ZteFrameWork = function () {
dealSetLayout();
}
var setColor = function (color) {
- var color_ = (ZteFrameWork.isRTL() ? color + '-rtl' : color);
+ var color_ = (openoFrameWork.isRTL() ? color + '-rtl' : color);
$('#style_color').attr("href", ICTFRAME_CONST_THEME_COLOR_CSS_PREFFIX + color_ + ".css");
setCookie('style_color', color);
syncColorCSS();
@@ -2129,7 +2118,7 @@ var ZteFrameWork = function () {
var fsiderMenu = $("#" + fMenuSiderDivId);
var pcontent = $("[class='page-content']");
if (sidermenu && sidermenu.length > 0 && hormenu && hormenu.length > 0 && fhorMenu && fhorMenu.length > 0) {
- if (navPosOption === zteframework_menu_horizontal) {
+ if (navPosOption === openoFrameWork_menu_horizontal) {
sidermenu.css('display','none');// 侧边栏隐藏
fhorMenu.css('display','none');
fsiderMenu.css('display','none');
@@ -2141,7 +2130,7 @@ var ZteFrameWork = function () {
$('.sidebar-option', panel).attr("disabled", true);
$('.sidebar-pos-option', panel).val("left");
$('.sidebar-pos-option', panel).attr("disabled", true);
- } else if (navPosOption === zteframework_menu_vertical ) {
+ } else if (navPosOption === openoFrameWork_menu_vertical ) {
$("body").removeClass("page-full-width");
sidermenu.css('display','block');//侧边栏显示
var body = $('body');
@@ -2156,7 +2145,7 @@ var ZteFrameWork = function () {
horSiderMenu.css('display','none');
$('.sidebar-option', panel).attr("disabled", false);
$('.sidebar-pos-option', panel).attr("disabled", false);
- } else if(navPosOption === zteframework_menu_fmenu ){
+ } else if(navPosOption === openoFrameWork_menu_fmenu ){
sidermenu.css('display','none');// 侧边栏隐藏
hormenu.css("display", "none");//隐藏水平菜单栏
fsiderMenu.css('display','none');
@@ -2235,7 +2224,7 @@ var ZteFrameWork = function () {
$("body").removeClass("page-footer-fixed");
}
//sidebar position
- if (ZteFrameWork.isRTL()) {
+ if (openoFrameWork.isRTL()) {
if (sidebarPosOption === 'left') {
$("body").addClass("page-sidebar-reversed");
$('#frontend-link').tooltip('destroy').tooltip({placement: 'right'});
@@ -2310,7 +2299,7 @@ var ZteFrameWork = function () {
id = path.substring(0,spIndex);
action = path.substring(spIndex+1);
}
- ZteFrameWork.goToURLByIDAndNewAction(id,action);
+ openoFrameWork.goToURLByIDAndNewAction(id,action);
}
var syncColorCSS=function(){//注册皮肤切换事件处理函数,处理iframe中的皮肤切换
var pagemyIframe=null;
@@ -2318,7 +2307,7 @@ var ZteFrameWork = function () {
for (var i in cachedIframes.hash()) {
pagemyIframe=$('.page-content .page-content-body .'+i);
if(pagemyIframe&&pagemyIframe.length>0){
- ZteFrameWork.SyncCSS(pagemyIframe[0],1,"");
+ openoFrameWork.SyncCSS(pagemyIframe[0],1,"");
}
}
}
@@ -2336,7 +2325,7 @@ var ZteFrameWork = function () {
}
//处理跨域请求代理,通过该代理进行iframe间传递参数,注意这里的代理页面proxy.html必须部署到要跨域的对端域的服务器web根目录下
var dealCrossProxy=function(ifrm,crossproxysrc,ifmHeadlins,flag){//crossproxysrc这个是proxy.html对应的url根路径
- var url=$.url(ZteFrameWork.getCurrentScript(document));
+ var url=$.url(openoFrameWork.getCurrentScript(document));
var proxyHtmlPath=url.attr("directory")+"proxy/proxy.html"//这中情况适用于使用了该界面集成框架的应用系统
var _ifmProxy=$('<iframe id="ifm_Proxy" name="ifm_Proxy" oldproxyorigin="'+crossproxysrc+'" src="'+crossproxysrc+proxyHtmlPath+'" style="border: 0px; margin: 0px; padding: 0px; width: 100%; display:none;" ></iframe>');
var _ifm=$('#ifm_Proxy');
@@ -2445,7 +2434,7 @@ var ZteFrameWork = function () {
$('title').html(title+" - "+gdocTitle);
},
getLanguage:function(){//获取语言
- return ZteFrameWork_conf.acceptLanguage;
+ return openoFrameWork_conf.acceptLanguage;
},
getLocationHash:function(){
@@ -2484,13 +2473,13 @@ var ZteFrameWork = function () {
if (!items || items.length < 1) {
items=$(".page-content a[id='"+id+"']");
}
- }else if(navPosOption === zteframework_menu_horizontal){//从水平菜单里面找
+ }else if(navPosOption === openoFrameWork_menu_horizontal){//从水平菜单里面找
items=$("#main_hormenu a[id='"+id+"']");
if(items.length == 0){
//横菜单没有找到,再在横菜单的子菜单找一次
items=$("#page-megachild-sidebar-menu a[id='"+id+"']");
}
- }else if(navPosOption === zteframework_menu_fmenu){
+ }else if(navPosOption === openoFrameWork_menu_fmenu){
items=$("#f_hormenu a[id='"+id+"']");
if(items.length == 0){
//横菜单没有找到,再在竖菜单找一次。
@@ -2557,11 +2546,11 @@ var ZteFrameWork = function () {
},
//2015年10月26日新增动态切换菜单的功能,这里的菜单还需要再次更换菜单项访问的ip端口信息
handlBaseURL:function(url){
- var baseURLRoot=ZteFrameWork.getBaseURLRoot();
+ var baseURLRoot=openoFrameWork.getBaseURLRoot();
if (baseURLRoot.length>0) {//2015年10月26日新增动态切换菜单的功能,这里的菜单还需要再次更换菜单项访问的ip端口信息
- baseURLRoot=ZteFrameWork.getDomainURL(baseURLRoot);//去掉ip和port后多余的部分
+ baseURLRoot=openoFrameWork.getDomainURL(baseURLRoot);//去掉ip和port后多余的部分
console.log("old a link href url:"+url);
- url=baseURLRoot+url.replace(ZteFrameWork.getDomainURL(url),"");
+ url=baseURLRoot+url.replace(openoFrameWork.getDomainURL(url),"");
console.log("baseURLRoot:"+baseURLRoot+" newURL:"+url);
};
return url;
@@ -2756,7 +2745,7 @@ var ZteFrameWork = function () {
hkjs=document.createElement("script"); ////hk.js 加载后拦截ajax请求进行转发
}
}
- var crossOrign=ZteFrameWork.getDomainURL(ifrm.src);
+ var crossOrign=openoFrameWork.getDomainURL(ifrm.src);
if( window.location.origin==crossOrign){ //第一层同域处理
for (i=0;i<ifmHeadlins.length;i++){
var link=ifrm.contentDocument.getElementById(ifmHeadlins[i].link.id);
@@ -2784,7 +2773,7 @@ var ZteFrameWork = function () {
}
for(j=0;j<childifrms.length;j++){
var parm={ifmHeadlins:ifmHeadlins2};
- var childOrign=ZteFrameWork.getDomainURL(childifrms[j].src);
+ var childOrign=openoFrameWork.getDomainURL(childifrms[j].src);
if(window.location.origin==childOrign){//同域
var ifrmload=function(e){
for (i=0;i<e.data.ifmHeadlins.length;i++){
@@ -2827,7 +2816,7 @@ var ZteFrameWork = function () {
},
goToURL:function(url){
dhByBreadcrumb = true;//全局变量,声明此次事件是由点击面包屑发起的
- var showNav=ZteFrameWork.getLocationURLParameter('showNav');
+ var showNav=openoFrameWork.getLocationURLParameter('showNav');
if(showNav=="false"){//如果不显示菜单,就强制刷新本页
location.reload();
}else{
@@ -2836,7 +2825,7 @@ var ZteFrameWork = function () {
}
},
goToURLByName:function(name){
- var showNav=ZteFrameWork.getLocationURLParameter('showNav');
+ var showNav=openoFrameWork.getLocationURLParameter('showNav');
if(showNav=="false"){//如果不显示菜单,就强制刷新本页
location.reload();
}else{
@@ -2848,7 +2837,7 @@ var ZteFrameWork = function () {
if(!id){
return;
}
- var showNav=ZteFrameWork.getLocationURLParameter('showNav');
+ var showNav=openoFrameWork.getLocationURLParameter('showNav');
if(showNav=="false"){//如果不显示菜单,就强制刷新本页
location.reload();
}else{
@@ -2916,7 +2905,7 @@ var ZteFrameWork = function () {
waittime = setInterval(function () {
if(moreMenusisLoaded==true){
clearInterval(waittime);
- ZteFrameWork.goToURLByIDAndNewAction(id,newActionStr,null);
+ openoFrameWork.goToURLByIDAndNewAction(id,newActionStr,null);
}
}, 10);
},
@@ -2984,12 +2973,12 @@ var ZteFrameWork = function () {
if(menuitem&&menuitem.length>0){
var panel = $('.zte-theme-panel');
var navPosOption = $('.nav-pos-direction', panel).val();
- if(navPosOption === zteframework_menu_fmenu){
+ if(navPosOption === openoFrameWork_menu_fmenu){
var hparentid=menuitem.attr("hparentid");
var id=menuitem.attr("id");
var i=0,menuItemH=menuitem;
while (id!=hparentid&&i<20){
- menuItemH=ZteFrameWork.findMenuItemByMenuId(hparentid);
+ menuItemH=openoFrameWork.findMenuItemByMenuId(hparentid);
hparentid=menuItemH.attr("hparentid");
id=menuItemH.attr("id");
i++;
@@ -3024,7 +3013,7 @@ var ZteFrameWork = function () {
if(menuitem&&menuitem.length>0){
menuitem.one('click',parm,function(e){ //临时一次性的注册一次click事件处理函数,执行完毕会自动删除
- ZteFrameWork.dealAtoIframe($(this),e);
+ openoFrameWork.dealAtoIframe($(this),e);
//$(window).one('hashchange', loadCurrentHash);
return false;
});
@@ -3049,13 +3038,13 @@ var ZteFrameWork = function () {
var items = undefined;
if (navPosOption === "vertical"){ //从垂直菜单里面找
items=$("#page-sidebar-menu a[id='"+id+"']");
- }else if(navPosOption === zteframework_menu_horizontal){//从水平菜单里面找
+ }else if(navPosOption === openoFrameWork_menu_horizontal){//从水平菜单里面找
items=$("#main_hormenu a[id='"+id+"']");
if(items.length == 0){
//横菜单没有找到,再在横菜单的子菜单找一次
items=$("#page-megachild-sidebar-menu a[id='"+id+"']");
}
- }else if(navPosOption === zteframework_menu_fmenu){
+ }else if(navPosOption === openoFrameWork_menu_fmenu){
items=$("#f_hormenu a[id='"+id+"']");
if(items.length == 0){
//横菜单没有找到,再在竖菜单找一次。
@@ -3086,11 +3075,11 @@ var ZteFrameWork = function () {
var panel = $('.zte-theme-panel');
var navPosOption = $('.nav-pos-direction', panel).val();
var mainMenuId = null;
- if (navPosOption === zteframework_menu_vertical){
+ if (navPosOption === openoFrameWork_menu_vertical){
relationAry=sideBarMenu_to_moreMenu_frame;
- }else if(navPosOption === zteframework_menu_horizontal){
+ }else if(navPosOption === openoFrameWork_menu_horizontal){
relationAry=horBarMenu_to_moreMenu_frame;
- }else if(navPosOption === zteframework_menu_fmenu){
+ }else if(navPosOption === openoFrameWork_menu_fmenu){
relationAry=horBarMenu_to_moreMenu_frame;
}
if ( !relationAry || !id ){
@@ -3119,13 +3108,13 @@ var ZteFrameWork = function () {
var navPosOption = $('.nav-pos-direction', panel).val();
if (navPosOption === "vertical"){ //从垂直菜单里面找
items=$("#page-sidebar-menu a[id='"+id+"']");
- }else if(navPosOption === zteframework_menu_horizontal){//从水平菜单里面找
+ }else if(navPosOption === openoFrameWork_menu_horizontal){//从水平菜单里面找
items=$("#main_hormenu a[id='"+id+"']");
if(items.length == 0){
//横菜单没有找到,再在横菜单的子菜单找一次
items=$("#page-megachild-sidebar-menu a[id='"+id+"']");
}
- }else if(navPosOption === zteframework_menu_fmenu){
+ }else if(navPosOption === openoFrameWork_menu_fmenu){
items=$("#f_hormenu a[id='"+id+"']");
if(items.length == 0){
//横菜单没有找到,再在竖菜单找一次。
@@ -3203,7 +3192,7 @@ function runHtmlScripts(s) {
var scripts = div.getElementsByTagName('script');
$(scripts).each(function(){
var src = this.src;
- src=ZteFrameWork.handlBaseURL(src);
+ src=openoFrameWork.handlBaseURL(src);
if(src){
//存储当前Script标签的绝对路径以适应该js被其他系统跨域引用的情况
currentRunningScriptSrcPath[src.substring(src.lastIndexOf("/") + 1)] = src.substring(0, src.lastIndexOf("/")+1);
@@ -3223,7 +3212,7 @@ function stripHtmlScripts(s) {
}else{
$.globalEval(this.text || this.textContent || this.innerHTML || '');
} */
- this.src=ZteFrameWork.handlBaseURL(this.src);
+ this.src=openoFrameWork.handlBaseURL(this.src);
this.parentNode.removeChild(this);
});
return div.innerHTML;
@@ -3232,8 +3221,8 @@ function getsiderBarMenu(url){
if (url.length<2){
return;
}
- url=ZteFrameWork.handlBaseURL(url);
- ZteFrameWork.startPageLoading();//菜单加载中请稍候....
+ url=openoFrameWork.handlBaseURL(url);
+ openoFrameWork.startPageLoading();//菜单加载中请稍候....
var pagesidebar=$('#page-sidebar-menu');
pagesidebar.empty();
pagesidebar.append("<li class='sidebar-toggler-wrapper'><div class='sidebar-toggler hidden-xs hidden-sm'></div></li>");
@@ -3253,7 +3242,7 @@ function getsiderBarMenu(url){
dealMysqlBackupMenu();
//loadi18n_WebFramework_sideMenu();
setTimeout(function () {
- ZteFrameWork.stopPageLoading();
+ openoFrameWork.stopPageLoading();
goToHomePage();
}, 1000);
},
@@ -3309,8 +3298,8 @@ function getHorMenu(url){
if (url.length<2){
return;
}
- url=ZteFrameWork.handlBaseURL(url);
- ZteFrameWork.startPageLoading();//菜单加载中请稍候....
+ url=openoFrameWork.handlBaseURL(url);
+ openoFrameWork.startPageLoading();//菜单加载中请稍候....
var pagehorbar=$('#main_hormenu')
pagehorbar.empty();
$.ajax({
@@ -3326,13 +3315,13 @@ function getHorMenu(url){
$('#main_hormenu').append(resScriptsSriped);
runHtmlScripts(res);
// 增加mysql判断,如果数据库为mysql,去掉基础数据备份功能菜单项
- var dbType = ZteFrameWork_conf.dbType;
+ var dbType = openoFrameWork_conf.dbType;
if (dbType == "mysql") {
var item=$(".hor-menu a[id='uep-ict-backup-baseDataBack']");
item.parent().remove();
}
horMenuAuthentication('main_hormenu');
- ZteFrameWork.stopPageLoading();
+ openoFrameWork.stopPageLoading();
if($('.nav-pos-direction', panel).val() === "horizontal"){
setTimeout(function () {
//goToHomePage();//注意这里由于水平和左边栏菜单都在一个页面中出现,所以这里只调用一次
@@ -3352,8 +3341,8 @@ function getMegaFMenu( url ){
if (url.length<2){
return;
}
- url=ZteFrameWork.handlBaseURL(url);
- ZteFrameWork.startPageLoading();//菜单加载中请稍候....
+ url=openoFrameWork.handlBaseURL(url);
+ openoFrameWork.startPageLoading();//菜单加载中请稍候....
var siderDiv =$( '#' + megaSiderDivId );
siderDiv.empty();
siderDiv.append("<li class='sidebar-toggler-wrapper'><div class='sidebar-toggler hidden-xs hidden-sm'></div></li>");
@@ -3371,7 +3360,7 @@ function getMegaFMenu( url ){
FMenuAuthentication( megaDivId ,megaSiderDivId );
rebuildHorMenu();
ajustFMenu( megaDivId ,megaSiderDivId );
- ZteFrameWork.stopPageLoading();
+ openoFrameWork.stopPageLoading();
},
error: function (xhr, ajaxOptions, thrownError) {
//siderDiv.append('<h4 class="nav-load-error">'+$.i18n.prop('com_zte_ums_ict_framework_ui_loadmenuerror')+'</h4>');//加载系统菜单失败!
@@ -3410,9 +3399,9 @@ function getFMenu( urlMega , urlSider ){
if (urlMega.length<2 || urlSider.length<2){
return;
}
- urlMega=ZteFrameWork.handlBaseURL(urlMega);
- urlSider=ZteFrameWork.handlBaseURL(urlSider);
- ZteFrameWork.startPageLoading();//菜单加载中请稍候....
+ urlMega=openoFrameWork.handlBaseURL(urlMega);
+ urlSider=openoFrameWork.handlBaseURL(urlSider);
+ openoFrameWork.startPageLoading();//菜单加载中请稍候....
var fhorbar=$('#f_hormenu');
fhorbar.empty();
var fSideBar= $("#page-f-sidebar-menu");
@@ -3429,7 +3418,7 @@ function getFMenu( urlMega , urlSider ){
horMenuAuthentication('f_hormenu');
runHtmlScripts(res);
dealMysqlBackupMenu();
- ZteFrameWork.stopPageLoading();
+ openoFrameWork.stopPageLoading();
},
error: function (xhr, ajaxOptions, thrownError) {
$('#f_hormenu').append('<h4 class="nav-load-error">'+$.i18n.prop('com_zte_ums_ict_framework_ui_loadmenuerror')+'</h4>');//加载系统菜单失败!
@@ -3454,7 +3443,7 @@ function getFMenu( urlMega , urlSider ){
dealMysqlBackupMenu();
FMenuAuthentication( fMenuMegaDivId ,fMenuSiderDivId );
ajustFMenu( fMenuMegaDivId ,fMenuSiderDivId );
- ZteFrameWork.stopPageLoading();
+ openoFrameWork.stopPageLoading();
loadi18n_WebFramework_sideMenu();
},
error: function (xhr, ajaxOptions, thrownError) {
@@ -3474,7 +3463,7 @@ function getChangePWDDlg(url){
if (url.length<2){
return;
}
- ZteFrameWork.startPageLoading();//加载中....
+ openoFrameWork.startPageLoading();//加载中....
var pageChangepasswd=$('.modal-dialog .Changepasswd');
pageChangepasswd.empty();
$.ajax({
@@ -3485,7 +3474,7 @@ function getChangePWDDlg(url){
success: function (res) {
$('.modal-dialog .Changepasswd').append(res);
ChangePWD.init();
- ZteFrameWork.stopPageLoading();
+ openoFrameWork.stopPageLoading();
},
error: function (xhr, ajaxOptions, thrownError) {
$('.modal-dialog .Changepasswd').append('<h4>'+$.i18n.prop('com_zte_ums_ict_framework_ui_loadchgpwdpageError')+'</h4>');//加载修改密码页面失败!
@@ -3502,7 +3491,7 @@ function getHeaderMenu(url){
if (url.length<2){
return;
}
- ZteFrameWork.startPageLoading();//加载中请稍候....
+ openoFrameWork.startPageLoading();//加载中请稍候....
var headerMenu=$('#headerMenu');
headerMenu.empty();
$.ajax({
@@ -3513,7 +3502,7 @@ function getHeaderMenu(url){
dataType: "html",
success: function (res) {
$('#headerMenu').append(res);
- ZteFrameWork.stopPageLoading();
+ openoFrameWork.stopPageLoading();
},
error: function (xhr, ajaxOptions, thrownError) {
//$('#headerMenu').append('<h4>'+$.i18n.prop('com_zte_ums_ict_framework_ui_loadmenuerror')+'</h4>');//加载系统菜单失败!
@@ -3521,7 +3510,7 @@ function getHeaderMenu(url){
});
};
function goToHomePage(){
- locationhash = ZteFrameWork.getLocationHash();
+ locationhash = openoFrameWork.getLocationHash();
if(!!locationhash&&locationhash.length>0){//有锚点,直接触发
var newIPPort=null;
if (store&&store('menuCategoryID')) {
@@ -3531,9 +3520,9 @@ function goToHomePage(){
}
}
if(!!newIPPort){
- ZteFrameWork.goToURLByIDAndNewIPPort(locationhash,newIPPort,null);
+ openoFrameWork.goToURLByIDAndNewIPPort(locationhash,newIPPort,null);
}else{
- ZteFrameWork.goToURLByIDAndNewAction(locationhash,null,null);
+ openoFrameWork.goToURLByIDAndNewAction(locationhash,null,null);
}
}else{//否则还是模拟点击配置了start类的菜单
var containerStr = "";
@@ -3558,7 +3547,7 @@ function goToHomePage(){
}
//F菜单的恒菜单显示
- else if (navPosOption === zteframework_menu_fmenu) {
+ else if (navPosOption === openoFrameWork_menu_fmenu) {
//containerStr=$('.hor-menu').length>0?'.header':containerStr;
startmenu = $('.iframe.start' ,fhormenu);
if (startmenu && startmenu.length < 1) {
@@ -3636,7 +3625,7 @@ function getLcsRight(lcsoperations) {
"data" : jsonvalues
};
var url=FrameConst.REST_GETLICENSEINFO + "?tmpstamp=" + new Date().getTime();
- url=ZteFrameWork.handlBaseURL(url);
+ url=openoFrameWork.handlBaseURL(url);
$.ajax({
"dataType" : 'json',
"type" : "GET",
@@ -3859,7 +3848,7 @@ function groupButtonAuthentication() {
}
}
// 增加mysql判断,如果数据库为mysql,去掉基础数据备份功能菜单项
- var dbType = ZteFrameWork_conf.dbType;
+ var dbType = openoFrameWork_conf.dbType;
if (dbType == "mysql") {
$("#uep-ict-backup-baseDataBack",$('.more-botton-zone > li.btn-group')).parent().remove();
}
@@ -3936,7 +3925,7 @@ function getAllOperCodeRights(operations) {
};
var sendData = JSON.stringify(data);
var url=FrameConst.REST_CHECKRIGHT + "?data=" + sendData + "&tmpstamp=" + new Date().getTime();
- url=ZteFrameWork.handlBaseURL(url);
+ url=openoFrameWork.handlBaseURL(url);
$.ajax({
"dataType" : 'json',
"type" : "GET",
@@ -3972,7 +3961,7 @@ function hasRight(opCode, rightObj) {
};
// 处理mysql环境下备份菜单的合并问题
function dealMysqlBackupMenu() {
- var dbType = ZteFrameWork_conf.dbType;
+ var dbType = openoFrameWork_conf.dbType;
if (dbType !== undefined && dbType !== "mysql") {
return;
}
diff --git a/openo-portal/portal-common/src/main/webapp/common/js/core/ZteFrameWork.min.js b/openo-portal/portal-common/src/main/webapp/common/js/core/openoFrameWork.min.js
index 2b5c041d..08132235 100644
--- a/openo-portal/portal-common/src/main/webapp/common/js/core/ZteFrameWork.min.js
+++ b/openo-portal/portal-common/src/main/webapp/common/js/core/openoFrameWork.min.js
@@ -23,128 +23,128 @@ d[g]="object"==typeof d[g]?k:"undefined"==typeof d[g]?k:[d[g],k]}function k(b){r
{};for(q in b.base)l[q]=b.base[q];b.base=l}""!==k&&(q=b.base,l=q[k],"undefined"===typeof l?q[k]=m:n(l)?l.push(m):q[k]=[l,m])}return b},{base:{}}).base}function g(b,d,h){for(var g=0,k=b.length>>0;g<k;)g in b&&(h=d.call(void 0,h,b[g],g,b)),++g;return h}function n(b){return"[object Array]"===Object.prototype.toString.call(b)}function m(d,h){1===arguments.length&&!0===d&&(h=!0,d=void 0);d=d||window.location.toString();return{data:b(d,h||!1),attr:function(b){b=q[b]||b;return"undefined"!==typeof b?this.data.attr[b]:
this.data.attr},param:function(b){return"undefined"!==typeof b?this.data.param.query[b]:this.data.param.query},fparam:function(b){return"undefined"!==typeof b?this.data.param.fragment[b]:this.data.param.fragment},segment:function(b){if("undefined"===typeof b)return this.data.seg.path;b=0>b?this.data.seg.path.length+b:b-1;return this.data.seg.path[b]},fsegment:function(b){if("undefined"===typeof b)return this.data.seg.fragment;b=0>b?this.data.seg.fragment.length+b:b-1;return this.data.seg.fragment[b]}}}
var l={a:"href",img:"src",form:"action",base:"href",script:"src",iframe:"src",link:"href",embed:"src",object:"data"},u="source protocol authority userInfo user password host port relative path directory file query fragment".split(" "),q={anchor:"fragment"},I={strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/},
-w=/^[0-9]+$/;m.jQuery=function(b){null!=b&&(b.fn.url=function(h){var g="";this.length&&(g=b(this).attr(d(this[0]))||"");return m(g,h)},b.url=m)};m.jQuery(window.jQuery);return m});ZteFrameWork_conf={userName:store.get("username"),changePassItem:FrameConst.change_pass?FrameConst.change_pass:!0,helpMenuItem:!1,aboutMenuItem:!1,flightMenuItem:!1,fullscreenMenuItem:!1,logoutMenuItem:!0,defaultThemeColor:"ztebluelight2",dbType:"other",acceptLanguage:"zh-CN"};$("#currentUser").html(ZteFrameWork_conf.userName);
-$.ajax({url:FrameConst.REST_FRAMECOMMIFO,type:"GET",cache:!1,contentType:"application/json; charset=utf-8",success:function(b){b.helpMenuItem&&""!=b.helpMenuItem&&(ZteFrameWork_conf.helpMenuItem=b.helpMenuItem);b.aboutMenuItem&&""!=b.aboutMenuItem&&(ZteFrameWork_conf.aboutMenuItem=b.aboutMenuItem);b.flightMenuItem&&""!=b.flightMenuItem&&(ZteFrameWork_conf.flightMenuItem=b.flightMenuItem);b.fullscreenMenuItem&&""!=b.fullscreenMenuItem&&(ZteFrameWork_conf.fullscreenMenuItem=b.fullscreenMenuItem);b.logoutMenuItem&&
-""!=b.logoutMenuItem&&(ZteFrameWork_conf.logoutMenuItem=b.logoutMenuItem);b.defaultThemeColor&&""!=b.defaultThemeColor&&(ZteFrameWork_conf.defaultThemeColor=b.defaultThemeColor);b.dbType&&""!=b.dbType&&(ZteFrameWork_conf.dbType=b.dbType);b.acceptLanguage&&""!=b.acceptLanguage&&(ZteFrameWork_conf.acceptLanguage=b.acceptLanguage);b.changePassItem&&""!=b.changePassItem&&(ZteFrameWork_conf.changePassItem=b.changePassItem);setFrameWorkByConf()},error:function(b){setFrameWorkByConf()}});
+w=/^[0-9]+$/;m.jQuery=function(b){null!=b&&(b.fn.url=function(h){var g="";this.length&&(g=b(this).attr(d(this[0]))||"");return m(g,h)},b.url=m)};m.jQuery(window.jQuery);return m});openoFrameWork_conf={userName:store.get("username"),changePassItem:FrameConst.change_pass?FrameConst.change_pass:!0,helpMenuItem:!1,aboutMenuItem:!1,flightMenuItem:!1,fullscreenMenuItem:!1,logoutMenuItem:!0,defaultThemeColor:"ztebluelight2",dbType:"other",acceptLanguage:"en-US"};$("#currentUser").html(openoFrameWork_conf.userName);
+$.ajax({url:FrameConst.REST_FRAMECOMMIFO,type:"GET",cache:!1,contentType:"application/json; charset=utf-8",success:function(b){b.helpMenuItem&&""!=b.helpMenuItem&&(openoFrameWork_conf.helpMenuItem=b.helpMenuItem);b.aboutMenuItem&&""!=b.aboutMenuItem&&(openoFrameWork_conf.aboutMenuItem=b.aboutMenuItem);b.flightMenuItem&&""!=b.flightMenuItem&&(openoFrameWork_conf.flightMenuItem=b.flightMenuItem);b.fullscreenMenuItem&&""!=b.fullscreenMenuItem&&(openoFrameWork_conf.fullscreenMenuItem=b.fullscreenMenuItem);b.logoutMenuItem&&
+""!=b.logoutMenuItem&&(openoFrameWork_conf.logoutMenuItem=b.logoutMenuItem);b.defaultThemeColor&&""!=b.defaultThemeColor&&(openoFrameWork_conf.defaultThemeColor=b.defaultThemeColor);b.dbType&&""!=b.dbType&&(openoFrameWork_conf.dbType=b.dbType);b.acceptLanguage&&""!=b.acceptLanguage&&(openoFrameWork_conf.acceptLanguage=b.acceptLanguage);b.changePassItem&&""!=b.changePassItem&&(openoFrameWork_conf.changePassItem=b.changePassItem);setFrameWorkByConf()},error:function(b){setFrameWorkByConf()}});
function setThemeColor(b){var d=$(".zte-theme-panel");$(".theme-colors > ul > li",d).each(function(){var d=$(this).attr("data-style");d==b&&($(this).addClass("current"),$("#style_color").attr("href","css/themes/"+d+".css"),store("style_color",d))})}
-function setFrameWorkByConf(){var b=ZteFrameWork_conf.helpMenuItem,d=ZteFrameWork_conf.aboutMenuItem,h=ZteFrameWork_conf.flightMenuItem,k=ZteFrameWork_conf.fullscreenMenuItem,g=ZteFrameWork_conf.logoutMenuItem,n=ZteFrameWork_conf.changePassMenuItem;b&&"false"!==b||$("#uep_ict_help_url").parent("li").remove();d&&"false"!==d||$('[data-target="#aboutDlg"]').parent("li").remove();b||d||$("#uep_ict_help_div").remove();h&&"false"!==h||$("#header_notification_bar").html("<div>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</div>");
-k&&"false"!==k||$("#trigger_fullscreen_div").html("");g&&"false"!==g||$("#trigger_logout_div").html("");(!k&&!g||"false"===k&&"false"===g)&&$("#full_logout_divider").css("display","none");n||($("#changePwd_labellink").css("display","none"),$("#full_logout_divider").css("display","none"));b=ZteFrameWork_conf.defaultThemeColor;d=$(".zte-theme-panel");$("ul > li",d).removeClass("current");store&&!store("style_color")?setThemeColor(b):setThemeColor(store("style_color"))}
+function setFrameWorkByConf(){var b=openoFrameWork_conf.helpMenuItem,d=openoFrameWork_conf.aboutMenuItem,h=openoFrameWork_conf.flightMenuItem,k=openoFrameWork_conf.fullscreenMenuItem,g=openoFrameWork_conf.logoutMenuItem,n=openoFrameWork_conf.changePassMenuItem;b&&"false"!==b||$("#uep_ict_help_url").parent("li").remove();d&&"false"!==d||$('[data-target="#aboutDlg"]').parent("li").remove();b||d||$("#uep_ict_help_div").remove();h&&"false"!==h||$("#header_notification_bar").html("<div>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</div>");
+k&&"false"!==k||$("#trigger_fullscreen_div").html("");g&&"false"!==g||$("#trigger_logout_div").html("");(!k&&!g||"false"===k&&"false"===g)&&$("#full_logout_divider").css("display","none");n||($("#changePwd_labellink").css("display","none"),$("#full_logout_divider").css("display","none"));b=openoFrameWork_conf.defaultThemeColor;d=$(".zte-theme-panel");$("ul > li",d).removeClass("current");store&&!store("style_color")?setThemeColor(b):setThemeColor(store("style_color"))}
function Hashtable(){this._hash={};this._count=0;this.add=function(b,d){if(this._hash.hasOwnProperty(b))return!1;this._hash[b]=d;this._count++;return!0};this.hash=function(){return this._hash};this.remove=function(b){delete this._hash[b];this._count--};this.count=function(){return this._count};this.items=function(b){if(this.contains(b))return this._hash[b]};this.contains=function(b){return this._hash.hasOwnProperty(b)};this.clear=function(){this._hash={};this._count=0};this.replace=function(b,d){this.contains(b)&&
this.remove(b);return this.add(b,d)}}
-var fMenuSiderDivId="page-f-sidebar-menu",fMenuMegaDivId="f_hormenu",megaSiderDivId="page-megachild-sidebar-menu",megaDivId="main_hormenu",zteframework_menu_horizontal="horizontal",zteframework_menu_vertical="vertical",zteframework_menu_fmenu="fmenu",zteframework_showNav="true",zteframework_smallView=960,ZteFrameWork=function(){var b=getLanguage(),d=!1,h=function(){try{return document.createEvent("TouchEvent"),!0}catch(c){return!1}},k=!h,g=!1,n=!1,m=!1,l="",u=225,q=35,I=[],w=new Hashtable,x=new Hashtable,
+var fMenuSiderDivId="page-f-sidebar-menu",fMenuMegaDivId="f_hormenu",megaSiderDivId="page-megachild-sidebar-menu",megaDivId="main_hormenu",openoFrameWork_menu_horizontal="horizontal",openoFrameWork_menu_vertical="vertical",openoFrameWork_menu_fmenu="fmenu",openoFrameWork_showNav="true",openoFrameWork_smallView=960,openoFrameWork=function(){var b=getLanguage(),d=!1,h=function(){try{return document.createEvent("TouchEvent"),!0}catch(c){return!1}},k=!h,g=!1,n=!1,m=!1,l="",u=225,q=35,I=[],w=new Hashtable,x=new Hashtable,
C=new Hashtable,V=new Hashtable,y="page-mainIframe",J="",v="",D=!1,ca={blue:"#4b8df8",red:"#e02222",green:"#35aa47",purple:"#852b99",grey:"#555555","light-grey":"#fafafa",yellow:"#ffb848",ztebluelight:"#3366cc"},G=function(){var c=window,t="inner";"innerWidth"in window||(t="client",c=document.documentElement||document.body);return{width:c[t+"Width"],height:c[t+"Height"]}},va=function(){var c=getUrlParam("menu");switch(c?c:0){case "1":l=$("#com_zte_ums_ict_framework_ui_page_title_1").text().trim();
break;case "2":l=$("#com_zte_ums_ict_framework_ui_page_title_2").text().trim();break;case "3":l=$("#com_zte_ums_ict_framework_ui_page_title_3").text().trim();break;default:l=$("#com_zte_ums_ict_framework_ui_page_title").text().trim()}"rtl"===$("body").css("direction")&&(d=!0);g=!!navigator.userAgent.match(/MSIE 8.0/);n=!!navigator.userAgent.match(/MSIE 9.0/);(m=!!navigator.userAgent.match(/MSIE 10.0/))&&$("html").addClass("ie10");(m||n||g)&&$("html").addClass("ie");navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad)/)?
($(document).on("focus","input, textarea",function(){$(".page-header").hide();$(".page-footer")&&0<$(".page-footer").length&&$(".page-footer").hide()}),$(document).on("blur","input, textarea",function(){$(".page-header").show();$(".page-footer")&&0<$(".page-footer").length&&$(".page-footer").show()})):($(document).on("focus","input, textarea",function(){$(".page-footer")&&0<$(".page-footer").length&&$(".page-footer").hide()}),$(document).on("blur","input, textarea",function(){$(".page-footer")&&0<
-$(".page-footer").length&&$(".page-footer").show()}))},F=function(c){$(".page-loading").remove();$("body").append('<div class="page-loading"><img src="'+ICTFRAME_CONST_SPINNER_GIF_PATH+'"/>&nbsp;&nbsp;<span>'+(c?c:$.i18n.prop("com_zte_ums_ict_framework_ui_loading"))+"</span></div>")},da=function(){G().width<zteframework_smallView?$("body").removeClass("page-sidebar-closed"):"1"===Q("sidebar_closed")&&$("body").addClass("page-sidebar-closed")},W=function(){for(var c=0;c<I.length;c++)I[c].call()},fa=
+$(".page-footer").length&&$(".page-footer").show()}))},F=function(c){$(".page-loading").remove();$("body").append('<div class="page-loading"><img src="'+ICTFRAME_CONST_SPINNER_GIF_PATH+'"/>&nbsp;&nbsp;<span>'+(c?c:$.i18n.prop("com_zte_ums_ict_framework_ui_loading"))+"</span></div>")},da=function(){G().width<openoFrameWork_smallView?$("body").removeClass("page-sidebar-closed"):"1"===Q("sidebar_closed")&&$("body").addClass("page-sidebar-closed")},W=function(){for(var c=0;c<I.length;c++)I[c].call()},fa=
function(){da();ea();B();X();W()},wa=function(){da();B();setTimeout(function(){ea(!0)},100)},xa=function(){var c;if(g){var t;$(window).resize(function(){t!=document.documentElement.clientHeight&&(c&&clearTimeout(c),c=setTimeout(function(){fa()},50),t=document.documentElement.clientHeight)})}else $(window).resize(function(){c&&clearTimeout(c);c=setTimeout(function(){fa()},50)})},ga=function(c){var t=$(".nav-pos-direction",$(".zte-theme-panel")).val(),f=$("#page-sidebar-menu"),b=$("#main_hormenu"),
-H=$("#"+fMenuMegaDivId),d=$("#"+fMenuSiderDivId);c?(f.css("display","block"),b.css("display","none"),H.css("display","none"),d.css("display","none")):zteframework_menu_horizontal==t?(f.css("display","none"),H.css("display","none"),d.css("display","none"),b.css("display","block")):zteframework_menu_vertical==t?(f.css("display","block"),b.css("display","none"),H.css("display","none"),d.css("display","none")):zteframework_menu_fmenu==t&&(f.css("display","none"),b.css("display","none"),H.css("display",
+H=$("#"+fMenuMegaDivId),d=$("#"+fMenuSiderDivId);c?(f.css("display","block"),b.css("display","none"),H.css("display","none"),d.css("display","none")):openoFrameWork_menu_horizontal==t?(f.css("display","none"),H.css("display","none"),d.css("display","none"),b.css("display","block")):openoFrameWork_menu_vertical==t?(f.css("display","block"),b.css("display","none"),H.css("display","none"),d.css("display","none")):openoFrameWork_menu_fmenu==t&&(f.css("display","none"),b.css("display","none"),H.css("display",
"block"),d.css("display","block"),c=d.children(".sidebar-toggler-wrapper").siblings(),0<c.length&&"none"!=c.css("display")&&(d.css("display","block"),$("body").removeClass("page-full-width"),$("body").hasClass("page-sidebar-closed")?$(".page-content").css("marginLeft",q):$(".page-content").css("marginLeft",u)))},ea=function(c){c=document.body.clientWidth;for(var t=$("a.dropdown-toggle","#main_hormenu"),f=0;f<t.length;f++){for(var b=$(t[f]),H=b.offset().left,d=b.parent().children(".dropdown-menu"),
g=$(".zteDivWidth",d),h=0,k=0;k<g.length&&0<g.length;k++){var l="",m=0;$("span",g[k]).each(function(){var c=this.innerText;c.length>m&&(m=c.length,l=c)});h=h+getStringWidth(l,14)+94.5}h+H>c?(console.log("ajust class dropdown-menu-right ,id = "+b.attr("id")),d.addClass("dropdown-menu-right")):d.removeClass("dropdown-menu-right")}},B=function(c){var t=$(".page-content"),f=$(".page-content-body"),b=$(".page-sidebar"),d=$("body"),g,h=G(),l=Math.min(window.screen.availHeight,h.height)-5,z=$(".footer"),
-m=$(".page-breadcrumb"),n=$("#pageableDiv");console.log("pageableDiv height:"+n.outerHeight(!0));var u=$(".header");"isc"===(x.items(y)?x.items(y).childpageType:"")&&$(".sidebar-option",panel).val("fixed");var r=ZteFrameWork.getLocationURLParameter("showNav");"false"==r&&(zteframework_showNav=r,ha(),ia());r=l-(!z||0>=z.length?0:z.outerHeight(!0))-u.outerHeight(!0);n=!n||0>=n.length||!1==n.is(":visible")?0:n.outerHeight(!0);f=l-u.outerHeight(!0)-(!z||0>=z.length||!1==z.is(":visible")?0:z.outerHeight(!0))-
+m=$(".page-breadcrumb"),n=$("#pageableDiv");console.log("pageableDiv height:"+n.outerHeight(!0));var u=$(".header");"isc"===(x.items(y)?x.items(y).childpageType:"")&&$(".sidebar-option",panel).val("fixed");var r=openoFrameWork.getLocationURLParameter("showNav");"false"==r&&(openoFrameWork_showNav=r,ha(),ia());r=l-(!z||0>=z.length?0:z.outerHeight(!0))-u.outerHeight(!0);n=!n||0>=n.length||!1==n.is(":visible")?0:n.outerHeight(!0);f=l-u.outerHeight(!0)-(!z||0>=z.length||!1==z.is(":visible")?0:z.outerHeight(!0))-
m.outerHeight(!0)-n-(f.outerHeight(!0)-f.height());m=""==y?"page-mainIframe":y;if((n=$(".page-content .page-content-body ."+m))&&0<n.length){if(navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad)/)){var q=h.width-t.offset().left-2*(n.offset().left-t.offset().left);n.width(q)}q=b.attr("style");console.log("pym:parent iframe "+m+" sidebar.height:"+b.height()+" h:"+f);f=b.height()>f?b.height():f;b.attr("style",q);if(!k){q=f;try{q=n.contents().height()}catch(Ja){}f=q>f?q:f}x.items(m).setMinHeight&&
(n=Math.min(l,f),console.log("pym:parent iframe "+m+" window.screen.availHeight:"+l+" viewport.height:"+h.height+" h:"+f+" minHeight:"+n),x.items(m).setMinHeight(n))}!0===d.hasClass("page-footer-fixed")&&!0===d.hasClass("page-sidebar-fixed")?t.height()<r&&K(t,"min-height",r+"px",!0):!0===d.hasClass("page-footer-fixed")&&!1===d.hasClass("page-sidebar-fixed")?t.height()<r&&K(t,"min-height",r+"px",!0):(d.hasClass("page-sidebar-fixed")?g=ja():(q=b.attr("style"),b.attr("style",q),b=u.outerHeight(!0),z=
-!z||0>=z.length?0:z.outerHeight(!0),1024<$(window).width()&&g+b+z<l&&(g=l-b-z)),g<=t.height()&&K(t,"min-height",g+"px",!0));$(window).width()>=zteframework_smallView?(ga(),"none"!=$(".page-sidebar-menu li").css("display")&&$("body").hasClass("page-sidebar-closed")&&$(".sidebar-toggler").hasClass("close-by-viewportChange")&&(c||$(".sidebar-toggler")[1].click(),$(".sidebar-toggler").removeClass("close-by-viewportChange"))):ga(!0)},ya=function(c){var t;if(0<w.count())for(var f in w.hash()){w.replace(f,
-0);var b=$(".page-content .page-content-body ."+f);b&&0<b.length&&(c==f?(b.show(),w.replace(f,1)):("page-mainIframe"===f?(t=f,b.attr("src",""),b.remove()):b.hide(),w.replace(f,0)))}t&&(delete w._hash[t],delete x._hash[t]);w.contains(c)||(w.add(c,1),myIframe=$("."+c),myIframe.show(),myIframe.load(function(){ZteFrameWork.stopPageLoading()}))},ha=function(){$(".hor-menu").hide();K($(".page-content"),"margin-left","0px",!0);K($(".page-sidebar"),"display","none",!0);$("#"+fMenuSiderDivId).children().css("display",
-"none")},ia=function(){$("#header_notification_bar").html("<div>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</div>")},Aa=function(c){var b=$(".zte-theme-panel"),b=$(".nav-pos-direction",b).val(),f=null,p=null;"vertical"===b?(f=$("#"+c.attr("id"),$("#main_hormenu")),p=$(".header ul")):"horizontal"===b?(f=za(c),ka(c,megaSiderDivId),p=f[0],f=f[1]):b===zteframework_menu_fmenu&&ka(c,fMenuSiderDivId);p&&(p.children("li.active").removeClass("active"),p.find(".arrow.open").removeClass("open"));f&&(f.parents("li").each(function(){$(this).addClass("iframe active");
+!z||0>=z.length?0:z.outerHeight(!0),1024<$(window).width()&&g+b+z<l&&(g=l-b-z)),g<=t.height()&&K(t,"min-height",g+"px",!0));$(window).width()>=openoFrameWork_smallView?(ga(),"none"!=$(".page-sidebar-menu li").css("display")&&$("body").hasClass("page-sidebar-closed")&&$(".sidebar-toggler").hasClass("close-by-viewportChange")&&(c||$(".sidebar-toggler")[1].click(),$(".sidebar-toggler").removeClass("close-by-viewportChange"))):ga(!0)},ya=function(c){var t;if(0<w.count())for(var f in w.hash()){w.replace(f,
+0);var b=$(".page-content .page-content-body ."+f);b&&0<b.length&&(c==f?(b.show(),w.replace(f,1)):("page-mainIframe"===f?(t=f,b.attr("src",""),b.remove()):b.hide(),w.replace(f,0)))}t&&(delete w._hash[t],delete x._hash[t]);w.contains(c)||(w.add(c,1),myIframe=$("."+c),myIframe.show(),myIframe.load(function(){openoFrameWork.stopPageLoading()}))},ha=function(){$(".hor-menu").hide();K($(".page-content"),"margin-left","0px",!0);K($(".page-sidebar"),"display","none",!0);$("#"+fMenuSiderDivId).children().css("display",
+"none")},ia=function(){$("#header_notification_bar").html("<div>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</div>")},Aa=function(c){var b=$(".zte-theme-panel"),b=$(".nav-pos-direction",b).val(),f=null,p=null;"vertical"===b?(f=$("#"+c.attr("id"),$("#main_hormenu")),p=$(".header ul")):"horizontal"===b?(f=za(c),ka(c,megaSiderDivId),p=f[0],f=f[1]):b===openoFrameWork_menu_fmenu&&ka(c,fMenuSiderDivId);p&&(p.children("li.active").removeClass("active"),p.find(".arrow.open").removeClass("open"));f&&(f.parents("li").each(function(){$(this).addClass("iframe active");
$(this).find("a > span.arrow").addClass("open")}),f.parents("li").addClass("active"),"horizontal"===b&&f.parent().parent().parent().is("li")&&$(".arrow",f.parent().parent().parent()).addClass("open"))},za=function(c){targetsource=$("#"+c.attr("id"),$("[class='page-sidebar-menu']"));targetContainer=$("#page-sidebar-menu ul");$("li.open",targetContainer).each(function(){$("ul.sub-menu",this).attr("style")&&($("ul.sub-menu",this).removeAttr("style"),$(this).removeClass("open"))});if(0<=c.parent().parent().parent().parent().attr("class").indexOf("page-sidebar-menu")){c=
$("#"+c.attr("id"),$("#main_hormenu"));var b=$(".header ul");b.children("li.active").removeClass("active");b.find(".arrow.open").removeClass("open");c.parents("li").each(function(){$(this).addClass("iframe active");$(this).find("a > span.arrow").addClass("open")});c.parents("li").addClass("active")}return[targetContainer,targetsource]},ka=function(c,b){var f=$("#"+b);if(R)R=!1;else if($(c).parents("li").hasClass("mega-menu-dropdown")){var p=c.attr("id");$("#"+b+">li").hide();var d=$("a[hparentid= "+
-p+"]",f).parent();d.show();0<d.length&&$("#"+b+">li.sidebar-toggler-wrapper").show();0<$("a[hparentid= "+p+"]",f).length?la(c,b):(f.css("display","none"),$("body").addClass("page-full-width"),$(".page-content").css("marginLeft",u))}else"true"==zteframework_showNav&&($("#"+b+">li").hide(),p=$(c).parents("li"),p=p.eq(p.length-1).children("a").attr("hparentid"),d=$("a[hparentid="+p+"]",f).parent(),d.show(),0<d.length&&$("#"+b+">li.sidebar-toggler-wrapper").show(),la(c,b))},la=function(c,b){var f=$("#"+
+p+"]",f).parent();d.show();0<d.length&&$("#"+b+">li.sidebar-toggler-wrapper").show();0<$("a[hparentid= "+p+"]",f).length?la(c,b):(f.css("display","none"),$("body").addClass("page-full-width"),$(".page-content").css("marginLeft",u))}else"true"==openoFrameWork_showNav&&($("#"+b+">li").hide(),p=$(c).parents("li"),p=p.eq(p.length-1).children("a").attr("hparentid"),d=$("a[hparentid="+p+"]",f).parent(),d.show(),0<d.length&&$("#"+b+">li.sidebar-toggler-wrapper").show(),la(c,b))},la=function(c,b){var f=$("#"+
b);f.css("display","block");$("ul.sub-menu",f).css("display","block");$(".arrow",f).addClass("open");$("body").removeClass("page-full-width");$("body").hasClass("page-sidebar-closed")?$(".page-content").css("marginLeft",q):$(".page-content").css("marginLeft",u);var p=c.attr("href");$("li.iframe",f).removeClass("active");f=$("a[href ='"+p+"']",f).parent();f.addClass("active");f.parent().parent().addClass("open").addClass("active");f.parent().css("display","block");f.parent().parent().children("a").children(".arrow").addClass("open")},
Z=function(c,b,f){var p=c.attr("href");if(p&&!(2>p.length)){b.preventDefault();D||(D=!0,p=c.parents("li").last(),p.hasClass("open")||Y(p.children("a:eq(0)")));f&&0<f.length&&$("."+f+" ul").children("li.active").removeClass("active");c.parents("li").each(function(){$(this).addClass("iframe active");$(this).children("a > span.arrow").addClass("open")});c.parents("li").addClass("active");Aa(c);f&&0<f.length&&991>=$(window).width()&&$("."+f).hasClass("in")&&$(".navbar-toggle").click();if(dealMultTabPage(c))return!0;
f=b.data&&b.data.breadcrumbBtnMenuItem&&0<b.data.breadcrumbBtnMenuItem.length?b.data.breadcrumbBtnMenuItem:"";0<f.length?(c=$("#"+f,$("#pageableDiv")),0==c.length&&(c=$("#"+f,$(".more-botton-zone"))),L(c,b)):(F(),S(c,b)&&M(c,!1,b))}},Ba=function(c,b,f){var p=c.attr("href");!p||2>p.length||(b.preventDefault(),D||(D=!0,b=c.parents("li").last(),Y(b.children("a:eq(0)"))),f&&0<f.length&&(b=$("."+f+" ul"),b.children("li.active").removeClass("active"),b.children("arrow.open").removeClass("open")),c.parents("li").each(function(){$(this).addClass("iframe active");
$(this).children("a > span.arrow").addClass("open")}),c.parents("li").addClass("active"),f&&0<f.length&&991>=$(window).width()&&$("."+f).hasClass("in")&&$(".navbar-toggle").click())},S=function(c,b){function f(c,b,f,t,d,p,g){c=new pym.Parent(c,b,{xdomain:p});c.iframe.id=f;c.iframe.name=t;c.iframe.setAttribute("class",d);c.iframe.setAttribute("allowfullscreen","");c.iframe.setAttribute("mozallowfullscreen","");c.iframe.setAttribute("oallowfullscreen","");c.iframe.setAttribute("msallowfullscreen","");
-c.iframe.setAttribute("webkitallowfullscreen","");c.iframe.setAttribute("onload",'ZteFrameWork.SyncCSS(this,0,"'+m+'");ZteFrameWork.stopPageLoading();');x.replace(f,c);c.onMessage("height",function(c){console.log("The frame "+f+" receive message height is "+c);var b=$(".page-content .page-content-body ."+f);c=Math.max(this.minHeight,c);b.height(c)});return c}v="";var p=c.attr("href");if(p&&!(2>p.length)){var p=ZteFrameWork.handlBaseURL(p),d=c.attr("category");if(d&&0<d.length&&(d=V.items(d))&&d.ipPort&&
-""!=d.ipPort.trim()){var d=ZteFrameWork.getDomainURL(d.ipPort),g=ZteFrameWork.getDomainURL(p);console.log("old url:"+p);p=d+p.replace(g,"");console.log("newIpPort:"+d+" newURL:"+p)}F();var h=c.attr("cacheNum"),k=c.attr("shiftJS");c.attr("iframeName");var l=c.attr("iframeAutoScroll"),l=l?"yes"===l?"yes":"auto"===l?"auto":"no":"no";_xdomain=(_xdomain=c.attr("xdomain"))&&0<_xdomain.length?_xdomain:"*";var m=c.attr("cssSrc"),m=m&&0<m.length?m:"",n="",u=$(".page-content .page-content-body");y=h=h?
+c.iframe.setAttribute("webkitallowfullscreen","");c.iframe.setAttribute("onload",'openoFrameWork.SyncCSS(this,0,"'+m+'");openoFrameWork.stopPageLoading();');x.replace(f,c);c.onMessage("height",function(c){console.log("The frame "+f+" receive message height is "+c);var b=$(".page-content .page-content-body ."+f);c=Math.max(this.minHeight,c);b.height(c)});return c}v="";var p=c.attr("href");if(p&&!(2>p.length)){var p=openoFrameWork.handlBaseURL(p),d=c.attr("category");if(d&&0<d.length&&(d=V.items(d))&&d.ipPort&&
+""!=d.ipPort.trim()){var d=openoFrameWork.getDomainURL(d.ipPort),g=openoFrameWork.getDomainURL(p);console.log("old url:"+p);p=d+p.replace(g,"");console.log("newIpPort:"+d+" newURL:"+p)}F();var h=c.attr("cacheNum"),k=c.attr("shiftJS");c.attr("iframeName");var l=c.attr("iframeAutoScroll"),l=l?"yes"===l?"yes":"auto"===l?"auto":"no":"no";_xdomain=(_xdomain=c.attr("xdomain"))&&0<_xdomain.length?_xdomain:"*";var m=c.attr("cssSrc"),m=m&&0<m.length?m:"",n="",u=$(".page-content .page-content-body");y=h=h?
"page-mainIframe"+h:"page-mainIframe";var d=""==y?"page-mainIframe":y,g=$(".page-content .page-content-body ."+d),r=b&&b.data&&b.data.action?b.data.action:"",r=r&&0<r.length?"null"==r.trim().toLowerCase()?r:"javascript:$('.page-content .page-content-body ."+d+"')[0].contentWindow."+r.trim()+";":"",r=r.trim(),n=k&&0<k.length?"null"==k.trim().toLowerCase()?k:"javascript:$('.page-content .page-content-body ."+d+"')[0].contentWindow."+k+";":"";if(g&&0<g.length)if(l=g.attr("src"),!(k||0<r.length)||l!=
-p&&l.split("?")[0]!=p.split("?")[0]||"page-mainIframe"==h)0<r.length&&"null"!=r.toLowerCase()&&(p=p.split("?")[0]),l.split("#")[0]!=p.split("#")[0]?g.attr("src",""):ZteFrameWork.stopPageLoading(),g.attr("src",p),0<r.length&&"null"!=r.toLowerCase()&&(p={nagivJS:r},g.one("load",p,function(c){c=c&&c.data&&c.data.nagivJS?c.data.nagivJS:"";0<c.length&&"null"!=c.toLowerCase()&&eval(c)})),0<m.length&&"null"!=m.toLowerCase()&&(p={syncCSSJS:'ZteFrameWork.SyncCSS(this,10,"'+m+'");ZteFrameWork.stopPageLoading();'},
+p&&l.split("?")[0]!=p.split("?")[0]||"page-mainIframe"==h)0<r.length&&"null"!=r.toLowerCase()&&(p=p.split("?")[0]),l.split("#")[0]!=p.split("#")[0]?g.attr("src",""):openoFrameWork.stopPageLoading(),g.attr("src",p),0<r.length&&"null"!=r.toLowerCase()&&(p={nagivJS:r},g.one("load",p,function(c){c=c&&c.data&&c.data.nagivJS?c.data.nagivJS:"";0<c.length&&"null"!=c.toLowerCase()&&eval(c)})),0<m.length&&"null"!=m.toLowerCase()&&(p={syncCSSJS:'openoFrameWork.SyncCSS(this,10,"'+m+'");openoFrameWork.stopPageLoading();'},
g.one("load",p,function(c){c=c&&c.data&&c.data.syncCSSJS?c.data.syncCSSJS:"";0<c.length&&"null"!=c.toLowerCase()&&eval(c)}));else{x.items(d).settings.xdomain=_xdomain;0<r.length&&"null"!=r.toLowerCase()&&(n=r);try{"null"!=n.trim().toLowerCase()&&eval(n)}catch(q){return q instanceof EvalError?console.log(q.name+" EvalError: "+q.message):q instanceof SyntaxError?console.log(q.name+" SyntaxError: "+q.message):q instanceof Error&&"typeerror"==q.name.toLowerCase().trim()&&(p={runShiftJS:n},g.one("load",
-p,function(c){c=c&&c.data&&c.data.runShiftJS?c.data.runShiftJS:"";0<c.length&&"null"!=c.toLowerCase()&&eval(c)})),!1}finally{ZteFrameWork.stopPageLoading()}}else if(0<r.length&&"null"!=r.toLowerCase()&&(p=p.split("?")[0]),g="pdiv_"+d,0>=$("#"+g).length&&u.append("<div id='"+g+"'></div>"),F(),pymParent=f(g,p,d,d,d,_xdomain,l),g=$(pymParent.iframe),0<r.length&&"null"!=r.toLowerCase()&&(p={nagivJS:r},(g=$(".page-content .page-content-body ."+d))&&0<g.length))g.one("load",p,function(c){c=c&&c.data&&c.data.nagivJS?
-c.data.nagivJS:"";0<c.length&&"null"!=c.toLowerCase()&&eval(c)});ya(d);ZteFrameWork.fixContentHeight();return!0}},Y=function(c){if(!1==c.next().hasClass("sub-menu"))!1==$(".btn-navbar").hasClass("collapsed")&&$(".btn-navbar").click();else if(!c.next().hasClass("sub-menu always-open")){var b=c.parent().parent(),f=$(".page-sidebar-menu"),d=c.next(),g=f.data("auto-scroll")?f.data("auto-scroll"):!0,f=f.data("slide-speed")?parseInt(f.data("slide-speed")):200;b.children("li.open").children("a").children(".arrow").removeClass("open");
+p,function(c){c=c&&c.data&&c.data.runShiftJS?c.data.runShiftJS:"";0<c.length&&"null"!=c.toLowerCase()&&eval(c)})),!1}finally{openoFrameWork.stopPageLoading()}}else if(0<r.length&&"null"!=r.toLowerCase()&&(p=p.split("?")[0]),g="pdiv_"+d,0>=$("#"+g).length&&u.append("<div id='"+g+"'></div>"),F(),pymParent=f(g,p,d,d,d,_xdomain,l),g=$(pymParent.iframe),0<r.length&&"null"!=r.toLowerCase()&&(p={nagivJS:r},(g=$(".page-content .page-content-body ."+d))&&0<g.length))g.one("load",p,function(c){c=c&&c.data&&c.data.nagivJS?
+c.data.nagivJS:"";0<c.length&&"null"!=c.toLowerCase()&&eval(c)});ya(d);openoFrameWork.fixContentHeight();return!0}},Y=function(c){if(!1==c.next().hasClass("sub-menu"))!1==$(".btn-navbar").hasClass("collapsed")&&$(".btn-navbar").click();else if(!c.next().hasClass("sub-menu always-open")){var b=c.parent().parent(),f=$(".page-sidebar-menu"),d=c.next(),g=f.data("auto-scroll")?f.data("auto-scroll"):!0,f=f.data("slide-speed")?parseInt(f.data("slide-speed")):200;b.children("li.open").children("a").children(".arrow").removeClass("open");
b.children("li.open").children(".sub-menu:not(.always-open)").slideUp(200);b.children("li.open").removeClass("open");d.is(":visible")?($(".arrow",c).removeClass("open"),c.parent().removeClass("open"),d.slideUp(f,function(){!0==g&&!1==$("body").hasClass("page-sidebar-closed")&&$("body").hasClass("page-sidebar-fixed");B()})):($(".arrow",c).addClass("open"),c.parent().addClass("open"),d.slideDown(f,function(){!0==g&&!1==$("body").hasClass("page-sidebar-closed")&&$("body").hasClass("page-sidebar-fixed");
B()}))}},Ca=function(){$(".page-sidebar").on("click","li > a",function(c){!1==$(this).next().hasClass("sub-menu")?!1==$(".btn-navbar").hasClass("collapsed")&&$(".btn-navbar").click():$(this).next().hasClass("sub-menu always-open")||(Y($(this)),c.preventDefault())});$(".page-sidebar").on("click"," li > a.iframe",function(c){c.preventDefault();var b=$(this).attr("id");b&&0<b.length&&(N(b),v="dhByInterface");D=!0;Z($(this),c,"page-sidebar")});$(".page-breadcrumb").on("click"," li > a.iframe",function(c){2>
$(this).attr("href").length||(c.preventDefault(),L($(this),c))});$("#pageableDiv").on("click"," div > a.iframe",function(c){2>$(this).attr("href").length||(c.preventDefault(),L($(this),c))});$("#pageableDiv").on("click"," li > a.iframe",function(c){if(!(2>$(this).attr("href").length)){c.preventDefault();if(c.target){var b=$("span",c.target),b=0<b.length?b[0]:c.target;$(".open a>div>span",c.target.parentNode.parentNode.parentNode.parentNode.parentNode).replaceWith(b.outerHTML)}L($(this),c)}});$(".dropdown").on("click",
-" li > a.iframe",function(c){2>$(this).attr("href").length||(c.preventDefault(),F(),S($(this),c),M($(this),!1,c))})},ma="",T=!0,U=null,aa=function(c,b){if(!(2>c.length))if(c=ZteFrameWork.handlBaseURL(c),ma==c)if(!0===b)$("#pageableDiv").show();else{if(b&&b.target&&b.currentTarget){var f=$(b.target).attr("defaultDisplay");(f=f?f:$(b.currentTarget).attr("defaultDisplay"))&&"false"==f.trim()?$("#pageableDiv").hide():$("#pageableDiv").show()}}else{ma=c;clearMoreOperations();var d=b&&b.data&&b.data.breadcrumbBtnMenuItem&&
+" li > a.iframe",function(c){2>$(this).attr("href").length||(c.preventDefault(),F(),S($(this),c),M($(this),!1,c))})},ma="",T=!0,U=null,aa=function(c,b){if(!(2>c.length))if(c=openoFrameWork.handlBaseURL(c),ma==c)if(!0===b)$("#pageableDiv").show();else{if(b&&b.target&&b.currentTarget){var f=$(b.target).attr("defaultDisplay");(f=f?f:$(b.currentTarget).attr("defaultDisplay"))&&"false"==f.trim()?$("#pageableDiv").hide():$("#pageableDiv").show()}}else{ma=c;clearMoreOperations();var d=b&&b.data&&b.data.breadcrumbBtnMenuItem&&
0<b.data.breadcrumbBtnMenuItem.length?b.data.breadcrumbBtnMenuItem:"",d=0>=d.length?b&&b.breadcrumbBtnMenuItem&&0<b.breadcrumbBtnMenuItem.length?b.breadcrumbBtnMenuItem:"":d;T=!1;$.ajax({type:"GET",cache:!1,url:c,dataType:"html",success:function(c){try{var f=stripHtmlScripts(c);$(".more-botton-zone").children().remove();var g=$('<div style="display:none"></div>');g.children().remove();g.append(f);var h=$(".dropdown-menu",g).attr("displayType");if(h&&"pageableDiv"!=h)$(".more-botton-zone").append(f),
$("#pageableDiv").hide();else{var k=$(".dropdown-menu",g);if(0<k.length&&(moreOperations(k[0]),b&&b.target&&b.currentTarget)){var l=$(b.target).attr("defaultDisplay");(l=l?l:$(b.currentTarget).attr("defaultDisplay"))&&"false"==l.trim()?$("#pageableDiv").hide():$("#pageableDiv").show()}}runHtmlScripts(c)}catch(m){}finally{T=!0}groupButtonAuthentication();if(0<d.length){c=void 0;g=$(".zte-theme-panel");f=void 0;f="vertical"===$(".nav-pos-direction",g).val()?$("#page-sidebar-menu a[id='"+d+"']"):$(".hor-menu a[id='"+
d+"']");if(!f||1>f.length)f=$(".page-content a[id='"+d+"']");if(0<f.length)for(g=0;g<f.length;g++){if($(f[g]).parentsUntil(".more-botton-zone .btn-group").hasClass("dropdown-menu")){c=$(f[g]);break}if($(f[g]).parentsUntil("#pageableDiv").hasClass("row1")){c=$(f[g]);break}}c&&0<c.length&&L(c,b)}},error:function(c,b,f){$(".page-breadcrumb").append("<h4>"+$.i18n.prop("com_zte_ums_ict_framework_ui_loadmenuerror")+"</h4>");T=!0}})}};dealMultTabPage=function(c){var b=c.attr("href");if(b&&!(2>b.length)){var f=
-c.attr("redirect");if(f&&0<f.length){var d=$(".page-content .page-content-body ."+(""==y?"page-mainIframe":y)),g="";if(d&&0<d.length&&(g=d.attr("src"),b.split("?")[0]==g.split("?")[0]))return eval(f),M(c,!1,e),!0}return!1}};var E="",na="",ba=!1,M=function(c,b,f){var d=$(".breadcrumbUl");ZteFrameWork.setPageTitle(c.find("span").text().trim());var g=c.parent("li");0==g.length&&(g=c.parent("div"));var h=$(".nav-pos-direction",panel).val();c.attr("hparentid");var k=c.attr("breadcrumGroupButtonSrc");na=
-c.attr("id");var l=c="",m=null;if(ba)b=E.indexOf(g.children("a").attr("name")),-1<b?(b=E.indexOf("<i class='fa fa-angle-right'>",b),c=E.substring(0,b)+"<i class='fa fa-angle-right'></i>"):c=void 0,ba="";else{for(;g&&0<g.length;)g.children("a")&&(b?l=g.children("a").attr("name"):(l=ZteFrameWork.getUniqueID("aid"),g.children("a").attr("name",l)),m=g.clone(),m.children("a").removeClass("iframe"),m.children("a").removeClass("active"),m.children("a").attr("href","javascript:ZteFrameWork.goToURL('"+l+"');"),
-(l=$(".fa-angle-down",m.children("a")))&&l.remove(),0<m.children("a").length&&(c=m.children("a")[0].outerHTML+"<i class='fa fa-angle-right'></i>"+c),g.parent("ul").attr("id")==fMenuSiderDivId||g.parent("ul").attr("id")==megaSiderDivId?(g=g.children("a").attr("hparentid"),h==zteframework_menu_horizontal?magaMenu=$("#"+megaDivId):h==zteframework_menu_fmenu&&(magaMenu=$("#"+fMenuMegaDivId)),g=$("a[id="+g+"]",magaMenu).parent("li")):g=g.parents("li"));g[0]&&0<g[0].length&&(c=g.children("a")[0].outerHTML+
-"<i class='fa fa-angle-right'></i>"+c)}d.empty();$(".more-botton-zone").empty();E=c;store("globleCurrentBreadcrumb",E);d.append(c);k&&0<k.length?aa(k,f):$("#pageableDiv").hide()},oa=function(c,b,f){b=$(".breadcrumbUl");var d=c.parent(),g=c.attr("breadcrumGroupButtonSrc");f="";var h=null,h=c.attr("id");for(C.contains(h)||C.add(h,na);d&&0<d.length;)if(h=d.clone(),h.children("a")){h.children("a").removeClass("iframe");h.children("a").attr("href");h.children("a").attr("onclick","ZteFrameWork.openbreadcrumbLink($(this),event);");
+c.attr("redirect");if(f&&0<f.length){var d=$(".page-content .page-content-body ."+(""==y?"page-mainIframe":y)),g="";if(d&&0<d.length&&(g=d.attr("src"),b.split("?")[0]==g.split("?")[0]))return eval(f),M(c,!1,e),!0}return!1}};var E="",na="",ba=!1,M=function(c,b,f){var d=$(".breadcrumbUl");openoFrameWork.setPageTitle(c.find("span").text().trim());var g=c.parent("li");0==g.length&&(g=c.parent("div"));var h=$(".nav-pos-direction",panel).val();c.attr("hparentid");var k=c.attr("breadcrumGroupButtonSrc");na=
+c.attr("id");var l=c="",m=null;if(ba)b=E.indexOf(g.children("a").attr("name")),-1<b?(b=E.indexOf("<i class='fa fa-angle-right'>",b),c=E.substring(0,b)+"<i class='fa fa-angle-right'></i>"):c=void 0,ba="";else{for(;g&&0<g.length;)g.children("a")&&(b?l=g.children("a").attr("name"):(l=openoFrameWork.getUniqueID("aid"),g.children("a").attr("name",l)),m=g.clone(),m.children("a").removeClass("iframe"),m.children("a").removeClass("active"),m.children("a").attr("href","javascript:openoFrameWork.goToURL('"+l+"');"),
+(l=$(".fa-angle-down",m.children("a")))&&l.remove(),0<m.children("a").length&&(c=m.children("a")[0].outerHTML+"<i class='fa fa-angle-right'></i>"+c),g.parent("ul").attr("id")==fMenuSiderDivId||g.parent("ul").attr("id")==megaSiderDivId?(g=g.children("a").attr("hparentid"),h==openoFrameWork_menu_horizontal?magaMenu=$("#"+megaDivId):h==openoFrameWork_menu_fmenu&&(magaMenu=$("#"+fMenuMegaDivId)),g=$("a[id="+g+"]",magaMenu).parent("li")):g=g.parents("li"));g[0]&&0<g[0].length&&(c=g.children("a")[0].outerHTML+
+"<i class='fa fa-angle-right'></i>"+c)}d.empty();$(".more-botton-zone").empty();E=c;store("globleCurrentBreadcrumb",E);d.append(c);k&&0<k.length?aa(k,f):$("#pageableDiv").hide()},oa=function(c,b,f){b=$(".breadcrumbUl");var d=c.parent(),g=c.attr("breadcrumGroupButtonSrc");f="";var h=null,h=c.attr("id");for(C.contains(h)||C.add(h,na);d&&0<d.length;)if(h=d.clone(),h.children("a")){h.children("a").removeClass("iframe");h.children("a").attr("href");h.children("a").attr("onclick","openoFrameWork.openbreadcrumbLink($(this),event);");
var k=h.children("a").children("div");if(0<k.length){var l=k[0].innerHTML;k.remove();h.children("a")[0].innerHTML=l}0<h.children("a").length&&(f=h.children("a")[0].outerHTML+"<i class='fa fa-angle-right'></i>"+f);d=d.parents("li")}d[0]&&0<d[0].length&&(f=d.children("a")[0].outerHTML+"<i class='fa fa-angle-right'></i>"+f);g&&0<g.length?aa(g,!0):$("#pageableDiv").hide();b.empty();(c=c.attr("category"))&&0<c.length&&(c=V.items(c))&&c.ipTitle&&""!=c.ipTitle.trim()&&(f=c.ipTitle+'<i class="fa fa-angle-right"></i>'+
f);f=E+f;b.append(f)},R=!1,L=function(c,b){var f=c.attr("id");f&&0<f.length&&(N(f),v=(f=b&&b.data&&b.data.breadcrumbBtnMenuItem&&0<b.data.breadcrumbBtnMenuItem.length?b.data.breadcrumbBtnMenuItem:"")&&0<f.length?"":"dhByInterface");b&&b.breadcrumbBtnMenuItem&&0<b.breadcrumbBtnMenuItem.length||(F(),S(c,b));oa(c,!1,b)},ja=function(){var c=G().height-$(".header").height()+1;$("body").hasClass("page-footer-fixed")&&(c=c-(!$(".footer")||0>=$(".footer").length)?0:$(".footer").outerHeight());return c},X=
-function(){var c=$(".page-sidebar-menu");1===c.parent(".slimScrollDiv").size()&&(c.removeAttr("style"),$(".page-sidebar").removeAttr("style"));0===$(".page-sidebar-fixed").size()?B():G().width>=zteframework_smallView&&(ja(),B())},pa=function(){!1!==$("body").hasClass("page-sidebar-fixed")&&($(".page-sidebar").off("mouseenter").on("mouseenter",function(){Da()}),$(".page-sidebar").off("mouseleave").on("mouseleave",function(){Ea()}))},Da=function(){var c=$("body"),b=$(".page-sidebar");!1===c.hasClass("page-sidebar-closed")||
+function(){var c=$(".page-sidebar-menu");1===c.parent(".slimScrollDiv").size()&&(c.removeAttr("style"),$(".page-sidebar").removeAttr("style"));0===$(".page-sidebar-fixed").size()?B():G().width>=openoFrameWork_smallView&&(ja(),B())},pa=function(){!1!==$("body").hasClass("page-sidebar-fixed")&&($(".page-sidebar").off("mouseenter").on("mouseenter",function(){Da()}),$(".page-sidebar").off("mouseleave").on("mouseleave",function(){Ea()}))},Da=function(){var c=$("body"),b=$(".page-sidebar");!1===c.hasClass("page-sidebar-closed")||
!1===c.hasClass("page-sidebar-fixed")||$(this).hasClass("page-sidebar-hovering")||(c.removeClass("page-sidebar-closed").addClass("page-sidebar-hover-on"),$(".sidebar-toggler"),c.hasClass("page-sidebar-reversed")?b.width(u):(b.addClass("page-sidebar-hovering"),b.animate({width:u},350,"",function(){b.removeClass("page-sidebar-hovering")})))},Ea=function(){var c=$("body");if(!1!==c.hasClass("page-sidebar-hover-on")&&!1!==c.hasClass("page-sidebar-fixed")&&!$(this).hasClass("page-sidebar-hovering")){var b=
$(".page-sidebar"),f=$(".sidebar-toggler");c.hasClass("page-sidebar-reversed")?(c.addClass("page-sidebar-closed").removeClass("page-sidebar-hover-on"),b.width(q),f&&f.removeAttr("style")):(b.addClass("page-sidebar-hovering"),b.animate({width:q},350,"",function(){c.addClass("page-sidebar-closed").removeClass("page-sidebar-hover-on");b.removeClass("page-sidebar-hovering");f&&f.removeAttr("style")}))}},K=function(c,b,f,d){var g=c.attr("style")?c.attr("style"):"";styles=g.split(";");var h="";for(i=0;i<
-styles.length;i++)if(0<=styles[i].indexOf(b)){h=styles[i];break}g=0<h.length?g.replace(h,""):g;g=(g+";"+b+":"+f+(d?" !important":"")+";").replace(/;;/g,";");c.attr("style",g)},Fa=function(){var c=G();"1"===Q("sidebar_closed")&&c.width>=zteframework_smallView&&$("body").addClass("page-sidebar-closed");$(".page-sidebar, .sidebar-toggler").on("click",".sidebar-toggler",function(c){c.preventDefault();c=$("body");$(".page-sidebar");c.hasClass("page-sidebar-closed")&&$(this).removeAttr("style")});$(".page-sidebar, .header").on("click",
+styles.length;i++)if(0<=styles[i].indexOf(b)){h=styles[i];break}g=0<h.length?g.replace(h,""):g;g=(g+";"+b+":"+f+(d?" !important":"")+";").replace(/;;/g,";");c.attr("style",g)},Fa=function(){var c=G();"1"===Q("sidebar_closed")&&c.width>=openoFrameWork_smallView&&$("body").addClass("page-sidebar-closed");$(".page-sidebar, .sidebar-toggler").on("click",".sidebar-toggler",function(c){c.preventDefault();c=$("body");$(".page-sidebar");c.hasClass("page-sidebar-closed")&&$(this).removeAttr("style")});$(".page-sidebar, .header").on("click",
".sidebar-toggler",function(c){var b=$("body"),d=$(".page-sidebar");b.hasClass("page-sidebar-hover-on")&&b.hasClass("page-sidebar-fixed")||d.hasClass("page-sidebar-hovering")?(b.removeClass("page-sidebar-hover-on"),d.css("width","").hide().show(),B(),A("sidebar_closed","0"),c.stopPropagation()):($(".sidebar-search",d).removeClass("open"),c=$(".zte-theme-panel"),$(".sidebar-pos-option",c).val(),c=$("[class='page-content']"),b.hasClass("page-sidebar-closed")?(b.removeClass("page-sidebar-closed"),b.hasClass("page-sidebar-fixed")&&
d.css("width",""),A("sidebar_closed","0"),c.css("marginLeft",u)):(b.addClass("page-sidebar-closed"),$(this).removeAttr("style"),A("sidebar_closed","1"),c.css("marginLeft",q)),B(!0));W()})},Ga=function(){$(".header").on("click",".hor-menu .hor-menu-search-form-toggler",function(c){$(this).hasClass("off")?($(this).removeClass("off"),$(".header .hor-menu .search-form").hide()):($(this).addClass("off"),$(".header .hor-menu .search-form").show());c.preventDefault()});$(".header").on("click"," li > a.iframe",
function(c){c.preventDefault();var b=$(this).attr("id");b&&0<b.length&&(N(b),v="dhByInterface");D=!0;Z($(this),c,"header")});$(".header").on("click",'.hor-menu a[data-toggle="tab"]',function(c){c.preventDefault();c=$(".hor-menu .nav").find("li.current");$("li.active",c).removeClass("active");$(".selected",c).remove();c=$(this).parents("li").last();c.addClass("current");c.find("a:first").append('<span class="selected"></span>')})},qa=function(){var c=0;return setInterval(function(){var b;null==b&&
-(b=ZteFrameWork_conf.userName);b=FrameConst.REST_HEARTBEAT+"?username="+encodeURIComponent(b);$.ajax(b,{dataType:"text",cache:!1}).done(function(b){"true"==b&&(c=0)});c++;6<=c&&(disableHeartbeat(),bootbox.alert($.i18n.prop("com_zte_ums_aos_framework_ui_heartbeat_fail"),function(){window.location.replace("login.html")}))},1E4)};if(FrameConst.do_heartbeat)var O=qa();window.enableHeartbeat=function(){return O?"Already enabled!":(heartBeatTimes=0,O=qa(),"Enabled")};window.disableHeartbeat=function(){return O?
+(b=openoFrameWork_conf.userName);b=FrameConst.REST_HEARTBEAT+"?username="+encodeURIComponent(b);$.ajax(b,{dataType:"text",cache:!1}).done(function(b){"true"==b&&(c=0)});c++;6<=c&&(disableHeartbeat(),bootbox.alert($.i18n.prop("com_zte_ums_aos_framework_ui_heartbeat_fail"),function(){window.location.replace("login.html")}))},1E4)};if(FrameConst.do_heartbeat)var O=qa();window.enableHeartbeat=function(){return O?"Already enabled!":(heartBeatTimes=0,O=qa(),"Enabled")};window.disableHeartbeat=function(){return O?
(clearInterval(O),O=null,"Disabled"):"Already disabled!"};window.doLogout=function(){window.location=FrameConst.REST_LOGOUT};$("#trigger_logout").click(function(){bootbox.confirm($.i18n.prop("com_zte_ums_ict_framework_ui_confirmlogout"),function(c){c&&doLogout()})});var P=!1,Ha=function(){function c(){if(screenfull.supportsFullScreen)screenfull.isFullScreen?screenfull.exitFullScreen():screenfull.requestFullScreen(),P=screenfull.isFullscreen;else if(isIE&&"undefined"!==typeof window.ActiveXObject){var c=
new ActiveXObject("WScript.Shell");null!==c&&(c.SendKeys("{F11}"),P=!P)}else P=screenfull.supportsFullScreen;setTimeout(function(){P?$("#fullscreen_label").text($.i18n.prop("com_zte_ums_ict_framework_ui_group_exitfullscreen")):$("#fullscreen_label").text($.i18n.prop("com_zte_ums_ict_framework_ui_group_fullscreen"))},500)}$("#trigger_fullscreen").click(function(){c()})},ra=function(c){if(0<w.count())for(var b in w.hash()){var f=$(".page-content .page-content-body ."+b);f&&0<f.length&&(!0==c?(f.attr("src",
-""),f.remove()):b!=y&&f.attr("src",""),f.remove())}w.clear();if(0<x.count())for(b in x.hash())b!=y&&x.remove(b)},sa="",Ia=function(){var c=$(".zte-theme-panel");!1==$("body").hasClass("page-boxed")&&$(".layout-option",c).val("fluid");$(".sidebar-option",c).val("default");$(".language-option",c).val(b);$(".header-option",c).val("fixed");$(".footer-option",c).val("default");!1===$(".sidebar-pos-option").attr("disabled")&&$(".sidebar-pos-option",c).val(ZteFrameWork.isRTL()?"right":"left");var d=function(c){var b=
-ZteFrameWork.isRTL()?c+"-rtl":c;$("#style_color").attr("href",ICTFRAME_CONST_THEME_COLOR_CSS_PREFFIX+b+".css");A("style_color",c);c=null;if(0<w.count())for(var d in w.hash())(c=$(".page-content .page-content-body ."+d))&&0<c.length&&ZteFrameWork.SyncCSS(c[0],1,"")};$(".toggler",c).click(function(){$(".toggler").hide();$(".toggler-close").show();$(".zte-theme-panel > .theme-options").show()});$(".toggler-close",c).click(function(){$(".toggler").show();$(".toggler-close").hide();$(".zte-theme-panel > .theme-options").hide()});
+""),f.remove()):b!=y&&f.attr("src",""),f.remove())}w.clear();if(0<x.count())for(b in x.hash())b!=y&&x.remove(b)},sa="",Ia=function(){var c=$(".zte-theme-panel");!1==$("body").hasClass("page-boxed")&&$(".layout-option",c).val("fluid");$(".sidebar-option",c).val("default");$(".language-option",c).val(b);$(".header-option",c).val("fixed");$(".footer-option",c).val("default");!1===$(".sidebar-pos-option").attr("disabled")&&$(".sidebar-pos-option",c).val(openoFrameWork.isRTL()?"right":"left");var d=function(c){var b=
+openoFrameWork.isRTL()?c+"-rtl":c;$("#style_color").attr("href",ICTFRAME_CONST_THEME_COLOR_CSS_PREFFIX+b+".css");A("style_color",c);c=null;if(0<w.count())for(var d in w.hash())(c=$(".page-content .page-content-body ."+d))&&0<c.length&&openoFrameWork.SyncCSS(c[0],1,"")};$(".toggler",c).click(function(){$(".toggler").hide();$(".toggler-close").show();$(".zte-theme-panel > .theme-options").show()});$(".toggler-close",c).click(function(){$(".toggler").show();$(".toggler-close").hide();$(".zte-theme-panel > .theme-options").hide()});
$(".theme-colors > ul > li",c).click(function(){var b=$(this).attr("data-style");d(b);$("ul > li",c).removeClass("current");$(this).addClass("current")});$(".layout-option,.header-option, .sidebar-option, .footer-option, .sidebar-pos-option, .nav-pos-direction",c).change(function(){ta()});void 0!=Q("style_color")&&d(Q("style_color"));$(".language-option",c).change(function(){var b=$(".language-option",c).val();A("language-option",b);window.location.reload()})},ta=function(){var c=$(".zte-theme-panel"),
-b=$(".layout-option",c).val(),f=$(".language-option",c).val(),d=$(".header-option",c).val(),g=$(".footer-option",c).val(),h=$(".nav-pos-direction",c).val();var k=$(".zte-theme-panel");if("disabled"!=$(".nav-pos-direction",k).attr("disabled")){var l=$("#page-sidebar-menu"),m=$("#main_hormenu"),l=$("#page-sidebar-menu"),m=$("#main_hormenu"),n=$("#"+megaSiderDivId),v=$("#"+fMenuMegaDivId),w=$("#"+fMenuSiderDivId),r=$("[class='page-content']");l&&0<l.length&&m&&0<m.length&&v&&0<v.length&&(h===zteframework_menu_horizontal?
-(l.css("display","none"),v.css("display","none"),w.css("display","none"),r.css("marginLeft",0),$("body").addClass("page-full-width"),m.css("display","block"),$(".sidebar-option",k).val("default"),$(".sidebar-option",k).attr("disabled",!0),$(".sidebar-pos-option",k).val("left"),$(".sidebar-pos-option",k).attr("disabled",!0)):h===zteframework_menu_vertical?($("body").removeClass("page-full-width"),l.css("display","block"),$("body").hasClass("page-sidebar-closed")?r.css("marginLeft",q):r.css("marginLeft",
-u),m.css("display","none"),v.css("display","none"),w.css("display","none"),n.css("display","none"),$(".sidebar-option",k).attr("disabled",!1),$(".sidebar-pos-option",k).attr("disabled",!1)):h===zteframework_menu_fmenu&&(l.css("display","none"),m.css("display","none"),w.css("display","none"),v.css("display","block"),r.css("marginLeft",0),$("body").addClass("page-full-width"),$(".sidebar-option",k).val("default"),$(".sidebar-option",k).attr("disabled",!0),$(".sidebar-pos-option",k).val("left"),$(".sidebar-pos-option",
+b=$(".layout-option",c).val(),f=$(".language-option",c).val(),d=$(".header-option",c).val(),g=$(".footer-option",c).val(),h=$(".nav-pos-direction",c).val();var k=$(".zte-theme-panel");if("disabled"!=$(".nav-pos-direction",k).attr("disabled")){var l=$("#page-sidebar-menu"),m=$("#main_hormenu"),l=$("#page-sidebar-menu"),m=$("#main_hormenu"),n=$("#"+megaSiderDivId),v=$("#"+fMenuMegaDivId),w=$("#"+fMenuSiderDivId),r=$("[class='page-content']");l&&0<l.length&&m&&0<m.length&&v&&0<v.length&&(h===openoFrameWork_menu_horizontal?
+(l.css("display","none"),v.css("display","none"),w.css("display","none"),r.css("marginLeft",0),$("body").addClass("page-full-width"),m.css("display","block"),$(".sidebar-option",k).val("default"),$(".sidebar-option",k).attr("disabled",!0),$(".sidebar-pos-option",k).val("left"),$(".sidebar-pos-option",k).attr("disabled",!0)):h===openoFrameWork_menu_vertical?($("body").removeClass("page-full-width"),l.css("display","block"),$("body").hasClass("page-sidebar-closed")?r.css("marginLeft",q):r.css("marginLeft",
+u),m.css("display","none"),v.css("display","none"),w.css("display","none"),n.css("display","none"),$(".sidebar-option",k).attr("disabled",!1),$(".sidebar-pos-option",k).attr("disabled",!1)):h===openoFrameWork_menu_fmenu&&(l.css("display","none"),m.css("display","none"),w.css("display","none"),v.css("display","block"),r.css("marginLeft",0),$("body").addClass("page-full-width"),$(".sidebar-option",k).val("default"),$(".sidebar-option",k).attr("disabled",!0),$(".sidebar-pos-option",k).val("left"),$(".sidebar-pos-option",
k).attr("disabled",!0)))}k=$(".sidebar-option",c).val();l=$(".sidebar-pos-option",c).val();"fixed"==k&&"default"==d&&(alert($.i18n.prop("com_zte_ums_ict_framework_ui_fixedsidedefaultheaderError")),$(".header-option",c).val("fixed"),$(".sidebar-option",c).val("fixed"),d=k="fixed");"fixed"==k&&"right"==l&&(alert($.i18n.prop("com_zte_ums_ict_framework_ui_fixedsiderightpositionError")),$(".sidebar-pos-option",c).val("left"),l="left");$("body").removeClass("page-boxed").removeClass("page-footer-fixed").removeClass("page-sidebar-fixed").removeClass("page-header-fixed").removeClass("page-sidebar-reversed");
$(".header > .header-inner").removeClass("container");1===$(".page-container").parent(".container").size()&&$(".page-container").insertAfter("body > .clearfix");1===$(".footer > .container").size()?$(".footer").html($(".footer > .container").html()):1===$(".footer").parent(".container").size()&&$(".footer").insertAfter(".page-container");$("body > .container").remove();"boxed"===b&&($("body").addClass("page-boxed"),$(".header > .header-inner").addClass("container"),$("body > .clearfix").after('<div class="container"></div>'),
$(".page-container").appendTo("body > .container"),"fixed"===g?$(".footer").html('<div class="container">'+$(".footer").html()+"</div>"):$(".footer").appendTo("body > .container"));sa!=b&&W();sa=b;"fixed"===d?($("body").addClass("page-header-fixed"),$(".header").removeClass("navbar-static-top").addClass("navbar-fixed-top")):($("body").removeClass("page-header-fixed"),$(".header").removeClass("navbar-fixed-top").addClass("navbar-static-top"));!1===$("body").hasClass("page-full-width")&&("fixed"===
-k?$("body").addClass("page-sidebar-fixed"):$("body").removeClass("page-sidebar-fixed"));"fixed"===g?$("body").addClass("page-footer-fixed"):$("body").removeClass("page-footer-fixed");ZteFrameWork.isRTL()?"left"===l?($("body").addClass("page-sidebar-reversed"),$("#frontend-link").tooltip("destroy").tooltip({placement:"right"})):(c=$("[class='page-content']"),c.css("marginLeft",0),$("body").removeClass("page-sidebar-reversed"),$("#frontend-link").tooltip("destroy").tooltip({placement:"left"})):"right"===
+k?$("body").addClass("page-sidebar-fixed"):$("body").removeClass("page-sidebar-fixed"));"fixed"===g?$("body").addClass("page-footer-fixed"):$("body").removeClass("page-footer-fixed");openoFrameWork.isRTL()?"left"===l?($("body").addClass("page-sidebar-reversed"),$("#frontend-link").tooltip("destroy").tooltip({placement:"right"})):(c=$("[class='page-content']"),c.css("marginLeft",0),$("body").removeClass("page-sidebar-reversed"),$("#frontend-link").tooltip("destroy").tooltip({placement:"left"})):"right"===
l?(c=$("[class='page-content']"),c.css("marginLeft",0),$("body").addClass("page-sidebar-reversed"),$("#frontend-link").tooltip("destroy").tooltip({placement:"left"})):($("body").removeClass("page-sidebar-reversed"),$("#frontend-link").tooltip("destroy").tooltip({placement:"right"}));B();X();pa();A("layout-option",b);A("language-option",f);A("header-option",d);A("sidebar-option",k);A("sidebar-pos-option",l);A("nav-pos-direction",h)},A=function(c,b){store&&store(c,b)},Q=function(c){if(store)return store(c)},
-N=function(c){location.hash="#_"+c},ua=function(c,b,f,d){var g=$.url(ZteFrameWork.getCurrentScript(document)).attr("directory")+"proxy/proxy.html",g=$('<iframe id="ifm_Proxy" name="ifm_Proxy" oldproxyorigin="'+b+'" src="'+b+g+'" style="border: 0px; margin: 0px; padding: 0px; width: 100%; display:none;" ></iframe>'),h=$("#ifm_Proxy");h.hide();var k=$(".page-content .page-content-body"),l=[],m=[],n=[],q="";for(i=0;i<f.length;i++)"undefined"!==typeof f[i].link.href?(q=f[i].link.href,n.push("css")):"undefined"!==
+N=function(c){location.hash="#_"+c},ua=function(c,b,f,d){var g=$.url(openoFrameWork.getCurrentScript(document)).attr("directory")+"proxy/proxy.html",g=$('<iframe id="ifm_Proxy" name="ifm_Proxy" oldproxyorigin="'+b+'" src="'+b+g+'" style="border: 0px; margin: 0px; padding: 0px; width: 100%; display:none;" ></iframe>'),h=$("#ifm_Proxy");h.hide();var k=$(".page-content .page-content-body"),l=[],m=[],n=[],q="";for(i=0;i<f.length;i++)"undefined"!==typeof f[i].link.href?(q=f[i].link.href,n.push("css")):"undefined"!==
typeof f[i].link.src?f[i].link.src&&0<f[i].link.src.length?(q=f[i].link.src,n.push("javascriptfile")):(q=f[i].link.text,n.push("javascripttext")):n.push("undefined"),l.push(q),m.push({pos:f[i].pos,scope:f[i].scope,id:f[i].link.id});c={iFrame:c,cssLinktyps:n,cssLinksrcs:l,cssLinkids:m,origin:b,flag:d};h&&0>=h.length?(g.appendTo(k),g.one("load",c,function(c){var b={iFrame:c.data.iFrame,cssLinktyps:c.data.cssLinktyps,cssLinksrcs:c.data.cssLinksrcs,cssLinkids:c.data.cssLinkids,flag:d};$("#ifm_Proxy")[0].contentWindow.postMessage(b,
c.data.origin)})):h.attr("oldproxyorigin")!=b?(h.attr("src",""),h.attr("oldproxyorigin",b),h.one("load",c,function(c){var b={iFrame:c.data.iFrame,cssLinktyps:c.data.cssLinktyps,cssLinksrcs:c.data.cssLinksrcs,cssLinkids:c.data.cssLinkids,flag:d};$("#ifm_Proxy")[0].contentWindow.postMessage(b,c.data.origin)}),h.attr("src",g.attr("src"))):h[0].contentWindow.postMessage({iFrame:c.iFrame,cssLinktyps:c.cssLinktyps,cssLinksrcs:c.cssLinksrcs,cssLinkids:c.cssLinkids,flag:d},c.origin)};return{init:function(){zte_http_headers&&
-store("zte_http_headers",zte_http_headers);va();xa();wa();ra(!0);C.clear();X();pa();Ca();Ga();Fa();Ia();ta();$(function(){$(window).on("hashchange",function(){var c=location.hash.replace("#_","");if(c&&0<c.length)if("dhByInterface"==v.trim())v="";else{var b=c,f=void 0,d=c.indexOf("/");-1!=d&&(b=c.substring(0,d),f=c.substring(d+1));ZteFrameWork.goToURLByIDAndNewAction(b,f)}})});Ha();$("#header_dropdown_user").css("display","block");$("#com_zte_ums_ict_framework_img_netnumenLogo").css("display","inline");
-$("#com_zte_ums_ict_framework_ui_main_title").css("display","inline");handeCtxMenuitem()},clearCachedIframes:function(c){ra(c)},setBaseURLRoot:function(c){store&&store("baseURLRoot",c);c=$.url(c);location.hash=c.attr("fragment");c=c.attr("query");store&&store("baseURLRootAuth",c)},getBaseURLRoot:function(c){c="";store&&(c=store("baseURLRoot"));return c?c:""},clearBaseURLRoot:function(){store&&store("baseURLRoot","",-1)},setPageTitle:function(c){$("title").html(c+" - "+l)},getLanguage:function(){return ZteFrameWork_conf.acceptLanguage},
+store("zte_http_headers",zte_http_headers);va();xa();wa();ra(!0);C.clear();X();pa();Ca();Ga();Fa();Ia();ta();$(function(){$(window).on("hashchange",function(){var c=location.hash.replace("#_","");if(c&&0<c.length)if("dhByInterface"==v.trim())v="";else{var b=c,f=void 0,d=c.indexOf("/");-1!=d&&(b=c.substring(0,d),f=c.substring(d+1));openoFrameWork.goToURLByIDAndNewAction(b,f)}})});Ha();$("#header_dropdown_user").css("display","block");$("#com_zte_ums_ict_framework_img_netnumenLogo").css("display","inline");
+$("#com_zte_ums_ict_framework_ui_main_title").css("display","inline");handeCtxMenuitem()},clearCachedIframes:function(c){ra(c)},setBaseURLRoot:function(c){store&&store("baseURLRoot",c);c=$.url(c);location.hash=c.attr("fragment");c=c.attr("query");store&&store("baseURLRootAuth",c)},getBaseURLRoot:function(c){c="";store&&(c=store("baseURLRoot"));return c?c:""},clearBaseURLRoot:function(){store&&store("baseURLRoot","",-1)},setPageTitle:function(c){$("title").html(c+" - "+l)},getLanguage:function(){return openoFrameWork_conf.acceptLanguage},
getLocationHash:function(){return location.hash.replace("#_","")},setSceneURLRootPath:function(c){c&&0<c.trim().length&&(J=c.trim(),"/"!=J.charAt(J.length-1)&&(J+="/"))},addResponsiveHandler:function(c){I.push(c)},hiddenAlarmLight:function(){ia()},hiddenMenu:function(){ha()},setBreadcrumbByMenuID:function(c){var b=void 0,f=void 0,d=$(".zte-theme-panel"),d=$(".nav-pos-direction",d).val();if("vertical"===d){if(f=$("#page-sidebar-menu a[id='"+c+"']"),!f||1>f.length)f=$(".page-content a[id='"+c+"']")}else d===
-zteframework_menu_horizontal?(f=$("#main_hormenu a[id='"+c+"']"),0==f.length&&(f=$("#page-megachild-sidebar-menu a[id='"+c+"']"))):d===zteframework_menu_fmenu&&(f=$("#f_hormenu a[id='"+c+"']"),0==f.length&&(f=$("#page-f-sidebar-menu a[id='"+c+"']")));d=!1;if(0<f.length)for(var g=0;g<f.length;g++)if($(f[g]).parentsUntil(".header-inner").hasClass("hor-menu")){b=$(f[g]);break}else if($(f[g]).parentsUntil(".page-container").hasClass("page-sidebar")){b=$(f[g]);break}else if($(f[g]).parentsUntil(".more-botton-zone .btn-group").hasClass("dropdown-menu")){b=
-$(f[g]);d=!0;break}else if($(f[g]).parentsUntil("#pageableDiv").hasClass("row1")){b=$(f[g]);d=!0;break}if(b&&0<b.length)d?oa(b,!1):M(b,!0,null);else{f="";if(!b||0>=b.length){var h=c;C.contains(h)&&(f="#"+C.items(h),b=$(f))}c=void 0;f&&0<f.length&&(c={breadcrumbBtnMenuItem:h});c&&b&&0<b.length&&M(b,!0,c)}},setSiderbarCollapseWidth:function(c){q=c},getSiderbarCollapseWidth:function(){return q},setSidebarWidth:function(c){u=c},getSidebarWidth:function(){return u},handlBaseURL:function(c){var b=ZteFrameWork.getBaseURLRoot();
-0<b.length&&(b=ZteFrameWork.getDomainURL(b),console.log("old a link href url:"+c),c=b+c.replace(ZteFrameWork.getDomainURL(c),""),console.log("baseURLRoot:"+b+" newURL:"+c));return c},startPageLoading:function(c){F(c)},stopPageLoading:function(){$(".page-loading").remove()},getLocationURLParameter:function(c,b){var f,d,g=decodeURIComponent(window.location.search.substring(1)).toLowerCase().split(b?b:"&");c=c.toLowerCase();for(f=0;f<g.length;f++)if(d=g[f].split("="),d[0]==c)return unescape(d[1]);
+openoFrameWork_menu_horizontal?(f=$("#main_hormenu a[id='"+c+"']"),0==f.length&&(f=$("#page-megachild-sidebar-menu a[id='"+c+"']"))):d===openoFrameWork_menu_fmenu&&(f=$("#f_hormenu a[id='"+c+"']"),0==f.length&&(f=$("#page-f-sidebar-menu a[id='"+c+"']")));d=!1;if(0<f.length)for(var g=0;g<f.length;g++)if($(f[g]).parentsUntil(".header-inner").hasClass("hor-menu")){b=$(f[g]);break}else if($(f[g]).parentsUntil(".page-container").hasClass("page-sidebar")){b=$(f[g]);break}else if($(f[g]).parentsUntil(".more-botton-zone .btn-group").hasClass("dropdown-menu")){b=
+$(f[g]);d=!0;break}else if($(f[g]).parentsUntil("#pageableDiv").hasClass("row1")){b=$(f[g]);d=!0;break}if(b&&0<b.length)d?oa(b,!1):M(b,!0,null);else{f="";if(!b||0>=b.length){var h=c;C.contains(h)&&(f="#"+C.items(h),b=$(f))}c=void 0;f&&0<f.length&&(c={breadcrumbBtnMenuItem:h});c&&b&&0<b.length&&M(b,!0,c)}},setSiderbarCollapseWidth:function(c){q=c},getSiderbarCollapseWidth:function(){return q},setSidebarWidth:function(c){u=c},getSidebarWidth:function(){return u},handlBaseURL:function(c){var b=openoFrameWork.getBaseURLRoot();
+0<b.length&&(b=openoFrameWork.getDomainURL(b),console.log("old a link href url:"+c),c=b+c.replace(openoFrameWork.getDomainURL(c),""),console.log("baseURLRoot:"+b+" newURL:"+c));return c},startPageLoading:function(c){F(c)},stopPageLoading:function(){$(".page-loading").remove()},getLocationURLParameter:function(c,b){var f,d,g=decodeURIComponent(window.location.search.substring(1)).toLowerCase().split(b?b:"&");c=c.toLowerCase();for(f=0;f<g.length;f++)if(d=g[f].split("="),d[0]==c)return unescape(d[1]);
return null},getURLParameter:function(c,b){var f,d,g=decodeURIComponent(b).toLowerCase().split("&");c=c.toLowerCase();for(f=0;f<g.length;f++)if(d=g[f].split("="),d[0]==c)return unescape(d[1]);return null},isTouchDevice:function(){return h},getUniqueID:function(c){return c+"_"+Math.floor(Math.random()*(new Date).getTime())},isIE8:function(){return g},isIE9:function(){return n},isRTL:function(){return d},getViewPort:function(){return G()},getLayoutColorCode:function(c){return ca[c]?ca[c]:""},fixContentHeight:function(){B()},
dealAtoIframe:function(c,b){var f=c.parentsUntil(".page-container").hasClass("page-sidebar")?"page-sidebar":"",f=c.parentsUntil(".header-inner").hasClass("hor-menu")?"header":f;Z(c,b,f);D=!1},getDomainURL:function(c){var b=$.url(c);c=b.attr("protocol");var f=b.attr("host"),b=b.attr("port");return c+"://"+f+(0<b.length?":"+b:"")},getCurrentScript:function(c){if(c&&c.currentScript)return console.log("0\u3001 "+c.currentScript.src),c.currentScript.src;var b;try{a.b.c()}catch(f){b=f.stack,f.sourceURL?
b=f.sourceURL:!b&&window.opera&&(b=(String(f).match(/of linked script \S+/g)||[]).join(" ")),console.log("1\u3001 "+b)}if(b)return console.log("2\u3001 "+b),b=b.split(/[@ ]/g).pop(),b="("==b[0]?b.slice(1,-1):b,console.log("3\u3001 "+b),b.replace(/(:\d+)?:\d+$/i,"");if(c){c=c.getElementsByTagName("script");b=0;for(var d;d=c[b++];)if("interactive"===d.readyState)return console.log("4\u3001 "+(d.className=d.src)),d.className=d.src}},SyncCSS:function(c,b,f){if(c){var d=[];if(f&&0<f.length&&f.endWith(".css")){f=
$('<a href="'+f+'"></a>');var g=document.createElement("link");g.href=f[0].href;f=null;g.rel="stylesheet";g.type="text/css";g.id="ifram_csssrc";d.push({pos:"head",scope:"all",link:g})}10!=b&&(0<$("#style_color").length&&(g=document.createElement("link"),g.href=$("#style_color")[0].href.replace(".css","_ifrm.css"),g.rel="stylesheet",g.type="text/css",g.id="style_color",d.push({pos:"head",scope:"all",link:g})),0<$("#font_awesome").length&&(f=document.createElement("link"),f.href=$("#font_awesome")[0].href,
f.rel="stylesheet",f.type="text/css",f.id="font_awesome",d.push({pos:"head",scope:"all",link:f})),g=$("script[src*='/pym.']"),g=0<g.length?g:$("script[src*='/pym1.']"),0<g.length&&(f=document.createElement("script"),f.src=g[0].src,f.type="text/javascript",f.id=g[0].id?g[0].id:"pymjs",d.push({pos:"head",scope:"one",link:f}),f=document.createElement("script"),g=0<y.split("-").length?y.split("-")[1]:"1",f.text="var t1;function pmchd(){console.log('In the frame "+y+",pym code call is begining; '+(typeof pym!= 'undefined'));if(typeof pym != 'undefined'){pymChild"+
-g+" = new pym.Child({ id: 'pdiv_"+y+"' ,polling: 500});window.clearInterval(t1); }};t1 = window.setInterval(pmchd,5);",f.type="text/javascript",f.id="pymChild",d.push({pos:"htmlend",scope:"one",link:f})),f=$("script[src*='/hk.']"),f=0<f.length?f:$("script[src*='/hk1.']"),0<f.length&&(g=document.createElement("script"),g.src=f[0].src,g.type="text/javascript",g.id=f[0].id?f[0].id:"hkjs",d.push({pos:"head",scope:"one",link:g}),g=document.createElement("script")));f=ZteFrameWork.getDomainURL(c.src);if(window.location.origin==
+g+" = new pym.Child({ id: 'pdiv_"+y+"' ,polling: 500});window.clearInterval(t1); }};t1 = window.setInterval(pmchd,5);",f.type="text/javascript",f.id="pymChild",d.push({pos:"htmlend",scope:"one",link:f})),f=$("script[src*='/hk.']"),f=0<f.length?f:$("script[src*='/hk1.']"),0<f.length&&(g=document.createElement("script"),g.src=f[0].src,g.type="text/javascript",g.id=f[0].id?f[0].id:"hkjs",d.push({pos:"head",scope:"one",link:g}),g=document.createElement("script")));f=openoFrameWork.getDomainURL(c.src);if(window.location.origin==
f){for(i=0;i<d.length;i++)(f=c.contentDocument.getElementById(d[i].link.id))&&("HEAD"===f.parentNode.tagName.toUpperCase?c.contentDocument.head.removeChild(f):"HTML"===f.parentNode.tagName.toUpperCase&&c.contentDocument.removeChild(f)),"head"==d[i].pos?c.contentDocument.head.appendChild(d[i].link):"bodyend"==d[i].pos?c.contentDocument.body.appendChild(d[i].link):"htmlend"==d[i].pos&&c.contentDocument.body.parentNode.appendChild(d[i].link);if((c=c.contentDocument.getElementsByTagName("iframe"))&&0<
-c.length){var h=[];for(i=0;i<d.length&&"one"!=d[i].scope;i++)h.push(d[i]);for(j=0;j<c.length;j++)d={ifmHeadlins:h},f=ZteFrameWork.getDomainURL(c[j].src),window.location.origin==f?(f=function(c){for(i=0;i<c.data.ifmHeadlins.length;i++){var b=$(c.data.ifmHeadlins[i].link).clone()[0],f=this.contentDocument.getElementById(b.id);f&&("HEAD"===f.parentNode.tagName.toUpperCase?this.contentDocument.head.removeChild(f):"HTML"===f.parentNode.tagName.toUpperCase&&this.contentDocument.removeChild(f));"head"==
+c.length){var h=[];for(i=0;i<d.length&&"one"!=d[i].scope;i++)h.push(d[i]);for(j=0;j<c.length;j++)d={ifmHeadlins:h},f=openoFrameWork.getDomainURL(c[j].src),window.location.origin==f?(f=function(c){for(i=0;i<c.data.ifmHeadlins.length;i++){var b=$(c.data.ifmHeadlins[i].link).clone()[0],f=this.contentDocument.getElementById(b.id);f&&("HEAD"===f.parentNode.tagName.toUpperCase?this.contentDocument.head.removeChild(f):"HTML"===f.parentNode.tagName.toUpperCase&&this.contentDocument.removeChild(f));"head"==
c.data.ifmHeadlins[i].pos?this.contentDocument.head.appendChild(b):"bodyend"==c.data.ifmHeadlins[i].pos?this.contentDocument.body.appendChild(b):"htmlend"==h[i].pos&&this.contentDocument.body.parentNode.appendChild(b)}},$(c[j]).off("onload",d,f),$(c[j]).on("onload",d,f),$(c[j]).trigger("onload")):0<h.length&&(console.log("\u8de8\u57df\u8bbf\u95ee: \u7cfb\u7edf\u5c06\u8fdb\u5165\u8de8\u57df\u8bbf\u95ee\u4ee3\u7406\u5904\u7406\u6d41\u7a0b "),ua(c[j].name,f,h,b))}}else 0<d.length&&(console.log("\u8de8\u57df\u8bbf\u95ee: \u7cfb\u7edf\u5c06\u8fdb\u5165\u8de8\u57df\u8bbf\u95ee\u4ee3\u7406\u5904\u7406\u6d41\u7a0b "),
-ua(c.name,f,d,b))}},goToURL:function(c){ba=!0;"false"==ZteFrameWork.getLocationURLParameter("showNav")?location.reload():$("a[name='"+c+"']").click()},goToURLByName:function(c){"false"==ZteFrameWork.getLocationURLParameter("showNav")?location.reload():(url="a[name='"+c+"']",$(url).click())},goToURLByID:function(c){c&&("false"==ZteFrameWork.getLocationURLParameter("showNav")?location.reload():(0>c.indexOf("#")&&(c="#"+c),$(c).click()))},goToPortal:function(c){var b=top.location.href;console.log(b);
+ua(c.name,f,d,b))}},goToURL:function(c){ba=!0;"false"==openoFrameWork.getLocationURLParameter("showNav")?location.reload():$("a[name='"+c+"']").click()},goToURLByName:function(c){"false"==openoFrameWork.getLocationURLParameter("showNav")?location.reload():(url="a[name='"+c+"']",$(url).click())},goToURLByID:function(c){c&&("false"==openoFrameWork.getLocationURLParameter("showNav")?location.reload():(0>c.indexOf("#")&&(c="#"+c),$(c).click()))},goToPortal:function(c){var b=top.location.href;console.log(b);
b=$.url(b);top.location=b.attr("directory")+"uifportal.html#"+c+"/"},goToURLByIDAndNewIPPort:function(b,d,f){V.replace(d.menuCategoryID,{ipPort:d.ipPortStr,ipTitle:d.newTitle});store&&store("menuCategoryID",d.menuCategoryID+"[menuCategoryID]"+d.ipPortStr+"[menuCategoryID]"+(d.newTitle?d.newTitle:""));var g=this.findMenuItemByMenuId(b);if(!g||0>=g.length){var h=this.getMenuItemId_From_MoreMenuRelation(b);if(h&&0<h.length&&(g=this.findMenuItemByMenuId(h))&&0<g.length&&(h=$("#"+b,$("#pageableDiv")).parent(),
$(".box.boxOperation",$(".carousel-inner")).removeClass("moreButtonSelected"),h=$("a>div.box",h),!1==h.hasClass("moreButtonSelected")&&h.addClass("moreButtonSelected"),h=$(".item.moreButtonsTag"),0<h.length))for(var k=0;k<h.length;k++){var l=$(h[k]);l.removeClass("active");0<$(".moreButtonSelected",l).length&&l.addClass("active")}}g&&0<g.length&&(d=g.attr(d.menuCategoryID+"-multiInsrc"))&&(g.attr("breadcrumgroupbuttonsrc",d),aa(d,!0));U&&clearInterval(U);U=setInterval(function(){!0==T&&(clearInterval(U),
-ZteFrameWork.goToURLByIDAndNewAction(b,f,null))},10)},goToURLByIDAndNewAction:function(b,d,f){if(b){var g=this.findMenuItemByMenuId(b);if(f)window.open(ICTFRAME_CONST_DEFAULTPAGE_PATH+f.paramStr+("#_"+b),f.windowTitle).name=d;else{(f=g?g.attr("id"):"")&&0<f.length&&N(f);var h="";if(!g||0>=g.length)f=b,C.contains(f)&&(h=C.items(f),g=this.findMenuItemByMenuId(h)),g&&0<g.length&&(R=!0);if(!g||0>=g.length){var k=this.getMenuItemId_From_MoreMenuRelation(b);k&&(g=this.findMenuItemByMenuId(k))}if(store&&
-store("globleCurrentBreadcrumb")){E=store("globleCurrentBreadcrumb");for(var l=$("a",$("<div>"+E+"</div>")),m,n,q=0;q<l.length;q++)for(m=$(l[q]),n=$("a[id='"+m.attr("id")+"']"),j=0;j<n.length;j++)$(n[j]).attr("name",m.attr("name"))}if(g&&0<g.length){if(b=$(".zte-theme-panel"),$(".nav-pos-direction",b).val()===zteframework_menu_fmenu){l=g.attr("hparentid");b=g.attr("id");var q=0;for(m=g;b!=l&&20>q;)m=ZteFrameWork.findMenuItemByMenuId(l),l=m.attr("hparentid"),b=m.attr("id"),q++;m.hasClass("active")||
-m.parent().addClass("active")}}else console.log("goToURLByIDAndNewAction():Can't find the menuitem.The menu ID is:"+b+".Please check if the ID or ID cache is correct.");b=void 0;d&&h&&0<h.length?b={action:d,breadcrumbBtnMenuItem:f}:d?b={action:d}:h&&0<h.length?b={breadcrumbBtnMenuItem:f}:k&&(R=!0,b={breadcrumbBtnMenuItem:f});if(b&&b.action||b&&b.breadChangeType)v="dhByInterface";g&&0<g.length&&(g.one("click",b,function(b){ZteFrameWork.dealAtoIframe($(this),b);return!1}),g.click())}}},getBreadcrumbEle:function(){return $(".breadcrumbUl")[0]},
-findMenuItemByMenuId:function(b){var d=void 0,f=$(".zte-theme-panel"),g=$(".nav-pos-direction",f).val(),f=void 0;"vertical"===g?f=$("#page-sidebar-menu a[id='"+b+"']"):g===zteframework_menu_horizontal?(f=$("#main_hormenu a[id='"+b+"']"),0==f.length&&(f=$("#page-megachild-sidebar-menu a[id='"+b+"']"))):g===zteframework_menu_fmenu&&(f=$("#f_hormenu a[id='"+b+"']"),0==f.length&&(f=$("#page-f-sidebar-menu a[id='"+b+"']")));f&&0==f.length&&(console.log("fmenu alink length is :"+$("#page-f-sidebar-menu a").length),
-console.log("cant find menu in sidemenu\u3001megamenu and fmenu , the menu id is "+b));if(f&&0<f.length)for(b=0;b<f.length;b++)if($(f[b]).parentsUntil(".header-inner").hasClass("hor-menu")){d=$(f[b]);break}else if($(f[b]).parentsUntil(".page-container").hasClass("page-sidebar")){d=$(f[b]);break}return d},getMenuItemId_From_MoreMenuRelation:function(b){var d=$(".zte-theme-panel"),d=$(".nav-pos-direction",d).val();d===zteframework_menu_vertical?relationAry=sideBarMenu_to_moreMenu_frame:d===zteframework_menu_horizontal?
-relationAry=horBarMenu_to_moreMenu_frame:d===zteframework_menu_fmenu&&(relationAry=horBarMenu_to_moreMenu_frame);if(relationAry&&b){for(d=0;d<relationAry.length;d++)for(var f=relationAry[d],g=f.moreMenuIds,h=0;h<g.length;h++)if(g[h]&&g[h]==b)return f.mainMenuId;return null}},getMenuItemFoucsByID:function(b){if(b){var d=void 0,f=void 0,g=$(".zte-theme-panel"),g=$(".nav-pos-direction",g).val();"vertical"===g?f=$("#page-sidebar-menu a[id='"+b+"']"):g===zteframework_menu_horizontal?(f=$("#main_hormenu a[id='"+
-b+"']"),0==f.length&&(f=$("#page-megachild-sidebar-menu a[id='"+b+"']"))):g===zteframework_menu_fmenu&&(f=$("#f_hormenu a[id='"+b+"']"),0==f.length&&(f=$("#page-f-sidebar-menu a[id='"+b+"']")));if(0<f.length)for(g=0;g<f.length;g++)if($(f[g]).parentsUntil(".header-inner").hasClass("hor-menu")){d=$(f[g]);break}else if($(f[g]).parentsUntil(".page-container").hasClass("page-sidebar")){d=$(f[g]);break}f="";if(!d||0>=d.length)menuItemID=b,C.contains(menuItemID)&&(f="#"+C.items(menuItemID),d=$(f));b=void 0;
+openoFrameWork.goToURLByIDAndNewAction(b,f,null))},10)},goToURLByIDAndNewAction:function(b,d,f){if(b){var g=this.findMenuItemByMenuId(b);if(f)window.open(ICTFRAME_CONST_DEFAULTPAGE_PATH+f.paramStr+("#_"+b),f.windowTitle).name=d;else{(f=g?g.attr("id"):"")&&0<f.length&&N(f);var h="";if(!g||0>=g.length)f=b,C.contains(f)&&(h=C.items(f),g=this.findMenuItemByMenuId(h)),g&&0<g.length&&(R=!0);if(!g||0>=g.length){var k=this.getMenuItemId_From_MoreMenuRelation(b);k&&(g=this.findMenuItemByMenuId(k))}if(store&&
+store("globleCurrentBreadcrumb")){E=store("globleCurrentBreadcrumb");for(var l=$("a",$("<div>"+E+"</div>")),m,n,q=0;q<l.length;q++)for(m=$(l[q]),n=$("a[id='"+m.attr("id")+"']"),j=0;j<n.length;j++)$(n[j]).attr("name",m.attr("name"))}if(g&&0<g.length){if(b=$(".zte-theme-panel"),$(".nav-pos-direction",b).val()===openoFrameWork_menu_fmenu){l=g.attr("hparentid");b=g.attr("id");var q=0;for(m=g;b!=l&&20>q;)m=openoFrameWork.findMenuItemByMenuId(l),l=m.attr("hparentid"),b=m.attr("id"),q++;m.hasClass("active")||
+m.parent().addClass("active")}}else console.log("goToURLByIDAndNewAction():Can't find the menuitem.The menu ID is:"+b+".Please check if the ID or ID cache is correct.");b=void 0;d&&h&&0<h.length?b={action:d,breadcrumbBtnMenuItem:f}:d?b={action:d}:h&&0<h.length?b={breadcrumbBtnMenuItem:f}:k&&(R=!0,b={breadcrumbBtnMenuItem:f});if(b&&b.action||b&&b.breadChangeType)v="dhByInterface";g&&0<g.length&&(g.one("click",b,function(b){openoFrameWork.dealAtoIframe($(this),b);return!1}),g.click())}}},getBreadcrumbEle:function(){return $(".breadcrumbUl")[0]},
+findMenuItemByMenuId:function(b){var d=void 0,f=$(".zte-theme-panel"),g=$(".nav-pos-direction",f).val(),f=void 0;"vertical"===g?f=$("#page-sidebar-menu a[id='"+b+"']"):g===openoFrameWork_menu_horizontal?(f=$("#main_hormenu a[id='"+b+"']"),0==f.length&&(f=$("#page-megachild-sidebar-menu a[id='"+b+"']"))):g===openoFrameWork_menu_fmenu&&(f=$("#f_hormenu a[id='"+b+"']"),0==f.length&&(f=$("#page-f-sidebar-menu a[id='"+b+"']")));f&&0==f.length&&(console.log("fmenu alink length is :"+$("#page-f-sidebar-menu a").length),
+console.log("cant find menu in sidemenu\u3001megamenu and fmenu , the menu id is "+b));if(f&&0<f.length)for(b=0;b<f.length;b++)if($(f[b]).parentsUntil(".header-inner").hasClass("hor-menu")){d=$(f[b]);break}else if($(f[b]).parentsUntil(".page-container").hasClass("page-sidebar")){d=$(f[b]);break}return d},getMenuItemId_From_MoreMenuRelation:function(b){var d=$(".zte-theme-panel"),d=$(".nav-pos-direction",d).val();d===openoFrameWork_menu_vertical?relationAry=sideBarMenu_to_moreMenu_frame:d===openoFrameWork_menu_horizontal?
+relationAry=horBarMenu_to_moreMenu_frame:d===openoFrameWork_menu_fmenu&&(relationAry=horBarMenu_to_moreMenu_frame);if(relationAry&&b){for(d=0;d<relationAry.length;d++)for(var f=relationAry[d],g=f.moreMenuIds,h=0;h<g.length;h++)if(g[h]&&g[h]==b)return f.mainMenuId;return null}},getMenuItemFoucsByID:function(b){if(b){var d=void 0,f=void 0,g=$(".zte-theme-panel"),g=$(".nav-pos-direction",g).val();"vertical"===g?f=$("#page-sidebar-menu a[id='"+b+"']"):g===openoFrameWork_menu_horizontal?(f=$("#main_hormenu a[id='"+
+b+"']"),0==f.length&&(f=$("#page-megachild-sidebar-menu a[id='"+b+"']"))):g===openoFrameWork_menu_fmenu&&(f=$("#f_hormenu a[id='"+b+"']"),0==f.length&&(f=$("#page-f-sidebar-menu a[id='"+b+"']")));if(0<f.length)for(g=0;g<f.length;g++)if($(f[g]).parentsUntil(".header-inner").hasClass("hor-menu")){d=$(f[g]);break}else if($(f[g]).parentsUntil(".page-container").hasClass("page-sidebar")){d=$(f[g]);break}f="";if(!d||0>=d.length)menuItemID=b,C.contains(menuItemID)&&(f="#"+C.items(menuItemID),d=$(f));b=void 0;
f&&0<f.length&&(b={breadcrumbBtnMenuItem:menuItemID});d&&0<d.length&&(d.one("click",b,function(b){var c=$(this).parentsUntil(".page-container").hasClass("page-sidebar")?"page-sidebar":"",c=$(this).parentsUntil(".header-inner").hasClass("hor-menu")?"header":c;D=!1;Ba($(this),b,c);return!1}),d.click())}},openbreadcrumbLink:function(b,d){var f=b.attr("href");!f||2>f.length||(d.preventDefault(),(f=b.attr("id"))&&0<f.length&&(N(f),v="dhByInterface"),F(),S(b,d))},getURLParam:function(b){b=RegExp("(^|&)"+
b.toLowerCase()+"=([^&]*)(&|$)");b=decodeURIComponent(location.search.substring(1)).toLowerCase().match(b);return null!=b?unescape(b[2]):null}}}(),currentRunningScriptSrcPath={};
-function runHtmlScripts(b){var d=document.createElement("div");d.innerHTML=b;b=d.getElementsByTagName("script");$(b).each(function(){var b=this.src;(b=ZteFrameWork.handlBaseURL(b))?(currentRunningScriptSrcPath[b.substring(b.lastIndexOf("/")+1)]=b.substring(0,b.lastIndexOf("/")+1),$.getScript(b)):$.globalEval(this.text||this.textContent||this.innerHTML||"")})}
-function stripHtmlScripts(b){var d=document.createElement("div");d.innerHTML=b;b=d.getElementsByTagName("script");$(b).each(function(){this.src=ZteFrameWork.handlBaseURL(this.src);this.parentNode.removeChild(this)});return d.innerHTML}
-function getsiderBarMenu(b){if(!(2>b.length)){b=ZteFrameWork.handlBaseURL(b);ZteFrameWork.startPageLoading();var d=$("#page-sidebar-menu");d.empty();d.append("<li class='sidebar-toggler-wrapper'><div class='sidebar-toggler hidden-xs hidden-sm'></div></li>");$.ajax({type:"GET",cache:!1,url:b,dataType:"html",success:function(b){var k=stripHtmlScripts(b);d.append(k);runHtmlScripts(b);siderBarMenuAuthentication();dealMysqlBackupMenu();setTimeout(function(){ZteFrameWork.stopPageLoading();goToHomePage()},
+function runHtmlScripts(b){var d=document.createElement("div");d.innerHTML=b;b=d.getElementsByTagName("script");$(b).each(function(){var b=this.src;(b=openoFrameWork.handlBaseURL(b))?(currentRunningScriptSrcPath[b.substring(b.lastIndexOf("/")+1)]=b.substring(0,b.lastIndexOf("/")+1),$.getScript(b)):$.globalEval(this.text||this.textContent||this.innerHTML||"")})}
+function stripHtmlScripts(b){var d=document.createElement("div");d.innerHTML=b;b=d.getElementsByTagName("script");$(b).each(function(){this.src=openoFrameWork.handlBaseURL(this.src);this.parentNode.removeChild(this)});return d.innerHTML}
+function getsiderBarMenu(b){if(!(2>b.length)){b=openoFrameWork.handlBaseURL(b);openoFrameWork.startPageLoading();var d=$("#page-sidebar-menu");d.empty();d.append("<li class='sidebar-toggler-wrapper'><div class='sidebar-toggler hidden-xs hidden-sm'></div></li>");$.ajax({type:"GET",cache:!1,url:b,dataType:"html",success:function(b){var k=stripHtmlScripts(b);d.append(k);runHtmlScripts(b);siderBarMenuAuthentication();dealMysqlBackupMenu();setTimeout(function(){openoFrameWork.stopPageLoading();goToHomePage()},
1E3)},error:function(b,d,g){}})}}
var setLayoutValueByCookie=function(){var b=$(".zte-theme-panel");void 0!=store("layout-option")&&$(".layout-option",b).val(store("layout-option"));void 0!=store("language-option")&&$(".language-option",b).val(store("language-option"));void 0!=store("sidebar-option")&&$(".sidebar-option",b).val(store("sidebar-option"));void 0!=store("header-option")&&$(".header-option",b).val(store("header-option"));void 0!=store("sidebar-pos-option")&&$(".sidebar-pos-option",b).val(store("sidebar-pos-option"));$("[class='nav-load-error']",
$(".hormenu"));$("[class='nav-load-error']",$("[class='page-sidebar-menu']"));$(".nav-pos-direction",b).val("fmenu")};
-function getHorMenu(b){setLayoutValueByCookie();2>b.length||(b=ZteFrameWork.handlBaseURL(b),ZteFrameWork.startPageLoading(),$("#main_hormenu").empty(),$.ajax({type:"GET",async:!1,cache:!1,url:b,dataType:"html",success:function(b){var h=stripHtmlScripts(b);$("#main_hormenu").append(h);runHtmlScripts(b);"mysql"==ZteFrameWork_conf.dbType&&$(".hor-menu a[id='uep-ict-backup-baseDataBack']").parent().remove();horMenuAuthentication("main_hormenu");ZteFrameWork.stopPageLoading();"horizontal"===$(".nav-pos-direction",
+function getHorMenu(b){setLayoutValueByCookie();2>b.length||(b=openoFrameWork.handlBaseURL(b),openoFrameWork.startPageLoading(),$("#main_hormenu").empty(),$.ajax({type:"GET",async:!1,cache:!1,url:b,dataType:"html",success:function(b){var h=stripHtmlScripts(b);$("#main_hormenu").append(h);runHtmlScripts(b);"mysql"==openoFrameWork_conf.dbType&&$(".hor-menu a[id='uep-ict-backup-baseDataBack']").parent().remove();horMenuAuthentication("main_hormenu");openoFrameWork.stopPageLoading();"horizontal"===$(".nav-pos-direction",
panel).val()&&setTimeout(function(){},150)},error:function(b,h,k){$("[class='page-content']");$(".nav-pos-direction",panel).attr("disabled",!0)}}))}
-function getMegaFMenu(b){if(!(2>b.length)){b=ZteFrameWork.handlBaseURL(b);ZteFrameWork.startPageLoading();var d=$("#"+megaSiderDivId);d.empty();d.append("<li class='sidebar-toggler-wrapper'><div class='sidebar-toggler hidden-xs hidden-sm'></div></li>");$.ajax({type:"GET",async:!1,cache:!1,url:b,dataType:"html",success:function(b){var k=stripHtmlScripts(b);d.append(k);runHtmlScripts(b);FMenuAuthentication(megaDivId,megaSiderDivId);rebuildHorMenu();ajustFMenu(megaDivId,megaSiderDivId);ZteFrameWork.stopPageLoading()},
+function getMegaFMenu(b){if(!(2>b.length)){b=openoFrameWork.handlBaseURL(b);openoFrameWork.startPageLoading();var d=$("#"+megaSiderDivId);d.empty();d.append("<li class='sidebar-toggler-wrapper'><div class='sidebar-toggler hidden-xs hidden-sm'></div></li>");$.ajax({type:"GET",async:!1,cache:!1,url:b,dataType:"html",success:function(b){var k=stripHtmlScripts(b);d.append(k);runHtmlScripts(b);FMenuAuthentication(megaDivId,megaSiderDivId);rebuildHorMenu();ajustFMenu(megaDivId,megaSiderDivId);openoFrameWork.stopPageLoading()},
error:function(b,d,g){}})}}function iniHorMenu(){var b=$("#main_hormenu");b&&((b=b.attr("menuSrc"))&&0<b.length&&getHorMenu(b),(b=$("#"+megaSiderDivId))&&(b=b.attr("menuSrc"))&&0<b.length&&getMegaFMenu(b))}function iniFMenu(){var b=$("#f_hormenu"),d=$("#page-f-sidebar-menu");b&&d&&(b=b.attr("menuSrc"),d=d.attr("menuSrc"),b&&0<b.length&&d&&0<d.length&&getFMenu(b,d))}
-function getFMenu(b,d){if(!(2>b.length||2>d.length)){b=ZteFrameWork.handlBaseURL(b);d=ZteFrameWork.handlBaseURL(d);ZteFrameWork.startPageLoading();$("#f_hormenu").empty();$("#page-f-sidebar-menu").empty();$.ajax({type:"GET",async:!1,cache:!1,url:b,dataType:"html",success:function(b){var d=stripHtmlScripts(b);$("#f_hormenu").append(d);horMenuAuthentication("f_hormenu");runHtmlScripts(b);dealMysqlBackupMenu();ZteFrameWork.stopPageLoading()},error:function(b,d,h){$("#f_hormenu").append('<h4 class="nav-load-error">'+
+function getFMenu(b,d){if(!(2>b.length||2>d.length)){b=openoFrameWork.handlBaseURL(b);d=openoFrameWork.handlBaseURL(d);openoFrameWork.startPageLoading();$("#f_hormenu").empty();$("#page-f-sidebar-menu").empty();$.ajax({type:"GET",async:!1,cache:!1,url:b,dataType:"html",success:function(b){var d=stripHtmlScripts(b);$("#f_hormenu").append(d);horMenuAuthentication("f_hormenu");runHtmlScripts(b);dealMysqlBackupMenu();openoFrameWork.stopPageLoading()},error:function(b,d,h){$("#f_hormenu").append('<h4 class="nav-load-error">'+
$.i18n.prop("com_zte_ums_ict_framework_ui_loadmenuerror")+"</h4>");$("[class='page-content']");$(".nav-pos-direction",panel).attr("disabled",!0)}});var h=$("#"+fMenuSiderDivId);h.empty();h.append("<li class='sidebar-toggler-wrapper'><div class='sidebar-toggler hidden-xs hidden-sm'></div></li>");$.ajax({type:"GET",cache:!1,url:d,dataType:"html",success:function(b){var d=stripHtmlScripts(b);h.append(d);h.children().css("display","none");runHtmlScripts(b);dealMysqlBackupMenu();FMenuAuthentication(fMenuMegaDivId,
-fMenuSiderDivId);ajustFMenu(fMenuMegaDivId,fMenuSiderDivId);ZteFrameWork.stopPageLoading();loadi18n_WebFramework_sideMenu()},error:function(b,d,h){$(".page-f-sidebar-menu").append('<h4 class="nav-load-error">'+$.i18n.prop("com_zte_ums_ict_framework_ui_loadmenuerror")+"</h4>")}})}}function iniSidebarMenu(){var b=$("#page-sidebar-menu");b&&(b=b.attr("menuSrc"))&&0<b.length&&getsiderBarMenu(b)}
-function getChangePWDDlg(b){2>b.length||(ZteFrameWork.startPageLoading(),$(".modal-dialog .Changepasswd").empty(),$.ajax({type:"GET",cache:!1,url:b,dataType:"html",success:function(b){$(".modal-dialog .Changepasswd").append(b);ChangePWD.init();ZteFrameWork.stopPageLoading()},error:function(b,h,k){$(".modal-dialog .Changepasswd").append("<h4>"+$.i18n.prop("com_zte_ums_ict_framework_ui_loadchgpwdpageError")+"</h4>")}}))}
-function iniChangePWDDlg(){var b=$(".modal-dialog .Changepasswd").attr("dlgsrc");b&&0<b.length&&getChangePWDDlg(b)}function getHeaderMenu(b){2>b.length||(ZteFrameWork.startPageLoading(),$("#headerMenu").empty(),$.ajax({type:"GET",cache:!1,async:!1,url:b,dataType:"html",success:function(b){$("#headerMenu").append(b);ZteFrameWork.stopPageLoading()},error:function(b,h,k){}}))}
-function goToHomePage(){if((locationhash=ZteFrameWork.getLocationHash())&&0<locationhash.length){var b=null;if(store&&store("menuCategoryID")){var d=store("menuCategoryID").split("[menuCategoryID]");2<d.length&&(b={menuCategoryID:d[0],ipPortStr:d[1],newTitle:d[2]})}b?ZteFrameWork.goToURLByIDAndNewIPPort(locationhash,b,null):ZteFrameWork.goToURLByIDAndNewAction(locationhash,null,null)}else{var b=$("#page-sidebar-menu"),d=$("#main_hormenu"),h=$("#"+fMenuMegaDivId),k=$("#page-f-sidebar-menu"),g=null,
-g=$(".nav-pos-direction",panel).val();"vertical"===g?(g=$(".iframe.start",b),dealStartMenu(g,b)):"horizontal"===g?(g=$(".iframe.start",d),dealStartMenu(g,d)):g===zteframework_menu_fmenu&&((g=$(".iframe.start",h))&&1>g.length&&(g=$(".iframe.start",k)),dealStartMenu(g,h,k))}}
+fMenuSiderDivId);ajustFMenu(fMenuMegaDivId,fMenuSiderDivId);openoFrameWork.stopPageLoading();loadi18n_WebFramework_sideMenu()},error:function(b,d,h){$(".page-f-sidebar-menu").append('<h4 class="nav-load-error">'+$.i18n.prop("com_zte_ums_ict_framework_ui_loadmenuerror")+"</h4>")}})}}function iniSidebarMenu(){var b=$("#page-sidebar-menu");b&&(b=b.attr("menuSrc"))&&0<b.length&&getsiderBarMenu(b)}
+function getChangePWDDlg(b){2>b.length||(openoFrameWork.startPageLoading(),$(".modal-dialog .Changepasswd").empty(),$.ajax({type:"GET",cache:!1,url:b,dataType:"html",success:function(b){$(".modal-dialog .Changepasswd").append(b);ChangePWD.init();openoFrameWork.stopPageLoading()},error:function(b,h,k){$(".modal-dialog .Changepasswd").append("<h4>"+$.i18n.prop("com_zte_ums_ict_framework_ui_loadchgpwdpageError")+"</h4>")}}))}
+function iniChangePWDDlg(){var b=$(".modal-dialog .Changepasswd").attr("dlgsrc");b&&0<b.length&&getChangePWDDlg(b)}function getHeaderMenu(b){2>b.length||(openoFrameWork.startPageLoading(),$("#headerMenu").empty(),$.ajax({type:"GET",cache:!1,async:!1,url:b,dataType:"html",success:function(b){$("#headerMenu").append(b);openoFrameWork.stopPageLoading()},error:function(b,h,k){}}))}
+function goToHomePage(){if((locationhash=openoFrameWork.getLocationHash())&&0<locationhash.length){var b=null;if(store&&store("menuCategoryID")){var d=store("menuCategoryID").split("[menuCategoryID]");2<d.length&&(b={menuCategoryID:d[0],ipPortStr:d[1],newTitle:d[2]})}b?openoFrameWork.goToURLByIDAndNewIPPort(locationhash,b,null):openoFrameWork.goToURLByIDAndNewAction(locationhash,null,null)}else{var b=$("#page-sidebar-menu"),d=$("#main_hormenu"),h=$("#"+fMenuMegaDivId),k=$("#page-f-sidebar-menu"),g=null,
+g=$(".nav-pos-direction",panel).val();"vertical"===g?(g=$(".iframe.start",b),dealStartMenu(g,b)):"horizontal"===g?(g=$(".iframe.start",d),dealStartMenu(g,d)):g===openoFrameWork_menu_fmenu&&((g=$(".iframe.start",h))&&1>g.length&&(g=$(".iframe.start",k)),dealStartMenu(g,h,k))}}
var dealStartMenu=function(b,d,h){var k=setInterval(function(){b&&0<b.length?(b.click(),clearInterval(k)):(console.log("the start menu click event is not be triggerd ,so do it repeat!!"),$("a[operation]",d).each(function(){b=$(this);return!1}),h&&b&&1>b.length&&$("a[operation]",h).each(function(){b=$(this);return!1}))},100);handeCtxMenuitem()};
function handeCtxMenuitem(){$(".page-sidebar ul li a").each(function(){$(this).attr("href")&&"javascript:;"!=$(this).attr("href")&&"#"!=$(this).attr("href")&&$(this).attr("oncontextmenu","return false")});$(".hormenu li a").each(function(){$(this).attr("href")&&"javascript:;"!=$(this).attr("href")&&"#"!=$(this).attr("href")&&$(this).attr("oncontextmenu","return false")})}
function initBaseInfo(){$("#logout_label").text($.i18n.prop("com_zte_ums_ict_framework_ui_group_logout"));$("#fullscreen_label").text($.i18n.prop("com_zte_ums_ict_framework_ui_group_fullscreen"));$("#changePwd_label").text($.i18n.prop("com_zte_ums_ict_framework_ui_changePwd"));$("#com_zte_ums_ict_framework_moudle_about").text($.i18n.prop("com_zte_ums_ict_framework_moudle_about"));$("#com_zte_ums_ict_framework_moudle_help").text($.i18n.prop("com_zte_ums_ict_framework_moudle_help"));$("#zte_menu-toggler").attr("title",
-$.i18n.prop("com_zte_ums_ict_framework_moudle_menutoggler"))}window.closeModal=function(b){b&&(0>b.indexOf("#")&&(b="#"+b),$(b).modal("hide"))};function getLcsRight(b){var d=[];if(b&&0<b.length){b={data:JSON.stringify({keys:b})};var h=FrameConst.REST_GETLICENSEINFO+"?tmpstamp="+(new Date).getTime(),h=ZteFrameWork.handlBaseURL(h);$.ajax({dataType:"json",type:"GET",async:!1,url:h,data:b,success:function(b){b&&(d=b.data)},error:function(b,g,h){d=null}})}return d}
+$.i18n.prop("com_zte_ums_ict_framework_moudle_menutoggler"))}window.closeModal=function(b){b&&(0>b.indexOf("#")&&(b="#"+b),$(b).modal("hide"))};function getLcsRight(b){var d=[];if(b&&0<b.length){b={data:JSON.stringify({keys:b})};var h=FrameConst.REST_GETLICENSEINFO+"?tmpstamp="+(new Date).getTime(),h=openoFrameWork.handlBaseURL(h);$.ajax({dataType:"json",type:"GET",async:!1,url:h,data:b,success:function(b){b&&(d=b.data)},error:function(b,g,h){d=null}})}return d}
function siderBarMenuAuthentication(){var b=[],d=[];$("a[licenseid]",$(".page-sidebar-menu")).each(function(){var g=$(this).attr("licenseid");g&&(d.push(g),g=$(this).attr("id"),b.push(g))});var h=getLcsRight(d);if(h&&h.length==b.length)for(var k=0;k<b.length;k++){var g=b[k];"True"!=h[k].value&&$("#"+g,$(".page-sidebar-menu")).parent().remove()}var n=[];$("a[operation]",$(".page-sidebar-menu")).each(function(){var b=$(this).attr("operation");b&&n.push(b)});var m=getAllOperCodeRights(n);$("a[operation]",
$(".page-sidebar-menu")).each(function(){var b=$(this).attr("operation");b&&(hasRight(b,m)||$(this).parent("li").remove())});rebuildSiderBarMenu()}
function horMenuAuthentication(b){var d=[],h=[];$("a[licenseid]",$("#"+b)).each(function(){var b=$(this).attr("licenseid");b&&(h.push(b),b=$(this).attr("id"),d.push(b))});var k=getLcsRight(h);if(k&&k.length==d.length)for(var g=0;g<d.length;g++){var n=d[g];"True"!=k[g].value&&$("#"+n,$("#"+b)).parent().remove()}var m=[];$("a[operation]",$("#"+b)).each(function(){var b=$(this).attr("operation");b&&m.push(b)});var l=getAllOperCodeRights(m);$("a[operation]",$("#"+b)).each(function(){var b=$(this).attr("operation");
@@ -153,13 +153,13 @@ function ajustFMenu(b,d){$("a[hparentid]",$("#"+d)).each(function(){var d=$(this
d.attr("iframeName",g.attr("iframeName"));d.attr("xdomain",g.attr("xdomain"));d.attr("cssSrc",g.attr("cssSrc"));d.attr("category",g.attr("category"));d.attr("breadcrumgroupbuttonsrc",g.attr("breadcrumgroupbuttonsrc"));d.attr("operation",g.attr("operation"));d.attr("iframeautoscroll",g.attr("iframeautoscroll"))}})}
function FMenuAuthentication(b,d){var h={};$("a[hparentid]",$("#"+d)).each(function(){var b=$(this).attr("hparentid");h[b]=1});checkFmenuRightByAttr("licenseid",b,d,getLcsRight);checkFmenuRightByAttr("operation",b,d,getAllOperCodeRights);rebuildSiderBarMenu();var k={};$("a[hparentid]",$("#"+d)).each(function(){var b=$(this).attr("hparentid");k[b]=1});for(var g in h)if(null==k[g]){var n=$("#"+g,$("#"+b));null!=n.attr("href")&&"javascript:;"!=n.attr("href")&&"#"!=n.attr("href")||n.parent().remove()}}
function checkFmenuRightByAttr(b,d,h,k){var g=[],n=[];$("a["+b+"]",$("#"+h)).each(function(){var d=$(this).attr(b);d&&(n.push(d),d=$(this).attr("id"),g.push({id:d}))});if((d=k(n))&&d.length==g.length)for(k=0;k<g.length;k++){var m=g[k].id;"True"!=d[k].value&&$("#"+m,$("#"+h)).parent().remove()}}
-function groupButtonAuthentication(){var b=[],d=[];$("a[licenseid]",$(".more-botton-zone > li.btn-group")).each(function(){var g=$(this).attr("licenseid");g&&(d.push(g),g=$(this).attr("id"),b.push(g))});var h=getLcsRight(d);if(h&&h.length==b.length)for(var k=0;k<b.length;k++){var g=b[k];"True"!=h[k].value&&$("#"+g,$(".more-botton-zone > li.btn-group")).parent().remove()}"mysql"==ZteFrameWork_conf.dbType&&$("#uep-ict-backup-baseDataBack",$(".more-botton-zone > li.btn-group")).parent().remove();var n=
+function groupButtonAuthentication(){var b=[],d=[];$("a[licenseid]",$(".more-botton-zone > li.btn-group")).each(function(){var g=$(this).attr("licenseid");g&&(d.push(g),g=$(this).attr("id"),b.push(g))});var h=getLcsRight(d);if(h&&h.length==b.length)for(var k=0;k<b.length;k++){var g=b[k];"True"!=h[k].value&&$("#"+g,$(".more-botton-zone > li.btn-group")).parent().remove()}"mysql"==openoFrameWork_conf.dbType&&$("#uep-ict-backup-baseDataBack",$(".more-botton-zone > li.btn-group")).parent().remove();var n=
[];$("a[operation]",$(".more-botton-zone > li.btn-group")).each(function(){var b=$(this).attr("operation");b&&n.push(b)});var m=getAllOperCodeRights(n);$("a[operation]",$(".more-botton-zone > li.btn-group")).each(function(){var b=$(this).attr("operation");b&&(hasRight(b,m)||$(this).parent("li").remove())});0==$("li > a",$(".more-botton-zone > li.btn-group")).length&&$(".more-botton-zone > li.btn-group").remove()}
function rebuildSiderBarMenu(){0==$("a.start").length&&$('li > a[href!="javascript:;"]',$(".page-sidebar-menu")).eq(0).addClass("start");$("ul.sub-menu",$(".page-sidebar-menu")).each(function(){0==$(this).has("li").length&&$(this).parent("li").remove()})}
function rebuildHorMenu(){0==$("a.start").length&&$('li > a[href!="#"]',$("#main_hormenu")).eq(0).addClass("start");$("ul.mega-menu-submenu",$("#main_hormenu")).each(function(){0==$(this).has("li > a").length&&$(this).remove()});$("div.zteDivWidth",$("#main_hormenu")).each(function(){0==$(this).has("ul").length&&$(this).remove()});$("ul.dropdown-menu",$("#main_hormenu")).each(function(){0==$(this).has("ul").length&&$(this).parent("li").remove()});$("li.divider",$("#main_hormenu")).each(function(){$(this).next().hasClass("divider")&&
$(this).remove()});$("li.divider",$("#main_hormenu")).each(function(){0==$(this).next().length&&$(this).remove()})}
-function getAllOperCodeRights(b){var d=[];if(b&&0<b.length){var h=JSON.stringify({operations:b}),h=FrameConst.REST_CHECKRIGHT+"?data="+h+"&tmpstamp="+(new Date).getTime(),h=ZteFrameWork.handlBaseURL(h);$.ajax({dataType:"json",type:"GET",async:!1,url:h,data:null,success:function(b){d=b.value},error:function(b,d,h){401==b.status?window.location.replace("login.html"):console.log("Communication Error!")}})}return{opCodes:b,rights:d}}
+function getAllOperCodeRights(b){var d=[];if(b&&0<b.length){var h=JSON.stringify({operations:b}),h=FrameConst.REST_CHECKRIGHT+"?data="+h+"&tmpstamp="+(new Date).getTime(),h=openoFrameWork.handlBaseURL(h);$.ajax({dataType:"json",type:"GET",async:!1,url:h,data:null,success:function(b){d=b.value},error:function(b,d,h){401==b.status?window.location.replace("login.html"):console.log("Communication Error!")}})}return{opCodes:b,rights:d}}
function hasRight(b,d){for(var h=0;h<d.opCodes.length;h++)if(d.opCodes[h]==b)return!0==d.rights[h];return!1}
-function dealMysqlBackupMenu(){var b=ZteFrameWork_conf.dbType;if(void 0===b||"mysql"===b){var b=$("[class='page-sidebar-menu']"),d=$(".hormenu");0<b.length&&0<$("#uep-ict-backup-dataBackup").length&&$("#uep-ict-backup-dataBackup",b).attr("breadcrumGroupButtonSrc",ICTFRAME_CONST_DATABACKUP_PATH);0<d.length&&0<$("#uep-ict-backup-dataBackup").length&&($("#uep-ict-backup-dataBackup",d).attr("breadcrumGroupButtonSrc",ICTFRAME_CONST_DATABACKUP_PATH),$("#uep-ict-backup-dataBackup").parent("li").attr("style",
+function dealMysqlBackupMenu(){var b=openoFrameWork_conf.dbType;if(void 0===b||"mysql"===b){var b=$("[class='page-sidebar-menu']"),d=$(".hormenu");0<b.length&&0<$("#uep-ict-backup-dataBackup").length&&$("#uep-ict-backup-dataBackup",b).attr("breadcrumGroupButtonSrc",ICTFRAME_CONST_DATABACKUP_PATH);0<d.length&&0<$("#uep-ict-backup-dataBackup").length&&($("#uep-ict-backup-dataBackup",d).attr("breadcrumGroupButtonSrc",ICTFRAME_CONST_DATABACKUP_PATH),$("#uep-ict-backup-dataBackup").parent("li").attr("style",
"display:block"),$("#uep-ict-backup-allDbStructBackup").parent("li").attr("style","display:none"),$("#uep-ict-backup-baseDataBack").parent("li").attr("style","display:none"))}}
function dealMavToggle(b){var d=$("#page-sidebar-menu"),h=$("#main_hormenu"),k=$(".zte-theme-panel");$(".nav-pos-direction",k).val();"hidden"==$(b).attr("navtoggledispattr")?($(b).attr("navtoggledispattr","display"),d.css("display","block")):($(b).attr("navtoggledispattr","hidden"),d.css("display","none"));h.css("display","none")};
diff --git a/openo-portal/portal-common/src/main/webapp/common/js/i18n/loadi18n-openo-nsoc.js b/openo-portal/portal-common/src/main/webapp/common/js/i18n/loadi18n-openo-nsoc.js
new file mode 100644
index 00000000..d235c981
--- /dev/null
+++ b/openo-portal/portal-common/src/main/webapp/common/js/i18n/loadi18n-openo-nsoc.js
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
+ *
+ * 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.
+ */
+
+function loadnsocPropertiesSideMenu(lang){
+ loadPropertiesSideMenu(lang, 'openo-nsoc-i18n', './common/i18n/');
+}
+loadnsocPropertiesSideMenu(lang); \ No newline at end of file
diff --git a/openo-portal/portal-common/src/main/webapp/common/js/i18n/loadi18n-openo-roc.js b/openo-portal/portal-common/src/main/webapp/common/js/i18n/loadi18n-openo-roc.js
new file mode 100644
index 00000000..64df110c
--- /dev/null
+++ b/openo-portal/portal-common/src/main/webapp/common/js/i18n/loadi18n-openo-roc.js
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
+ *
+ * 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.
+ */
+
+function loadrocPropertiesSideMenu(lang){
+
+ loadPropertiesSideMenu(lang, 'openo-roc-i18n', './common/i18n/');
+}
+loadrocPropertiesSideMenu(lang); \ No newline at end of file
diff --git a/openo-portal/portal-common/src/main/webapp/common/js/i18n/loadi18n-openo-umc.js b/openo-portal/portal-common/src/main/webapp/common/js/i18n/loadi18n-openo-umc.js
new file mode 100644
index 00000000..43ba6830
--- /dev/null
+++ b/openo-portal/portal-common/src/main/webapp/common/js/i18n/loadi18n-openo-umc.js
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2015 ZTE, Inc. and others. All rights reserved. (ZTE)
+ *
+ * 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.
+ */
+function loadumcPropertiesSideMenu(lang){
+ loadPropertiesSideMenu(lang, 'openo-umc-i18n', './common/i18n/');
+}
+loadumcPropertiesSideMenu(lang); \ No newline at end of file
diff --git a/openo-portal/portal-common/src/main/webapp/common/js/international/loadi18n-login.js b/openo-portal/portal-common/src/main/webapp/common/js/international/loadi18n-login.js
index 05285709..bdbb4057 100644
--- a/openo-portal/portal-common/src/main/webapp/common/js/international/loadi18n-login.js
+++ b/openo-portal/portal-common/src/main/webapp/common/js/international/loadi18n-login.js
@@ -13,41 +13,37 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-//加载本模块国际化文件并处理静态国际化部分
-function loadProperties_login(lang){
- jQuery.i18n.properties({
- language:lang,
- name:'web-portal-login-integration-i18n',
- path:'i18n/',
- mode:'map',
- callback: function() {
+function loadProperties_login(lang) {
+ jQuery.i18n.properties({
+ language:lang,
+ name:'web-portal-login-integration-i18n',
+ path:'./common/i18n/',
+ mode:'map',
+ callback: function() {
var i18nItems = $('[name_i18n=com_zte_ums_ict_framework_ui_i18n_login]');
- for(var i=0;i<i18nItems.length;i++){
- var $item = $(i18nItems.eq(i));
- var itemId = $item.attr('id');
+ for (var i = 0; i < i18nItems.length; i++) {
+ var $item = $(i18nItems.eq(i));
+ var itemId = $item.attr('id');
var itemValue = $.i18n.prop(itemId);
- //从老的js文本文件中读取可能包含"和;字样
- if(itemValue.indexOf(';')>0){
+ if (itemValue.indexOf(';') > 0) {
itemValue = itemValue.replace(';', '');
}
- if(/[\'\"]/.test(itemValue)){
+ if (/[\'\"]/.test(itemValue)) {
itemValue = itemValue.replace(/\"/g,'');
itemValue = itemValue.replace(/\'/g,'');
}
- if(typeof($item.attr("title"))!="undefined"){
+ if (typeof($item.attr("title")) != "undefined") {
$item.attr("title", itemValue);
- }else if(typeof($item.attr("placeholder"))!="undefined"){
+ } else if (typeof($item.attr("placeholder")) != "undefined") {
$item.attr("placeholder", itemValue);
- }else{
+ } else {
$item.text(itemValue);
}
- }
- }
- });
+ }
+ }
+ });
}
-function loadi18n_login(lang){
- loadProperties_login(lang);
+function loadi18n_login(lang) {
+ loadProperties_login(lang);
}
-
-
diff --git a/openo-portal/portal-common/src/main/webapp/common/js/login.js b/openo-portal/portal-common/src/main/webapp/common/js/login.js
index ee774f2c..9e2e7f3a 100644
--- a/openo-portal/portal-common/src/main/webapp/common/js/login.js
+++ b/openo-portal/portal-common/src/main/webapp/common/js/login.js
@@ -13,213 +13,191 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-String.prototype.trim = function() {
- return this.replace(/(^\s*)|(\s*$)/g, "");
+String.prototype.trim = function() {
+ return this.replace(/(^\s*)|(\s*$)/g, "");
};
+
function loginSubmitHandler(form) {
- var params = {};
- params["username"] =$("#inputUserName").val().trim();
- var sourcePass = $("#inputPassword").val();
- var pass = sourcePass;
- if( FrameConst.isEncypt === "true"){
- pass = ict_framework_func1(pass);
- }
- params["password"] = pass;
- params["isEncypted"] = FrameConst.isEncypt;
- saveUserInfo(params);
- $.ajax({
- url : FrameConst.REST_LOGIN,
- type : 'POST',
- data : JSON.stringify(params),
- dataType : 'json',
- contentType : 'application/json; charset=utf-8',
- success : function(data, status, xhr) {
- if(data.result == 0){
- var epass=CryptoJS.MD5(params.username+sourcePass);
- store("icttka", epass.toLocaleString());
- }
- processLoginResult(data,params);
- },
- Error : function(xhr, error, exception) {
- alert( error );
- if( console ){
- console.log( "login fail:" + error );
- console.log( exception );
- }
- }
- });
+ var params = {};
+ params["username"] = $("#inputUserName").val().trim();
+ var sourcePass = $("#inputPassword").val();
+ var pass = sourcePass;
+ if (FrameConst.isEncypt === "true") {
+ pass = ict_framework_func1(pass);
+ }
+ params["password"] = pass;
+ params["isEncypted"] = FrameConst.isEncypt;
+ saveUserInfo(params);
+
+ $.ajax({
+ url : FrameConst.REST_LOGIN,
+ type : 'POST',
+ data : JSON.stringify(params),
+ dataType : 'json',
+ contentType : 'application/json; charset=utf-8',
+ success : function(data, status, xhr) {
+ if (data.result == 0) {
+ var epass = CryptoJS.MD5(params.username+sourcePass);
+ store("icttka", epass.toLocaleString());
+ }
+ processLoginResult(data,params);
+ },
+ Error : function(xhr, error, exception) {
+ if (console) {
+ console.log("login fail:" + error);
+ console.log(exception);
+ }
+ }
+ });
};
-
var Login = function () {
-
var handleLogin = function() {
$('.login-form').validate({
- errorElement: 'span', //default input error message container
- errorClass: 'help-block', // default input error message class
- focusInvalid: false, // do not focus the last invalid input
- rules: {
- username: {
- required: true
- },
- password: {
- required: false
- },
- remember: {
- required: false
- }
- },
-
- messages: {
- username: {
- required: $.i18n.prop('com_zte_ums_ict_login_inputname').replace(/\"/g,'')
- },
- password: {
- required: $.i18n.prop('com_zte_ums_ict_login_inputpwd').replace(/\"/g,'')
- }
- },
-
- invalidHandler: function (event, validator) { //display error alert on form submit
- $('.alert-danger', $('.login-form')).show();
- },
-
- highlight: function (element) { // hightlight error inputs
- $(element)
- .closest('.form-group').addClass('has-error'); // set error class to the control group
- },
-
- success: function (label) {
- label.closest('.form-group').removeClass('has-error');
- label.remove();
- },
-
- errorPlacement: function (error, element) {
- error.insertAfter(element.closest('.input-icon'));
- },
-
- submitHandler: loginSubmitHandler
- });
-
- $('.login-form input').keypress(function (e) {
- $("#nameOrpwdError").hide();
- $("#loginConnError").hide();
- if (e.which == 13) {
- if ($('.login-form').validate().form()) {
- $('.login-form').submit();
- }
- return false;
- }
- });
-
- $("input[name='remember']").bind("click", function () {
- saveUserInfo();
- });
+ errorElement: 'span', //default input error message container
+ errorClass: 'help-block', // default input error message class
+ focusInvalid: false, // do not focus the last invalid input
+ rules: {
+ username: {
+ required: true
+ },
+ password: {
+ required: false
+ },
+ remember: {
+ required: false
+ }
+ },
+ messages: {
+ username: {
+ required: $.i18n.prop('com_zte_ums_ict_login_inputname').replace(/\"/g,'')
+ },
+ password: {
+ required: $.i18n.prop('com_zte_ums_ict_login_inputpwd').replace(/\"/g,'')
+ }
+ },
+ invalidHandler: function (event, validator) {
+ $('.alert-danger', $('.login-form')).show();
+ },
+ highlight: function (element) {
+ $(element).closest('.form-group').addClass('has-error'); // set error class to the control group
+ },
+ success: function (label) {
+ label.closest('.form-group').removeClass('has-error');
+ label.remove();
+ },
+ errorPlacement: function (error, element) {
+ error.insertAfter(element.closest('.input-icon'));
+ },
+ submitHandler: loginSubmitHandler
+ });
+
+ $('.login-form input').keypress(function (e) {
+ $("#nameOrpwdError").hide();
+ $("#loginConnError").hide();
+ if (e.which == 13) {
+ if ($('.login-form').validate().form()) {
+ $('.login-form').submit();
+ }
+ return false;
+ }
+ });
+
+ $("input[name='remember']").bind("click", function () {
+ saveUserInfo();
+ });
}
var handleForgetPassword = function () {
$('.forget-form').validate({
- errorElement: 'span', //default input error message container
- errorClass: 'help-block', // default input error message class
- focusInvalid: false, // do not focus the last invalid input
- ignore: "",
- rules: {
- email: {
- required: true,
- email: true
- }
- },
-
- messages: {
- email: {
- required: "Email is required."
- }
- },
-
- invalidHandler: function (event, validator) { //display error alert on form submit
-
- },
-
- highlight: function (element) { // hightlight error inputs
- $(element)
- .closest('.form-group').addClass('has-error'); // set error class to the control group
- },
-
- success: function (label) {
- label.closest('.form-group').removeClass('has-error');
- label.remove();
- },
-
- errorPlacement: function (error, element) {
- error.insertAfter(element.closest('.input-icon'));
- },
-
- submitHandler: function (form) {
- form.submit();
- }
- });
-
- $('.forget-form input').keypress(function (e) {
- if (e.which == 13) {
- if ($('.forget-form').validate().form()) {
- $('.forget-form').submit();
- }
- return false;
- }
- });
-
- $('#forget-password').click(function () {
- $('.login-form').hide();
- $('.forget-form').show();
- });
-
- $('#back-btn').click(function () {
- $('.login-form').show();
- $('.forget-form').hide();
- });
-
+ errorElement: 'span', //default input error message container
+ errorClass: 'help-block', // default input error message class
+ focusInvalid: false, // do not focus the last invalid input
+ ignore: "",
+ rules: {
+ email: {
+ required: true,
+ email: true
+ }
+ },
+ messages: {
+ email: {
+ required: "Email is required."
+ }
+ },
+ invalidHandler: function (event, validator) { //display error alert on form submit
+ },
+ highlight: function (element) { // hightlight error inputs
+ $(element).closest('.form-group').addClass('has-error'); // set error class to the control group
+ },
+ success: function (label) {
+ label.closest('.form-group').removeClass('has-error');
+ label.remove();
+ },
+ errorPlacement: function (error, element) {
+ error.insertAfter(element.closest('.input-icon'));
+ },
+ submitHandler: function (form) {
+ form.submit();
+ }
+ });
+
+ $('.forget-form input').keypress(function (e) {
+ if (e.which == 13) {
+ if ($('.forget-form').validate().form()) {
+ $('.forget-form').submit();
+ }
+ return false;
+ }
+ });
+
+ $('#forget-password').click(function () {
+ $('.login-form').hide();
+ $('.forget-form').show();
+ });
+
+ $('#back-btn').click(function () {
+ $('.login-form').show();
+ $('.forget-form').hide();
+ });
}
- return {
- //main function to initiate the module
- init: function () {
-
- handleLogin();
- handleForgetPassword();
-
- $.backstretch([
- "image/integration/zte_bg_1.jpg",
- "image/integration//zte_bg_2.jpg",
- "image/integration//zte_bg_3.jpg"
- ], {
- fade: 500,
- duration: 15000
- });
- }
- };
-}();
+ return {
+ //main function to initiate the module
+ init: function () {
+ handleLogin();
+ handleForgetPassword();
+ $.backstretch([
+ "./common/image/integration/openo_bg_1.jpg",
+ "./common/image/integration//openo_bg_2.jpg",
+ "./common/image/integration//openo_bg_3.jpg"
+ ], {
+ fade: 500,
+ duration: 15000
+ });
+ }
+ };
+}();
$(document).ready(function() {
- if (store("remember") == "true") {
- $("input[name='remember']").attr("checked", "checked");
- $("#inputUserName").val(store("inputUserName"));
- $("#inputPassword").val(store("inputPassword"));
- }
+ if (store("remember") == "true") {
+ $("input[name='remember']").attr("checked", "checked");
+ $("#inputUserName").val(store("inputUserName"));
+ $("#inputPassword").val(store("inputPassword"));
+ }
});
-
function saveUserInfo(params) {
- var rmbcheck=$("input[name='remember']");
- if (rmbcheck.attr("checked")==true||rmbcheck.is(':checked')) {
- var userName = $("#inputUserName").val();
- var passWord = $("#inputPassword").val();
- store("remember", "true");
- store("inputUserName", params.username);
- store("inputPassword", passWord);
- }
- else {
- store.remove("remember");
- store.remove("inputUserName");
- store.remove("inputPassword");
- }
+ var rmbcheck = $("input[name='remember']");
+ if (rmbcheck.attr("checked") == true || rmbcheck.is(':checked')) {
+ var userName = $("#inputUserName").val();
+ var passWord = $("#inputPassword").val();
+ store("remember", "true");
+ store("inputUserName", params.username);
+ store("inputPassword", passWord);
+ } else {
+ store.remove("remember");
+ store.remove("inputUserName");
+ store.remove("inputPassword");
+ }
}
-
diff --git a/openo-portal/portal-common/src/main/webapp/common/js/mainpage/about.js b/openo-portal/portal-common/src/main/webapp/common/js/mainpage/about.js
index 6468440c..5e516bde 100644
--- a/openo-portal/portal-common/src/main/webapp/common/js/mainpage/about.js
+++ b/openo-portal/portal-common/src/main/webapp/common/js/mainpage/about.js
@@ -98,7 +98,7 @@ function getAboutDlg(url){
if (url.length<2){
return;
}
- ZteFrameWork.startPageLoading();//加载中....
+ openoFrameWork.startPageLoading();//加载中....
var aboutDiv =jQuery('.modal-dialog .aboutDlg');
aboutDiv.empty();
$.ajax({
@@ -110,7 +110,7 @@ function getAboutDlg(url){
jQuery('.modal-dialog .aboutDlg').append(res);
iniAboutInfo();
internationalization();
- ZteFrameWork.stopPageLoading();
+ openoFrameWork.stopPageLoading();
},
error: function (xhr, ajaxOptions, thrownError) {
diff --git a/openo-portal/portal-common/src/main/webapp/common/js/mainpage/ict.main.page.js b/openo-portal/portal-common/src/main/webapp/common/js/mainpage/ict.main.page.js
index 3752ac02..6ccb3e52 100644
--- a/openo-portal/portal-common/src/main/webapp/common/js/mainpage/ict.main.page.js
+++ b/openo-portal/portal-common/src/main/webapp/common/js/mainpage/ict.main.page.js
@@ -123,10 +123,6 @@ var initMainPage = function(){
});
//添加模块导航链接
-// var parentPage = window.parent;
-// while(!parentPage.ZteFrameWork){
-// parentPage = parentPage.parent;
-// }
$("a.entranceLink").click(function(e){
e.preventDefault();
if($(this).attr("id") && $(this).attr("id") != "undefined"){
diff --git a/openo-portal/portal-common/src/main/webapp/common/js/moreOperation.js b/openo-portal/portal-common/src/main/webapp/common/js/moreOperation.js
index 70b0862c..8078f54b 100644
--- a/openo-portal/portal-common/src/main/webapp/common/js/moreOperation.js
+++ b/openo-portal/portal-common/src/main/webapp/common/js/moreOperation.js
@@ -23,8 +23,8 @@ var resetSelectedItem=function(menuAlink){
}
}
var reSelected=function(){
- if(ZteFrameWork){
- var menuID = ZteFrameWork.getLocationHash();
+ if(openoFrameWork){
+ var menuID = openoFrameWork.getLocationHash();
var menuAlink = $('#'+ menuID,$('#pageableDiv'));
if(menuAlink.length>0){
resetSelectedItem(menuAlink);
diff --git a/openo-portal/portal-common/src/main/webapp/common/js/tools.js b/openo-portal/portal-common/src/main/webapp/common/js/tools.js
index e65233ef..b4a6e68f 100644
--- a/openo-portal/portal-common/src/main/webapp/common/js/tools.js
+++ b/openo-portal/portal-common/src/main/webapp/common/js/tools.js
@@ -873,7 +873,7 @@ $Boot.Config = function() {
}
//当前语言 默认为英语
- var language = "zh-CN";
+ var language = "en-US";
//var languageList = ['ar', 'ba', 'cr', 'cs', 'de', 'el', 'es', 'fi', 'fr', 'fr-FR', 'hu-HU', 'id', 'it', 'ja', 'nb-NO', 'nl', 'pl', 'pl-PL', 'pt', 'pt-BR', 'ro-RO', 'ru-RU', 'sk', 'sr', 'sr-Latn', 'sv-SE', 'en-US','uk-UA', 'zh-CN', 'zh-TW'];
var languageList = ['en-US', 'zh-CN'];
@@ -953,21 +953,6 @@ $Boot.Config = function() {
}
- /**
- * 取得浏览器语言信息
- */
- this.getLanguage = function() {
- var rtnLanguage = localStorage.getItem("language-option");
- if( rtnLanguage == "null" || rtnLanguage == null ){
- rtnLanguage = window.navigator.userLanguage||window.navigator.language;
- }
- if( rtnLanguage == '"zh-CN"' || rtnLanguage == "zh-CN" ){
- return "zh-CN";
- }else{
- return "en-US";
- }
- //return "en-US";
- }
this.getUrlParam=function(name){
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
@@ -986,7 +971,7 @@ $Boot.createNamespace("com.zte.ums.aos.framework.BootConfig", $Boot.Config);
$Boot.bootConfig = new com.zte.ums.aos.framework.BootConfig();
function getLanguage(){
- return $Boot.bootConfig.getLanguage();
+ return "en-US";
}
function getStringWidth(text,fontSize)
diff --git a/openo-portal/portal-common/src/main/webapp/common/json/main-page.json b/openo-portal/portal-common/src/main/webapp/common/json/main-page.json
index 9e0118af..2ff3bfa3 100644
--- a/openo-portal/portal-common/src/main/webapp/common/json/main-page.json
+++ b/openo-portal/portal-common/src/main/webapp/common/json/main-page.json
@@ -16,13 +16,13 @@
{
"propertiesFileNamePrefix":"web-framework-integration-i18n",
"productName":"Net Numen ICT",
- "productImage":"image/integration/zte_logo_white.png",
+ "productImage":"image/integration/openo_logo_white.png",
"modules":[
{
"cover":"com_zte_ums_ict_framework_main_page_dashboard",
"background":"skyBlue-mainpage",
"toolsImage":"toolsImageBrokenLine",
- "url":"",
+ "url":"",
"linkId":"ngict-dashboard-index",
"contentTip":""
},
@@ -46,7 +46,7 @@
"background":"orange-mainpage",
"toolsImage":"toolsImageGear",
"url":"",
- "linkId":"ngict-fm-summary",
+ "linkId":"ngict-fm-summary",
"contentTip":""
},
@@ -55,7 +55,7 @@
"background":"pinkishRed-mainpage",
"toolsImage":"toolsImagePresent",
"url":"",
- "linkId":"ngict-pm-meatask",
+ "linkId":"ngict-pm-meatask",
"contentTip":""
},
@@ -71,7 +71,7 @@
"background":"grassGreen-mainpage",
"toolsImage":"toolsImageFile",
"url":"",
- "linkId":"ngict-sm",
+ "linkId":"ngict-sm",
"contentTip":""
},
@@ -94,7 +94,7 @@
"background":"orange-mainpage",
"toolsImage":"toolsImageGear",
"url":"",
- "linkId":"ngict-log",
+ "linkId":"ngict-log",
"contentTip":""
},
@@ -103,7 +103,7 @@
"background":"skyBlue-mainpage",
"toolsImage":"toolsImageBriefcase",
"url":"",
- "linkId":"ngict-system",
+ "linkId":"ngict-system",
"contentTip":""
},
diff --git a/openo-portal/portal-common/src/main/webapp/common/login.html b/openo-portal/portal-common/src/main/webapp/common/login.html
index 1509dffb..c0c8eb43 100644
--- a/openo-portal/portal-common/src/main/webapp/common/login.html
+++ b/openo-portal/portal-common/src/main/webapp/common/login.html
@@ -15,180 +15,107 @@
-->
<!DOCTYPE html>
<html>
-<head>
-<meta charset="utf-8"/>
-<title id="com_zte_ums_ict_portal_login_title" name_i18n="com_zte_ums_ict_framework_ui_i18n_login"></title>
-<meta http-equiv="X-UA-Compatible" content="IE=edge">
-<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
-<meta content="" name="description"/>
-<meta content="" name="author"/>
-<link href="thirdparty/fakeLoader/fakeLoader.css" rel="stylesheet" type="text/css" />
-<script>
- if(top != window){
- top.location.href = location.href;
- }
-</script>
-<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/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
-<link href="./css/style-custom.css" rel="stylesheet" type="text/css"/>
-<link href="./css/style.css" rel="stylesheet" type="text/css"/>
-<link href="./css/style-responsive.css" rel="stylesheet" type="text/css"/>
-<link href="./css/plugins.css" rel="stylesheet" type="text/css"/>
-<link href="./css/login.css" rel="stylesheet" type="text/css"/>
-<link rel="shortcut icon" href="./image/integration/zte_logo_16.gif"/>
-<script type="text/javascript" src="thirdparty/jquery/jquery-1.10.2.min.js"></script>
-<script type="text/javascript" src="./js/core/const.js" ></script>
-<script type="text/javascript" src="./js/security/security.js"></script>
-<script type="text/javascript" src="thirdparty/fakeLoader/fakeLoader.min.js"></script>
-<script type="text/javascript" src="./js/core/hk.min.js" ></script>
-<script type="text/javascript" src="./js/tools.js"></script>
-<script type="text/javascript">
-var Sys = {};
-var ua = navigator.userAgent.toLowerCase();
-var s;
-(s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] :
-(s = ua.match(/firefox\/([\d.]+)/)) ? Sys.firefox = s[1] :
-(s = ua.match(/chrome\/([\d.]+)/)) ? Sys.chrome = s[1] :
-(s = ua.match(/opera.([\d.]+)/)) ? Sys.opera = s[1] :
-(s = ua.match(/version\/([\d.]+).*safari/)) ? Sys.safari = s[1] : 0;
-
-
-function judgeVersion(configVer,localVer){
- var configs= configVer.split(".");
- var locals= localVer.split(".");
- var length = 0;
- if(configs.length >= locals.length){
- length = locals.length;
- }else{
- length = configs.length;
- }
- for(var i = 0; i < length; i++){
- var tempConfig = parseInt(configs[i],10);
- var tempLocal = parseInt(locals[i],10);
- if(tempConfig > tempLocal){
- return true;
- }
- }
- return false;
-
-
-}
-
-function showPrompt(flag){
- if(flag == "chromeFrame"){
- document.getElementById("downloadChromeFrame").style.display="";
-
- $("#chromedown").attr("href","https://www.google.com/intl/"+getLanguage()+"/chrome/browser/");
- }
-}
-function hidetip(tipid) {
- var tip = $("#" + tipid);
- tip.hide();
- tip.attr("tipstatus", "close");
-}
-</script>
-</head>
-<body class="login"><div id="pageLoading" class="fakeloader" ></div>
+ <head>
+ <title id="com_zte_ums_ict_portal_login_title" name_i18n="com_zte_ums_ict_framework_ui_i18n_login"></title>
+ <meta charset="utf-8"/>
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
+ <meta content="" name="description"/>
+ <meta content="" name="author"/>
+ <link href="./common/thirdparty/fakeLoader/fakeLoader.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/thirdparty/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/thirdparty/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/css/style-custom.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/css/style.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/css/style-responsive.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/css/plugins.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/css/login.css" rel="stylesheet" type="text/css"/>
+ <script src="./common/thirdparty/jquery/jquery-1.10.2.min.js" type="text/javascript"></script>
+ <script src="./common/thirdparty/fakeLoader/fakeLoader.min.js" type="text/javascript"></script>
+ <script src="./common/thirdparty/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
+ <script src="./common/thirdparty/jquery-blockui/jquery.blockui.min.js" type="text/javascript"></script>
+ <script src="./common/thirdparty/uniform/jquery.uniform.min.js" type="text/javascript"></script>
+ <script src="./common/thirdparty/jquery-validation/js/jquery.validate.min.js" type="text/javascript"></script>
+ <script src="./common/thirdparty/backstretch/jquery.backstretch.min.js" type="text/javascript"></script>
+ <script src="./common/thirdparty/jquery.i18n/jquery.i18n.properties-1.0.9.js" type="text/javascript"></script>
+ <script src="./common/js/core/const.js" type="text/javascript"></script>
+ <script src="./common/js/security/security.js" type="text/javascript"></script>
+ <script src="./common/js/core/hk.min.js" type="text/javascript"></script>
+ <script src="./common/js/tools.js" type="text/javascript"></script>
+ <script src="./common/js/security/aes.js" type="text/javascript"></script>
+ <script src="./common/js/security/framework-util.js" type="text/javascript"></script>
+ <script src="./common/js/login.js" type="text/javascript"></script>
+ <script src="./common/js/international/loadi18n-login.js" type="text/javascript"></script>
+ <script>
+ if(top != window){
+ top.location.href = location.href;
+ }
+ </script>
+ <script type="text/javascript">
+ function hidetip(tipid) {
+ var tip = $("#" + tipid);
+ tip.hide();
+ tip.attr("tipstatus", "close");
+ }
+ </script>
+ </head>
+ <body class="login">
+ <div id="pageLoading" class="fakeloader"></div>
<script type="text/javascript">
$("#pageLoading").fakeLoader({text:"",bgColor:"#1178ee",opacity:'1',spinner:"spinner2",zIndex:99999999});
- </script>
-<div class="logo">
- <a href="./default.html">
- <img id="com_zte_ums_ict_framework_img_login_logo" src="./image/integration/ztelogo.png" name_img="com_zte_ums_ict_framework_img" style="display:none" alt=""/>
- <img id="com_zte_ums_ict_framework_img_login_logo_white" src="./image/integration/zte_logo_white.png" name_img="com_zte_ums_ict_framework_img" style="display:none" alt=""/>
- </a>
-</div>
-<div class="content">
- <form class="login-form" method="post" id="fm1" action="./login">
- <h3 class="form-title"><span id="com_zte_ums_ict_portal_login_welcome" name_i18n="com_zte_ums_ict_framework_ui_i18n_login"></span> </h3>
- <div class="alert display-hide" id="nameOrpwdError" tipstatus="normal">
- <button class="close" data-close="alert" onclick="hidetip('nameOrpwdError');"></button>
- <div id="com_zte_ums_ict_portal_login_userPassword" name_i18n="com_zte_ums_ict_framework_ui_i18n_login" style="display:inline"></div>
- </div>
- <div class="alert display-hide" id="loginConnError" tipstatus="normal">
- <button class="close" data-close="alert" onclick="hidetip('loginConnError');"></button>
- <div id="com_zte_ums_ict_portal_login_serv_error" name_i18n="com_zte_ums_ict_framework_ui_i18n_login" style="display:inline"></div>
+ </script>
+ <div class="logo">
+ <img id="com_zte_ums_ict_framework_img_login_logo_white" src="./common/image/integration/openo_logo_white.png" name_img="com_zte_ums_ict_framework_img" style="display:none" alt=""/>
</div>
- <div class="form-group">
- <!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
- <label id="com_zte_ums_aos_portal_login_username" name_i18n="com_zte_ums_ict_framework_ui_i18n_login" class="control-label visible-ie8 visible-ie9" i18n-html="com_zte_ums_aos_portal_login_username"></label>
- <div class="input-icon">
- <i class="fa fa-user"></i>
- <input class="form-control placeholder-no-fix" id="inputUserName" type="text" autocomplete="off" name_i18n="com_zte_ums_ict_framework_ui_i18n_login" placeholder="" name="username"/>
- </div>
+ <div class="content">
+ <form class="login-form" method="post" id="fm1" action="./login">
+ <h3 class="form-title"><span id="com_zte_ums_ict_portal_login_welcome" name_i18n="com_zte_ums_ict_framework_ui_i18n_login"></span></h3>
+ <div class="alert display-hide" id="nameOrpwdError" tipstatus="normal">
+ <button class="close" data-close="alert" onclick="hidetip('nameOrpwdError');"></button>
+ <div id="com_zte_ums_ict_portal_login_userPassword" name_i18n="com_zte_ums_ict_framework_ui_i18n_login" style="display:inline"></div>
+ </div>
+ <div class="alert display-hide" id="loginConnError" tipstatus="normal">
+ <button class="close" data-close="alert" onclick="hidetip('loginConnError');"></button>
+ <div id="com_zte_ums_ict_portal_login_serv_error" name_i18n="com_zte_ums_ict_framework_ui_i18n_login" style="display:inline"></div>
+ </div>
+ <div class="form-group">
+ <label id="com_zte_ums_aos_portal_login_username" name_i18n="com_zte_ums_ict_framework_ui_i18n_login" class="control-label visible-ie8 visible-ie9" i18n-html="com_zte_ums_aos_portal_login_username"></label>
+ <div class="input-icon">
+ <i class="fa fa-user"></i>
+ <input class="form-control placeholder-no-fix" id="inputUserName" type="text" autocomplete="off" name_i18n="com_zte_ums_ict_framework_ui_i18n_login" placeholder="" name="username"/>
+ </div>
+ </div>
+ <div class="form-group">
+ <label id="com_zte_ums_aos_portal_login_password" name_i18n="com_zte_ums_ict_framework_ui_i18n_login" class="control-label visible-ie8 visible-ie9" i18n-html="com_zte_ums_aos_portal_login_password"></label>
+ <div class="input-icon">
+ <i class="fa fa-lock"></i>
+ <input class="form-control placeholder-no-fix" id="inputPassword" type="password" autocomplete="off" name_i18n="com_zte_ums_ict_framework_ui_i18n_login" placeholder="" name="password"/>
+ </div>
+ </div>
+ <div class="form-actions">
+ <label class="checkbox">
+ <input type="checkbox" name="remember" value="1">
+ <span id="com_zte_ums_ict_portal_login_rememberMe" name_i18n="com_zte_ums_ict_framework_ui_i18n_login"></span>
+ </label>
+ <button type="submit" i18n-value="com_zte_ums_aos_portal_login_login" id="submitBtn" class="btn blue pull-right">
+ <span id="com_zte_ums_aos_portal_login_login" name_i18n="com_zte_ums_ict_framework_ui_i18n_login"></span>
+ <i class="m-icon-swapright m-icon-white"></i>
+ </button>
+ </div>
+ </form>
</div>
- <div class="form-group">
- <label id="com_zte_ums_aos_portal_login_password" name_i18n="com_zte_ums_ict_framework_ui_i18n_login" class="control-label visible-ie8 visible-ie9" i18n-html="com_zte_ums_aos_portal_login_password"></label>
- <div class="input-icon">
- <i class="fa fa-lock"></i>
- <input class="form-control placeholder-no-fix" id="inputPassword" type="password" autocomplete="off" name_i18n="com_zte_ums_ict_framework_ui_i18n_login" placeholder="" name="password"/>
- </div>
- </div>
- <div class="form-actions">
- <label class="checkbox"><input type="checkbox" name="remember" value="1"><span id="com_zte_ums_ict_portal_login_rememberMe" name_i18n="com_zte_ums_ict_framework_ui_i18n_login">
- </span></label>
- <button type="submit" i18n-value="com_zte_ums_aos_portal_login_login" id="submitBtn" class="btn blue pull-right">
- <span id="com_zte_ums_aos_portal_login_login" name_i18n="com_zte_ums_ict_framework_ui_i18n_login">
- </span> <i class="m-icon-swapright m-icon-white"></i>
- </button>
- </div>
- </form>
-</div>
-<center>
-<div class="download" id="downloadChromeFrame" style="display:none">
- <p id="notice3" i18n-html="com_zte_ums_aos_portal_login_notice_about_chromeFrame"></p>
- <div id="chromeFrameUrl">
- <image class="browser_logo" src="./image/chrome_icon.png"/>&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://www.google.com/intl/en_US/chrome/browser/" id="chromedown">Chrome</a>&nbsp;&nbsp;&nbsp;&nbsp;<image class="browser_logo" src="./image/firefox_icon.png"/>&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.mozilla.org/" id="firefoxdown">Firefox</a>&nbsp;&nbsp;&nbsp;&nbsp;<br/>
- </div>
-</div>
-</center>
-<div class="copyright">
- <span id="com_zte_ums_ict_portal_login_companyName" name_i18n="com_zte_ums_ict_framework_ui_i18n_login">
- </span>.
-</div>
-
-<!--[if lt IE 9]>
- <script src="/ngict/iui/component/thirdparty/respond/respond.min.js"></script>
- <script src="/ngict/iui/component/thirdparty/excanvas/excanvas.min.js"></script>
- <![endif]-->
-<script src="thirdparty/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
-<script src="thirdparty/jquery-blockui/jquery.blockui.min.js" type="text/javascript"></script>
-<script src="thirdparty/uniform/jquery.uniform.min.js" type="text/javascript"></script>
-<script src="thirdparty/jquery-validation/js/jquery.validate.min.js" type="text/javascript"></script>
-<script src="thirdparty/backstretch/jquery.backstretch.min.js" type="text/javascript"></script>
-<script src="./js/security/aes.js" type="text/javascript"></script>
-<script src="./js/security/framework-util.js" type="text/javascript"></script>
-<script src="./js/login.js" type="text/javascript"></script>
-<script src="thirdparty/jquery.i18n/jquery.i18n.properties-1.0.9.js" type="text/javascript"></script>
-<script src="./js/international/loadi18n-login.js" type="text/javascript"></script>
-
-<script>
- jQuery(document).ready(function() {
- var lang = getLanguage();
- //lang = "en-US";
- loadi18n_login(lang);
- $("#com_zte_ums_ict_framework_img_login_logo").css('display','inline');
- $("#com_zte_ums_ict_framework_img_login_logo_white").css('display','inline');
- Login.init();
-
- if(store("inputUserName")){
- $("#inputUserName").val(store("inputUserName"));
- }
- /*$.ajax({
- url : FrameConst.REST_GET_USERNAME,
- type : "GET",
- cache:false,
- contentType : 'application/json; charset=utf-8',
- success: function(data){
- var userName = data;
- if(userName && userName !=""){
- window.location = FrameConst.DEFAULT_LOGINSKIP_PAGE;
+ <script>
+ jQuery(document).ready(function() {
+ var lang = getLanguage();
+ loadi18n_login(lang);
+ $("#com_zte_ums_ict_framework_img_login_logo_white").css('display','inline');
+ Login.init();
+ if(store("inputUserName")){
+ $("#inputUserName").val(store("inputUserName"));
}
- }
- }); */
- $("#pageLoading").setToHide();
- });
-</script>
-
+ $("#pageLoading").setToHide();
+ });
+ </script>
+ </body>
</html>
diff --git a/openo-portal/portal-common/src/main/webapp/common/main-page.html b/openo-portal/portal-common/src/main/webapp/common/main-page.html
index f7a1c3fd..e803fedc 100644
--- a/openo-portal/portal-common/src/main/webapp/common/main-page.html
+++ b/openo-portal/portal-common/src/main/webapp/common/main-page.html
@@ -19,28 +19,27 @@
<title id="com_zte_ums_ict_framework_ui_page_title" name_i18n="com_zte_ums_ict_framework_ui_i18n"></title>
<meta content="text/html; charset=utf-8" http-equiv="content-type">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="description" content="ICT Main Page" />
+ <meta name="description" content="ICT Main Page"/>
<meta name="keywords" content="javascript, dynamic, grid, layout, jquery plugin, fit zone"/>
- <link rel="stylesheet" type="text/css" href="css/style-ict-bootstrap.css" />
- <link rel="shortcut icon" href="image/integration/zte_logo_16.gif"/>
- <link href="thirdparty/fakeLoader/fakeLoader.css" rel="stylesheet" type="text/css" />
- <link href="thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
- <script type="text/javascript" src="thirdparty/jquery/jquery-1.10.2.min.js"></script>
- <script type="text/javascript" src="./js/core/const.js"></script>
- <script type="text/javascript" src="./js/core/hk.min.js"></script>
- <script type="text/javascript" src="thirdparty/fakeLoader/fakeLoader.min.js"></script>
- <script type="text/javascript" src="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/jquery-cokie/jquery.cokie.min.js"></script>
- <script type="text/javascript" src="./js/international/loadi18n.js"></script>
- <script type="text/javascript" src="./js/mainpage/ict.main.page.js"></script>
- <script type="text/javascript" src="./js/core/pym.min.js"></script>
- <script type="text/javascript" src="./js/core/ZteFrameWork.js"></script>
+ <link href="./common/css/style-ict-bootstrap.css" rel="stylesheet" type="text/css"/>
+ <link href="./common/thirdparty/fakeLoader/fakeLoader.css" rel="stylesheet" type="text/css" />
+ <link href="./common/thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
+ <script type="text/javascript" src="./common/thirdparty/jquery/jquery-1.10.2.min.js"></script>
+ <script type="text/javascript" src="./common/js/core/const.js"></script>
+ <script type="text/javascript" src="./common/js/core/hk.min.js"></script>
+ <script type="text/javascript" src="./common/thirdparty/fakeLoader/fakeLoader.min.js"></script>
+ <script type="text/javascript" src="./common/js/tools.js"></script>
+ <script type="text/javascript" src="./common/thirdparty/jquery.i18n/jquery.i18n.properties-1.0.9.js"></script>
+ <script type="text/javascript" src="./common/thirdparty/jquery-cokie/jquery.cokie.min.js"></script>
+ <script type="text/javascript" src="./common/js/international/loadi18n.js"></script>
+ <script type="text/javascript" src="./common/js/mainpage/ict.main.page.js"></script>
+ <script type="text/javascript" src="./common/js/core/pym.min.js"></script>
+ <script type="text/javascript" src="./common/js/core/openoFrameWork.min.js"></script>
<style type="text/css">
html, body {
margin: 0;
- padding: 0;
- }
+ padding: 0;
+ }
.layout {
padding-top:0px;
}
@@ -59,21 +58,22 @@
}
.column{
padding-left: 5px;
- padding-right: 5px;
+ padding-right: 5px;
}
a:hover{
color:white;
}
</style>
</head>
- <body><div id="pageLoading" class="fakeloader" ></div><script type="text/javascript">
+ <body>
+ <div id="pageLoading" class="fakeloader"></div>
+ <script type="text/javascript">
$("#pageLoading").fakeLoader({text:"",bgColor:"#1178ee",opacity:'1',spinner:"spinner2",zIndex:99999999});
</script>
<div class='header'>
<div class="clearfix">
<div class="float-left">
- <h2><a id="headerName" href="#">Net Numen</a></h2>
- <!-- <div class='target'>Creating dynamic grid layouts.</div> -->
+ <h2><a id="headerName" href="#">Net Numen</a></h2>
</div>
</div>
</div>
@@ -84,16 +84,14 @@
<div class="col-sm-6 col-md-3 col-lg-3 column"></div>
<div class="col-sm-6 col-md-3 col-lg-3 column"></div>
<div class="col-sm-6 col-md-3 col-lg-3 column"></div>
- </div>
+ </div>
</div>
</div>
- <script type="text/javascript">
+ <script type="text/javascript">
jQuery(document).ready(function() {
- initMainPage();
+ initMainPage();
$("#pageLoading").setToHide();
- /* var lang = getLanguage();
- loadProperties(lang); */
- });
+ });
</script>
</body>
</html> \ No newline at end of file
diff --git a/openo-portal/portal-common/src/main/webapp/common/main_Fmegabar.html b/openo-portal/portal-common/src/main/webapp/common/main_Fmegabar.html
index 2c11d222..4175819a 100644
--- a/openo-portal/portal-common/src/main/webapp/common/main_Fmegabar.html
+++ b/openo-portal/portal-common/src/main/webapp/common/main_Fmegabar.html
@@ -52,5 +52,5 @@
</span>
</a>
</li>
-<script type="text/javascript" src="/openoui/common/js/menus/loadi18n-openo-menus.js">
+<script type="text/javascript" src="./common/js/menus/loadi18n-openo-menus.js">
</script> \ No newline at end of file
diff --git a/openo-portal/portal-common/src/main/webapp/common/main_siderbar.html b/openo-portal/portal-common/src/main/webapp/common/main_siderbar.html
index b1fd2efc..2e16a8ef 100644
--- a/openo-portal/portal-common/src/main/webapp/common/main_siderbar.html
+++ b/openo-portal/portal-common/src/main/webapp/common/main_siderbar.html
@@ -15,215 +15,146 @@
-->
<li>
<a href="javascript:;" id="eco-roc" parentid="eco-roc" order="30.0">
- <i class="fa fa-cloud">
- </i>
- <span id="com_zte_ums_eco_roc" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"
- class="title">
- </span>
- <span class="selected">
- </span>
- <span class="arrow">
- </span>
+ <i class="fa fa-cloud"></i>
+ <span id="com_zte_ums_eco_roc" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu" class="title"></span>
+ <span class="selected"></span>
+ <span class="arrow"></span>
</a>
<ul class="sub-menu">
<li>
- <a class="iframe" id="eco-roc-rs-view" parentid="eco-roc" hparentid="col-eco-roc-resourceview"
- order="8.0" horgroup="10" cachenum="" shiftjs="" iframeautoscroll="auto"
+ <a class="iframe" id="eco-roc-rs-view" parentid="eco-roc" hparentid="col-eco-roc-resourceview" order="8.0" horgroup="10" cachenum="" shiftjs="" iframeautoscroll="auto"
href="/iui/roc-resource/resView.html">
- <i class="fa fa-cubes">
- </i>
- <span id="com_zte_ums_eco_roc_overview" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
+ <i class="fa fa-cubes"></i>
+ <span id="com_zte_ums_eco_roc_overview" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"></span>
</a>
</li>
<li>
- <a class="iframe" id="eco_roc_vimmgr" parentid="eco-roc" hparentid="col-roc-managementview"
- order="10.0" horgroup="10" cachenum="eco-roc-vim" shiftjs="" iframeautoscroll="auto"
- href="/iui/roc-vim/vimView.html" defaultdisplay="false" vimopencos-multiinsrc="/ngict/iui/framework/menus/more/vim/eco_opencos_menu_more.html"
+ <a class="iframe" id="eco_roc_vimmgr" parentid="eco-roc" hparentid="col-roc-managementview" order="10.0" horgroup="10" cachenum="eco-roc-vim" shiftjs="" iframeautoscroll="auto"
+ href="/iui/roc-vim/vimView.html" defaultdisplay="false"
+ vimopencos-multiinsrc="/ngict/iui/framework/menus/more/vim/eco_opencos_menu_more.html"
vimopenstack-multiinsrc="/ngict/iui/framework/menus/more/vim/eco_openstack_menu_more.html"
breadcrumgroupbuttonsrc="/ngict/iui/framework/menus/more/vim/eco_opencos_menu_more.html">
- <i class="fa fa-cube">
- </i>
- <span id="com_zte_ums_eco_roc_vim" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
+ <i class="fa fa-cube"></i>
+ <span id="com_zte_ums_eco_roc_vim" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"></span>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;" id="openo-nsoc" parentid="openo-nsoc" order="30.0">
- <i class="fa fa-bell">
- </i>
- <span id="org_openo_orchestrator_nsoc" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"
- class="title">
- </span>
- <span class="selected">
- </span>
- <span class="arrow">
- </span>
+ <i class="fa fa-bell"></i>
+ <span id="org_openo_orchestrator_nsoc" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu" class="title"></span>
+ <span class="selected"></span>
+ <span class="arrow"></span>
</a>
<ul class="sub-menu">
<li>
- <a class="iframe" id="openo-nsoc-model-design" parentid="openo-nsoc" hparentid="col-openo-nsoc"
- order="10.0" horgroup="10" cachenum="openo-nsoc" shiftjs="" iframeautoscroll="auto"
+ <a class="iframe" id="openo-nsoc-model-design" parentid="openo-nsoc" hparentid="col-openo-nsoc" order="10.0" horgroup="10" cachenum="openo-nsoc" shiftjs="" iframeautoscroll="auto"
href="/winery/servicetemplates">
- <i class="fa fa-folder-open-o">
- </i>
- <span id="org_openo_orchestrator_nsoc_model_design" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
+ <i class="fa fa-folder-open-o"></i>
+ <span id="org_openo_orchestrator_nsoc_model_design" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"></span>
</a>
</li>
<li>
- <a class="iframe" id="openo-nsoc-vnfd" parentid="openo-nsoc" hparentid="col-openo-nsoc"
- order="10.0" horgroup="10" cachenum="openo-nsoc" shiftjs="" iframeautoscroll="auto"
+ <a class="iframe" id="openo-nsoc-vnfd" parentid="openo-nsoc" hparentid="col-openo-nsoc" order="10.0" horgroup="10" cachenum="openo-nsoc" shiftjs="" iframeautoscroll="auto"
href="/iui/nsoc/package.html">
- <i class="fa fa-folder-open-o">
- </i>
- <span id="org_openo_orchestrator_nsoc_pkg" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
+ <i class="fa fa-folder-open-o"></i>
+ <span id="org_openo_orchestrator_nsoc_pkg" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"></span>
</a>
</li>
<li>
- <a class="iframe" id="openo-umc-monitor-service-overview" parentid="openo-nsoc"
- hparentid="col-openo-umc-monitor-service" order="10.0" horgroup="10" cachenum="openo-umc-monitor"
- shiftjs="" iframeautoscroll="auto" href="/iui/umc-monitor/monitorns.html">
- <i class="fa fa-comments">
- </i>
- <span id="org_openo_orchestrator_umc_monitor_service_overview" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
+ <a class="iframe" id="openo-umc-monitor-service-overview" parentid="openo-nsoc" hparentid="col-openo-umc-monitor-service" order="10.0" horgroup="10" cachenum="openo-umc-monitor" shiftjs="" iframeautoscroll="auto"
+ href="/iui/umc-monitor/monitorns.html">
+ <i class="fa fa-comments"></i>
+ <span id="org_openo_orchestrator_umc_monitor_service_overview" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"></span>
</a>
</li>
<li>
- <a class="iframe" id="eco-roc-vnfm" parentid="openo-nsoc" hparentid="col-roc-managementview"
- order="20.0" horgroup="10" cachenum="" shiftjs="" iframeautoscroll="auto"
+ <a class="iframe" id="eco-roc-vnfm" parentid="openo-nsoc" hparentid="col-roc-managementview" order="20.0" horgroup="10" cachenum="" shiftjs="" iframeautoscroll="auto"
href="/iui/nsoc/vnfmView.html">
- <i class="ict-VNFM">
- </i>
- <span id="org_openo_orchestrator_roc_vnfm" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
+ <i class="ict-VNFM"></i>
+ <span id="org_openo_orchestrator_roc_vnfm" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"></span>
</a>
</li>
<li>
- <a class="iframe" id="openo-nsoc-template" parentid="openo-nsoc" hparentid="col-openo-nsoc"
- order="20.0" horgroup="10" cachenum="openo-nsoc" shiftjs="" iframeautoscroll="auto"
+ <a class="iframe" id="openo-nsoc-template" parentid="openo-nsoc" hparentid="col-openo-nsoc" order="20.0" horgroup="10" cachenum="openo-nsoc" shiftjs="" iframeautoscroll="auto"
href="/iui/nsoc/template.html">
- <i class="fa fa-list-alt">
- </i>
- <span id="org_openo_orchestrator_nsoc_template" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
+ <i class="fa fa-list-alt"></i>
+ <span id="org_openo_orchestrator_nsoc_template" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"></span>
</a>
</li>
<li hidden="">
- <a class="iframe" id="openo-nsoc-templateDetail" parentid="openo-nsoc"
- hparentid="col-openo-nsoc" order="30.0" horgroup="10" cachenum="openo-nsoc"
- shiftjs="" iframeautoscroll="auto" href="/iui/nsoc/templateDetail.html">
- <i class="fa fa-sitemap">
- </i>
- <span id="org_openo_orchestrator_nsoc_templateDetail" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
+ <a class="iframe" id="openo-nsoc-templateDetail" parentid="openo-nsoc" hparentid="col-openo-nsoc" order="30.0" horgroup="10" cachenum="openo-nsoc" shiftjs="" iframeautoscroll="auto"
+ href="/iui/nsoc/templateDetail.html">
+ <i class="fa fa-sitemap"></i>
+ <span id="org_openo_orchestrator_nsoc_templateDetail" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"></span>
</a>
</li>
<li>
- <a class="iframe" id="openo-nsoc-vApp" parentid="openo-nsoc" hparentid="col-openo-nsoc"
- order="50.0" horgroup="10" cachenum="openo-nsoc" shiftjs="" iframeautoscroll="auto"
+ <a class="iframe" id="openo-nsoc-vApp" parentid="openo-nsoc" hparentid="col-openo-nsoc" order="50.0" horgroup="10" cachenum="openo-nsoc" shiftjs="" iframeautoscroll="auto"
href="/iui/nsoc/virtualApplication.html">
- <i class="ict-VNF">
- </i>
- <span id="org_openo_orchestrator_nsoc_lifecycle" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
+ <i class="ict-VNF"></i>
+ <span id="org_openo_orchestrator_nsoc_lifecycle" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"></span>
</a>
</li>
<li hidden="">
- <a class="iframe" id="openo-nsoc-nodesApp" parentid="openo-nsoc" hparentid="col-openo-nsoc"
- order="100.0" horgroup="10" cachenum="" shiftjs="" iframeautoscroll="auto"
+ <a class="iframe" id="openo-nsoc-nodesApp" parentid="openo-nsoc" hparentid="col-openo-nsoc" order="100.0" horgroup="10" cachenum="" shiftjs="" iframeautoscroll="auto"
href="/iui/nsoc/virtualApplicationDetail.html">
- <i class="fa fa-sitemap">
- </i>
- <span id="org_openo_orchestrator_nsoc_nodesApp" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
+ <i class="fa fa-sitemap"></i>
+ <span id="org_openo_orchestrator_nsoc_nodesApp" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"></span>
</a>
</li>
</ul>
</li>
<li class="mega-menu-dropdown">
- <a href="#" id="openo-umc-monitor" parentid="openo-umc-monitor" hparentid="openo-umc-monitor"
- order="40.0" defaultchildmenuid="openo-umc-monitor-itmp" data-hover="dropdown"
- data-toggle="dropdown" data-close-others="true" class="dropdown-toggle">
- <i class="fa fa-bar-chart-o">
- </i>
- <span id="org_openo_orchestrator_umc_monitor" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"
- class="title">
- </span>
- <span class="selected">
- </span>
- <span class="arrow">
- </span>
- <i class="fa fa-angle-down">
- </i>
+ <a href="#" id="openo-umc-monitor" parentid="openo-umc-monitor" hparentid="openo-umc-monitor" order="40.0" defaultchildmenuid="openo-umc-monitor-itmp" data-hover="dropdown" data-toggle="dropdown" data-close-others="true" class="dropdown-toggle">
+ <i class="fa fa-bar-chart-o"></i>
+ <span id="org_openo_orchestrator_umc_monitor" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu" class="title"></span>
+ <span class="selected"></span>
+ <span class="arrow"></span>
+ <i class="fa fa-angle-down"></i>
</a>
<ul class="sub-menu">
<li>
- <a class="iframe" id="openo-umc-monitor-alarm-currentAlarm" parentid="openo-umc-monitor"
- hparentid="col-openo-umc-monitor-alarm" order="10.0" horgroup="10" cachenum="openo-umc-monitor-alarm"
- shiftjs="openFmPage('1');" href="/web/res/web-fm/index.html?action=1" operation="common.fm.currentview">
- <i class="fa fa-comments">
- </i>
- <span id="org_openo_orchestrator_umc_monitor_alarm_currentAlarm" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
+ <a class="iframe" id="openo-umc-monitor-alarm-currentAlarm" parentid="openo-umc-monitor" hparentid="col-openo-umc-monitor-alarm" order="10.0" horgroup="10" cachenum="openo-umc-monitor-alarm" shiftjs="openFmPage('1');" operation="common.fm.currentview"
+ href="/web/res/web-fm/index.html?action=1">
+ <i class="fa fa-comments"></i>
+ <span id="org_openo_orchestrator_umc_monitor_alarm_currentAlarm" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"></span>
</a>
</li>
<li>
- <a class="iframe" id="openo-umc-monitor-itmp" parentid="openo-umc-monitor"
- hparentid="col-openo-umc-monitor-access" order="10.0" horgroup="10" cachenum="openo-umc-monitor"
- shiftjs="openItConfPage('configuration');" href="/web/res/web-conf/index.html?action=configuration"
- operation="it.devGet">
- <i class="fa fa-puzzle-piece">
- </i>
- <span id="org_openo_orchestrator_umc_monitor_access_itmp" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
+ <a class="iframe" id="openo-umc-monitor-itmp" parentid="openo-umc-monitor" hparentid="col-openo-umc-monitor-access" order="10.0" horgroup="10" cachenum="openo-umc-monitor" shiftjs="openItConfPage('configuration');" operation="it.devGet"
+ href="/web/res/web-conf/index.html?action=configuration">
+ <i class="fa fa-puzzle-piece"></i>
+ <span id="org_openo_orchestrator_umc_monitor_access_itmp" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"></span>
</a>
</li>
<li>
- <a class="iframe" id="openo-umc-monitor-pm-historyQuery" parentid="openo-umc-monitor"
- hparentid="col-openo-umc-monitor-pm" order="10.0" horgroup="10" cachenum="openo-umc-monitor-pm"
- shiftjs="openAosPmPage('queryData');" href="/web/res/web-pm/index.html?action=queryData"
- operation="uca.pm.querydata">
- <i class="fa fa-coffee">
- </i>
- <span id="org_openo_orchestrator_umc_monitor_perform_historySearch" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
+ <a class="iframe" id="openo-umc-monitor-pm-historyQuery" parentid="openo-umc-monitor" hparentid="col-openo-umc-monitor-pm" order="10.0" horgroup="10" cachenum="openo-umc-monitor-pm" shiftjs="openAosPmPage('queryData');" operation="uca.pm.querydata"
+ href="/web/res/web-pm/index.html?action=queryData">
+ <i class="fa fa-coffee"></i>
+ <span id="org_openo_orchestrator_umc_monitor_perform_historySearch" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"></span>
</a>
</li>
</ul>
</li>
<li>
<a href="javascript:;" id="ngict-system" parentid="ngict-system" order="100.0">
- <i class="fa fa-cogs">
- </i>
- <span id="com_zte_ums_ict_framework_ui_sidebar_system" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"
- class="title">
- </span>
- <span class="selected">
- </span>
- <span class="arrow">
- </span>
+ <i class="fa fa-cogs"></i>
+ <span id="com_zte_ums_ict_framework_ui_sidebar_system" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu" class="title"></span>
+ <span class="selected"></span>
+ <span class="arrow"></span>
</a>
<ul class="sub-menu">
<li>
- <a class="iframe" id="ngict-license" parentid="ngict-system" hparentid="col-ngict-system"
- order="200.0" cachenum="system" href="/web/res/web-license/index.html"
- operation="adminrole.operation">
- <i class="fa fa-tags">
- </i>
- <span id="com_zte_ums_ict_framework_ui_sidebar_license" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu">
- </span>
+ <a class="iframe" id="ngict-license" parentid="ngict-system" hparentid="col-ngict-system" order="200.0" cachenum="system" operation="adminrole.operation"
+ href="/web/res/web-license/index.html">
+ <i class="fa fa-tags"></i>
+ <span id="com_zte_ums_ict_framework_ui_sidebar_license" name_i18n="com_zte_ums_ict_framework_ui_i18n_sideMenu"></span>
</a>
</li>
</ul>
</li>
-<script type="text/javascript" src="/iui/framework/hsif/openo-nsoc/i18n/loadi18n-openo-nsoc.js">
-</script>
-<script type="text/javascript" src="/iui/framework/hsif/openo-roc/i18n/loadi18n-openo-roc.js">
-</script>
-<script type="text/javascript" src="/iui/framework/hsif/openo-umc/i18n/loadi18n-openo-umc.js">
-</script> \ No newline at end of file
+<script type="text/javascript" src="./common/js/i18n/loadi18n-openo-nsoc.js"></script>
+<script type="text/javascript" src="./common/js/i18n/loadi18n-openo-roc.js"></script>
+<script type="text/javascript" src="./common/js/i18n/loadi18n-openo-umc.js"></script>
diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/DataTableICT.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/DataTableICT.js
index 03084e2e..ef85de37 100644
--- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/DataTableICT.js
+++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/DataTableICT.js
@@ -488,7 +488,7 @@ var DatatableICT = function () {
"contentType": 'application/json; charset=utf-8',
"success": function(res, textStatus, jqXHR) {
if (res.sMessage) {
- ZteFrameWork.alert({type: (res.sStatus == 'OK' ? 'success' : 'danger'), icon: (res.sStatus == 'OK' ? 'check' : 'warning'), message: res.sMessage, container: tableWrapper, place: 'prepend'});
+ openoFrameWork.alert({type: (res.sStatus == 'OK' ? 'success' : 'danger'), icon: (res.sStatus == 'OK' ? 'check' : 'warning'), message: res.sMessage, container: tableWrapper, place: 'prepend'});
}
if ($('.group-checkable', tableContainer).size() === 1) {
$('.group-checkable', tableContainer).attr("checked", false);
@@ -512,7 +512,7 @@ var DatatableICT = function () {
if (tableOptions.onError) {
tableOptions.onError.call(the);
}
- ZteFrameWork.alert({type: 'danger', icon: 'warning', message: tableOptions.dataTable.oLanguage.sAjaxRequestGeneralError, container: tableWrapper, place: 'prepend'});
+ openoFrameWork.alert({type: 'danger', icon: 'warning', message: tableOptions.dataTable.oLanguage.sAjaxRequestGeneralError, container: tableWrapper, place: 'prepend'});
$('.dataTables_processing', tableWrapper).remove();
}
} );
@@ -526,7 +526,7 @@ var DatatableICT = function () {
"data": aoData,
"success": function(res, textStatus, jqXHR) {
if (res.sMessage) {
- ZteFrameWork.alert({type: (res.sStatus == 'OK' ? 'success' : 'danger'), icon: (res.sStatus == 'OK' ? 'check' : 'warning'), message: res.sMessage, container: tableWrapper, place: 'prepend'});
+ openoFrameWork.alert({type: (res.sStatus == 'OK' ? 'success' : 'danger'), icon: (res.sStatus == 'OK' ? 'check' : 'warning'), message: res.sMessage, container: tableWrapper, place: 'prepend'});
}
if ($('.group-checkable', tableContainer).size() === 1) {
$('.group-checkable', tableContainer).attr("checked", false);
@@ -561,7 +561,7 @@ var DatatableICT = function () {
if (tableOptions.onError) {
tableOptions.onError.call(the);
}
- ZteFrameWork.alert({type: 'danger', icon: 'warning', message: tableOptions.dataTable.oLanguage.sAjaxRequestGeneralError, container: tableWrapper, place: 'prepend'});
+ openoFrameWork.alert({type: 'danger', icon: 'warning', message: tableOptions.dataTable.oLanguage.sAjaxRequestGeneralError, container: tableWrapper, place: 'prepend'});
$('.dataTables_processing', tableWrapper).remove();
}
} );
@@ -584,7 +584,7 @@ var DatatableICT = function () {
tableInitialized = true; // set table initialized
table.show(); // display table
}
- ZteFrameWork.initUniform($('input[type="checkbox"]', tableContainer)); // reinitialize uniform checkboxes on each table reload
+ openoFrameWork.initUniform($('input[type="checkbox"]', tableContainer)); // reinitialize uniform checkboxes on each table reload
countSelectedRecords(); // reset selected records indicator
//所有td不换行
$('table#datatable_ajax' + contextData.curentDatableId).find('td').css('white-space', 'nowrap');
diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/DataTableSmartClient.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/DataTableSmartClient.js
index 5f28350f..4cb8cb58 100644
--- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/DataTableSmartClient.js
+++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/DataTableSmartClient.js
@@ -438,7 +438,7 @@ var DatatableICT = function () {
"data": aoData,
"success": function(res, textStatus, jqXHR) {
if (res.sMessage) {
- ZteFrameWork.alert({type: (res.sStatus == 'OK' ? 'success' : 'danger'), icon: (res.sStatus == 'OK' ? 'check' : 'warning'), message: res.sMessage, container: tableWrapper, place: 'prepend'});
+ openoFrameWork.alert({type: (res.sStatus == 'OK' ? 'success' : 'danger'), icon: (res.sStatus == 'OK' ? 'check' : 'warning'), message: res.sMessage, container: tableWrapper, place: 'prepend'});
}
if ($('.group-checkable', tableContainer).size() === 1) {
$('.group-checkable', tableContainer).attr("checked", false);
@@ -466,7 +466,7 @@ var DatatableICT = function () {
if (tableOptions.onError) {
tableOptions.onError.call(the);
}
- ZteFrameWork.alert({type: 'danger', icon: 'warning', message: tableOptions.dataTable.oLanguage.sAjaxRequestGeneralError, container: tableWrapper, place: 'prepend'});
+ openoFrameWork.alert({type: 'danger', icon: 'warning', message: tableOptions.dataTable.oLanguage.sAjaxRequestGeneralError, container: tableWrapper, place: 'prepend'});
$('.dataTables_processing', tableWrapper).remove();
}
} );
@@ -488,7 +488,7 @@ var DatatableICT = function () {
tableInitialized = true; // set table initialized
table.show(); // display table
}
- ZteFrameWork.initUniform($('input[type="checkbox"]', tableContainer)); // reinitialize uniform checkboxes on each table reload
+ openoFrameWork.initUniform($('input[type="checkbox"]', tableContainer)); // reinitialize uniform checkboxes on each table reload
countSelectedRecords(); // reset selected records indicator
//所有td不换行
$('table#datatable_ajax').find('td').css('white-space', 'nowrap');
diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/DataTableSmartClientApp.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/DataTableSmartClientApp.js
index 3a74fa95..8584aae3 100644
--- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/DataTableSmartClientApp.js
+++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/DataTableSmartClientApp.js
@@ -495,7 +495,7 @@ var DatatableICT = function () {
"data": aoData,
"success": function(res, textStatus, jqXHR) {
if (res.sMessage) {
- ZteFrameWork.alert({type: (res.sStatus == 'OK' ? 'success' : 'danger'), icon: (res.sStatus == 'OK' ? 'check' : 'warning'), message: res.sMessage, container: tableWrapper, place: 'prepend'});
+ openoFrameWork.alert({type: (res.sStatus == 'OK' ? 'success' : 'danger'), icon: (res.sStatus == 'OK' ? 'check' : 'warning'), message: res.sMessage, container: tableWrapper, place: 'prepend'});
}
if ($('.group-checkable', tableContainer).size() === 1) {
$('.group-checkable', tableContainer).attr("checked", false);
@@ -532,7 +532,7 @@ var DatatableICT = function () {
if (tableOptions.onError) {
tableOptions.onError.call(the);
}
- ZteFrameWork.alert({type: 'danger', icon: 'warning', message: tableOptions.dataTable.oLanguage.sAjaxRequestGeneralError, container: tableWrapper, place: 'prepend'});
+ openoFrameWork.alert({type: 'danger', icon: 'warning', message: tableOptions.dataTable.oLanguage.sAjaxRequestGeneralError, container: tableWrapper, place: 'prepend'});
$('.dataTables_processing', tableWrapper).remove();
}
} );
@@ -554,7 +554,7 @@ var DatatableICT = function () {
tableInitialized = true; // set table initialized
table.show(); // display table
}
- ZteFrameWork.initUniform($('input[type="checkbox"]', tableContainer)); // reinitialize uniform checkboxes on each table reload
+ openoFrameWork.initUniform($('input[type="checkbox"]', tableContainer)); // reinitialize uniform checkboxes on each table reload
countSelectedRecords(); // reset selected records indicator
//所有td不换行
$('table#datatable_ajax').find('td').css('white-space', 'nowrap');
diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/dataTable.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/dataTable.html
index 647866c9..afae5e3c 100644
--- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/dataTable.html
+++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/dataTable.html
@@ -141,7 +141,7 @@
</div>
<!-- FOR TEST-->
<script type="text/javascript" src="/web/newict/framework/thirdparty/bootstrap/js/bootstrap.min.js"></script>
-<script type="text/javascript" src="/web/newict/framework/zte/scripts/core/ZteFrameWork.min.js"></script>
+<script type="text/javascript" src="/web/newict/framework/zte/scripts/core/openoFrameWork.min.js"></script>
<script type="text/javascript" src="/web/newict/framework/thirdparty/uniform/jquery.uniform.min.js"></script>
<script type="text/javascript" src="/web/newict/framework/thirdparty/data-tables/jquery.dataTables.js"></script>
<script type="text/javascript" src="/web/newict/framework/thirdparty/data-tables/DT_bootstrap.js"></script>
diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/fakeLoader/fakeLoader.min.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/fakeLoader/fakeLoader.min.js
index 6d3db707..35acda50 100644
--- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/fakeLoader/fakeLoader.min.js
+++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/fakeLoader/fakeLoader.min.js
@@ -10,7 +10,7 @@
$.fn.fakeLoader = function(options) {
//Defaults
$.fn.settings = $.extend({
- timeToHide:0, // Default Time to hide fakeLoader
+ timeToHide:10, // Default Time to hide fakeLoader
pos:'fixed',// Default Position
top:'0px', // Default Top value
left:'0px', // Default Left value