diff options
Diffstat (limited to 'openoiui-standlone/src/main/assembly/webroot/framework/js/core/const.js')
-rw-r--r-- | openoiui-standlone/src/main/assembly/webroot/framework/js/core/const.js | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/openoiui-standlone/src/main/assembly/webroot/framework/js/core/const.js b/openoiui-standlone/src/main/assembly/webroot/framework/js/core/const.js new file mode 100644 index 00000000..1b86b79d --- /dev/null +++ b/openoiui-standlone/src/main/assembly/webroot/framework/js/core/const.js @@ -0,0 +1,57 @@ +/*
+ * 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.
+ */
+var fMenuSiderDivId = 'page-f-sidebar-menu';
+var ICTFRAME_CONST_SPINNER_GIF_PATH="../../iui/framework/img/loading-spinner-grey.gif";
+var ICTFRAME_CONST_IFRAME_HEIGHT_AJUST = 10;
+var ICTFRAME_CONST_IFRAME_HEIGHT_AJUST_IE = 5;
+var ICTFRAME_CONST_THEME_COLOR_CSS_PREFFIX = "css/themes/";
+var ICTFRAME_CONST_DEFAULTPAGE_PATH = "default.html?";
+var ICTFRAME_CONST_DATABACKUP_PATH = 'menus/dataBackup-mysql.html';
+var IS_V5_TESTVERSION = true;
+
+
+var FrameConst={};
+
+FrameConst.DEFAULT_LOGINSKIP_PAGE = "main-page.html";
+
+FrameConst.do_heartbeat = false;
+FrameConst.change_pass = false;
+
+FrameConst.isEncypt = "false";
+//FrameConst.REST_FRAMECOMMIFO = "/web/rest/web-common/getMenuItemVisible";
+FrameConst.REST_FRAMECOMMIFO = "../../api/uiframe/v1/frameCommInfo";
+//FrameConst.REST_HEARTBEAT = "/web/rest/web-common/common?action=heartbeat";
+FrameConst.REST_HEARTBEAT = "../../api/uiframe/v1/heartbeat";
+//FrameConst.REST_GETLICENSEINFO = "/web/rest/web-license/getlicensevalueinfo";
+FrameConst.REST_GETLICENSEINFO = "../../api/uiframe/v1/licensevalueinfo";
+//FrameConst.REST_CHECKRIGHT = "/web/rest/web-common/checkRight";
+FrameConst.REST_CHECKRIGHT = "../../api/uiframe/v1/checkRight";
+//FrameConst.REST_LOGIN = "/web/res/web-common/login";
+FrameConst.REST_LOGIN = "../../api/uiframe/v1/login";
+//FrameConst.REST_LOGOUT = "/web/res/web-common/loginOut?SSOAction=SSOLogout";
+FrameConst.REST_LOGOUT = "../../api/uiframe/v1/loginOut?SSOAction=SSOLogout";
+//FrameConst.REST_GET_FRAME_MENUDIRECTION = "/web/rest/web-common/GetConfByKey?key=usf.mainframe.web.navigation.direction";
+FrameConst.REST_GET_FRAME_MENUDIRECTION = "../../api/uiframe/v1/confByKey?key=usf.mainframe.web.navigation.direction";
+//FrameConst.REST_GET_USERNAME = "/web/rest/web-common/common?action=getUserName";
+FrameConst.REST_GET_USERNAME = "../../api/uiframe/v1/userName";
+
+
+//FrameConst.REST_GET_VERSIONINFO = "/web/rest/web-common/getVersionInfo";
+FrameConst.REST_GET_VERSIONINFO = "../../api/uiframe/v1/versionInfo";
+var zte_http_headers=new Array();
+zte_http_headers.push({"key":"ICTAuthentication","value":"icttka","store":true});
+zte_http_headers.push({"key":"isFromWeb","value":"1","store":false});
+zte_http_headers.push({"key":"language-option","value":"language-option","store":true});
\ No newline at end of file |