1 Star 0 Fork 11

李树/生产排程系统

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.jsp 5.56 KB
一键复制 编辑 原始数据 按行查看 历史
火星男 提交于 2017-11-20 13:02 . 初始导入
<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>日井仓储管理系统-登录画面</title>
<meta name="keywords" content="WMS,Json,Ajax,Jquery,Struts,Java"/>
<meta name="description" content="E-WMS管理系统专家"/>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">
<%@ include file="/taglibs.jsp" %>
<script type="text/javascript">
function refresh() {
setTimeout("_refresh()", 100);
}
function _refresh() {
var src = document.getElementById("authImg").src;
document.getElementById("authImg").src = src + "?now=" + new Date().getTime();
}
var loginErrFlg = false;
function _submit(form) {
if(document.frmLogin.username.value=="" || document.frmLogin.username.value.length < 2){
$.messager.alert('错误提示','请输入正确的用户名!','error');
loginErrFlg = true;
document.frmLogin.username.focus();
return;
}
if(document.frmLogin.passwd.value=="" || document.frmLogin.passwd.value.length < 5){
$.messager.alert('错误提示','请输入密码!','error');
loginErrFlg = true;
document.frmLogin.passwd.focus();
return;
}
if(document.frmLogin.authCode.value=="" || document.frmLogin.authCode.value.length < 4){
$.messager.alert('错误提示','请输入验证码!','error');
loginErrFlg = true;
document.frmLogin.authCode.focus();
return;
}
loginErrFlg = false;
document.frmLogin.submit();
}
function load_Focus() {
document.getElementById("username").focus();
}
function getNextFocus(e) {
var e1 = document.getElementById("username");
var e2 = document.getElementById("passwd");
var e3 = document.getElementById("authCode");
var e4 = document.getElementById("submitButton");
if (e===e4) {
if (!loginErrFlg){
_submit(document.getElementById("frmLogin"));
} else {
return e1;
}
return e;
}
var elms = new Array(e1, e2, e3, e4);
var b = false;
for ( var i = 0, n = elms.length; i < n; i++) {
var elm = elms[i];
if (elm === e) {
b = true;
continue;
}
if (!b){
continue;
}
if (elm.tagName === 'INPUT'
&& (elm.type === 'text' || elm.type === 'password' || elm.type === 'button')) {
return elm;
}
}
return e1;
}
function _keydown() {
var evt = window.event;
var keyCode = evt.keyCode;
if (keyCode == 13) {
var elm = evt.srcElement;
elm = getNextFocus(elm);
elm.focus();
return false;
}
return true;
}
window.document.onkeydown = _keydown;
</script>
<style type="text/css">
td.heightLine {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
font-size: 10pt;
background-color: rgb(222, 222, 222);
}
input[type=text],input[type=password] {
vertical-align: middle;
height: 22px;
border: #a7a7a7 1px solid;
padding: 1px;
width: 150px;
}
table.showInfo{
border: #a7a7a7 0px solid;
height:100%;
width:100%;
}
table.login{
border: #a7a7a7 1px solid;
padding: 0px;
background-color: rgb(242, 242, 242);
/*border-collapse:collapse;
border-style: solid dotted dashed double;*/
border-spacing: 1px 1px;
width: 320px;
}
.logoFont{
font-size: 14px;
font-family:'Microsoft YaHei','MS PGothic',sans-serif;
}
</style>
</head>
<body onload="load_Focus()" style="background: rgb(255, 255, 255)">
<form action="welcome" method="post" name="frmLogin">
<input type="hidden" name="wh_id" id="index_wh_id" value="3302410452">
<table height="99%" width="98%" border="0" align="center">
<tr><td>&nbsp;</td></tr>
<tr><td align="center" height="530px">
<table style="background-image:url('./img/bg_map.jpg');background-repeat:no-repeat;" border="0" width="800px" height="100%">
<tr><td colspan="4" align="center"><font class="logoFont">日井仓储管理系统&nbsp;&nbsp;&nbsp;&nbsp;欢迎您!</font></td></tr>
<tr>
<td width="12%"></td>
<td width="76%">
<table class="showInfo" border="0">
<tr><td height="40px" width="100%">
<img src="./img/kjt_logo.png" width="400" height="72">&nbsp;&nbsp;</td></tr>
<tr height="5px"><td></td></tr>
<tr>
<td align="center" width="100%">
<table class="login">
<tr><td class="heightLine" width="30%" align="center">用户名</td>
<td class="heightLine" colspan="2" align="left"><input type="text" id="username" name="username" value="NB9903" size="12"/></td></tr>
<tr><td class="heightLine" width="30%" align="center">&nbsp;&nbsp;&nbsp;</td>
<td class="heightLine" colspan="2" align="left"><input type="password" id="passwd" name="passwd" value="zhangjun001" size="12"/></td></tr>
<tr><td class="heightLine" width="30%" align="center">验证码</td>
<td class="heightLine" align="left"><input type="text" id="authCode" name="authCode" required="true"/></td>
<td class="heightLine"><img title="看不清?点击刷新" onclick="javascript:refresh();" id="authImg" src="authimg" style="margin:0px" height="22px"/></td></tr>
</table>
<table>
<tr><td colspan="3" align="center" height="40px">
<input style="width:100px" type="button" id="submitButton" onclick="_submit(this.form);" value="登&nbsp;&nbsp;录"/>
</td></tr>
</table>
</td>
</tr>
</table>
</td>
<td width="12%">&nbsp;</td>
</tr>
<tr><td colspan="4" height="100px"></td></tr>
</table>
</td></tr>
<tr><td align="center"><font class="logoFont">2017-2018 日井&nbsp;仓储管理系统&nbsp;&nbsp;</font></td></tr>
<tr><td align="center"><font class="logoFont"><img src="./img/wcloud.ico" width="12px">&nbsp;&nbsp;</font></td></tr>
</table>
</form>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/treelee/facWms.git
[email protected]:treelee/facWms.git
treelee
facWms
生产排程系统
master

搜索帮助