CLIENT GUI Framework
[vnfsdk/refrepo.git] / openo-portal / portal-common / src / main / webapp / common / js / core / const.js
1 /*\r
2  * Copyright 2016-2017, CMCC Technologies Co., Ltd.\r
3  *\r
4  * Licensed under the Apache License, Version 2.0 (the "License");\r
5  * you may not use this file except in compliance with the License.\r
6  * You may obtain a copy of the License at\r
7  *\r
8  *         http://www.apache.org/licenses/LICENSE-2.0\r
9  *\r
10  * Unless required by applicable law or agreed to in writing, software\r
11  * distributed under the License is distributed on an "AS IS" BASIS,\r
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13  * See the License for the specific language governing permissions and\r
14  * limitations under the License.\r
15  */\r
16 var fMenuSiderDivId = 'page-f-sidebar-menu';\r
17 var ICTFRAME_CONST_SPINNER_GIF_PATH="image/loading-spinner-grey.gif";\r
18 var ICTFRAME_CONST_IFRAME_HEIGHT_AJUST = 10;\r
19 var ICTFRAME_CONST_IFRAME_HEIGHT_AJUST_IE = 5;\r
20 var ICTFRAME_CONST_THEME_COLOR_CSS_PREFFIX = "css/themes/";\r
21 var ICTFRAME_CONST_DEFAULTPAGE_PATH = "default.html?";\r
22 var ICTFRAME_CONST_DATABACKUP_PATH = 'menus/dataBackup-mysql.html';\r
23 var IS_V5_TESTVERSION = true;\r
24 \r
25 var FrameConst={};\r
26 //ĬÈϵǼ³É¹¦ÌøתҳÃæ\r
27 FrameConst.DEFAULT_LOGINSKIP_PAGE = "common/main-page.html";\r
28 FrameConst.DEFAULT_PAGE = "default.html";\r
29 \r
30 FrameConst.do_heartbeat = false;\r
31 FrameConst.change_pass = false;\r
32 //ÊÇ·ñ¼ÓÃÜ\r
33 FrameConst.isEncypt = "false"; \r
34 FrameConst.REST_FRAMECOMMIFO = "../../api/uiframe/v1/frameCommInfo";\r
35 FrameConst.REST_HEARTBEAT = "../../api/uiframe/v1/heartbeat";\r
36 FrameConst.REST_GETLICENSEINFO = "../../api/uiframe/v1/licensevalueinfo";\r
37 FrameConst.REST_CHECKRIGHT = "../../api/uiframe/v1/checkRight";\r
38 FrameConst.REST_LOGIN = "../../api/uiframe/v1/login";\r
39 FrameConst.REST_GET_FRAME_MENUDIRECTION = "../../api/uiframe/v1/confByKey?key=usf.mainframe.web.navigation.direction";\r
40 FrameConst.REST_GET_USERNAME = "../../api/uiframe/v1/userName";\r
41 \r
42 \r
43 FrameConst.REST_GET_VERSIONINFO = "../../api/uiframe/v1/versionInfo";\r
44 var zte_http_headers=new Array();\r
45 zte_http_headers.push({"key":"ICTAuthentication","value":"icttka","store":true});\r
46 zte_http_headers.push({"key":"isFromWeb","value":"1","store":false});