diff options
Diffstat (limited to 'uiframe-iui/src/main/resources/webroot/framework/login.html')
-rw-r--r-- | uiframe-iui/src/main/resources/webroot/framework/login.html | 198 |
1 files changed, 0 insertions, 198 deletions
diff --git a/uiframe-iui/src/main/resources/webroot/framework/login.html b/uiframe-iui/src/main/resources/webroot/framework/login.html deleted file mode 100644 index bfc3f108..00000000 --- a/uiframe-iui/src/main/resources/webroot/framework/login.html +++ /dev/null @@ -1,198 +0,0 @@ -<!--
-
- 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.
-
--->
-<!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="../component/thirdparty/fakeLoader/fakeLoader.css" rel="stylesheet" type="text/css" />
-<script>
- if(top != window){
- top.location.href = location.href;
- }
-</script>
-<link href="../component/thirdparty/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
-<link href="../component/thirdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
-<link href="../component/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 href="./css/custom_default.css" rel="stylesheet" type="text/css"/>
-<link rel="shortcut icon" href="./img/integration/zte_logo_16.gif"/>
-<script type="text/javascript" src="../component/thirdparty/jquery/jquery-1.10.2.min.js"></script>
-<script type="text/javascript" src="./js/core/const.js" ></script>
-<script type="text/javascript" src="./appRes/js/custom-const.js" ></script>
-<script type="text/javascript" src="./js/security/security.js"></script>
-<script type="text/javascript" src="../component/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>
- <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="./img/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="./img/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>
- </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>
- <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="./img/chrome_icon.png"/> <a href="https://www.google.com/intl/en_US/chrome/browser/" id="chromedown">Chrome</a> <image class="browser_logo" src="./img/firefox_icon.png"/> <a href="http://www.mozilla.org/" id="firefoxdown">Firefox</a> <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="../component/thirdparty/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
-<script src="../component/thirdparty/jquery-blockui/jquery.blockui.min.js" type="text/javascript"></script>
-<script src="../component/thirdparty/uniform/jquery.uniform.min.js" type="text/javascript"></script>
-<script src="../component/thirdparty/jquery-validation/js/jquery.validate.min.js" type="text/javascript"></script>
-<script src="../component/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="../component/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 type="text/javascript" src="./appRes/js/custom.js" ></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;
- }
- }
- });
- $("#pageLoading").setToHide();
- });
-</script>
-
-</html>
|