RdMobileChangePWD.jsp
3.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ page import="weaver.general.Util" %>
<%@page import="weaver.hrm.User"%>
<%@page import="weaver.systeminfo.SystemEnv"%>
<jsp:useBean id="CompanyComInfo" class="weaver.hrm.company.CompanyComInfo" scope="page" />
<HTML>
<HEAD>
<link href="/rdeploy/assets/css/index.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="/js/select/script/jquery-1.8.3.min_wev8.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=0.45,maximum-scale=0.45, minimum-scale=0.45" />
<style>
.e8_os{
height:35px;
}
.e8_innerShowContent{
height: 30px;
padding: 7px 0 0 7px;
}
.e8_spanFloat{
padding: 5px 0 0 0;
}
.e8_browflow{
}
.inbtn:hover{
background-color: #325fd4!important;
}
</style>
</head>
<%
User user =(User) request.getSession().getAttribute("_rdverifyloginuser");
if(user == null){
response.sendRedirect("/rdeploy/hrm/RdMobileLogin.jsp");
}
int uid= user.getUID();
String comname = CompanyComInfo.getCompanyname("1");
int language= user.getLanguage();
%>
<BODY style="padding: 0 0 0 0;margin: 0 0 0 0;">
<div style="border-top: 5px solid #41b4f4;width: 66%;float: left;"></div>
<form action="RdResourceOperation.jsp" name="frmMain" method="post" >
<input name="method" type="hidden" value="mobilechangepwd">
<input name="language" type="hidden" value="<%=language %>">
<input type="hidden" name ="id" value="<%=uid %>">
<div style="width: 100%;padding: 0 0 0 0;text-align: center;height: 100%;">
<center>
<div style="background-color: #FFFFFF; height: 100%;">
<table width="100%" >
<tr>
<td align="center" colspan="3" style="padding: 77px 0 0px 0; color: #000000;font-size: 30px; ">
<span style="margin: 0 10px 0 0;padding-left: 5px; "><%=SystemEnv.getHtmlLabelName(93,language)%></span>
</td>
</tr>
<tr id="mob" style="">
<td align="center" style="color: #526268;padding: 42px 0 5px 10px;">
<span style="position: absolute;color:#a2a2a2;width:50;height: 50px;margin: 25px;text-align: left;font-size: 30px;" >
<img src="/rdeploy/assets/img/hrm/pws.png" align="absMiddle" >
</span>
<span id="p1Msg" style="position: absolute;color:#a2a2a2;width:auto;height: 38px;margin: 25px 0 0 100px;text-align: left;font-size: 30px;" onclick="$(this).hide();$('#password1').focus();"><%=SystemEnv.getHtmlLabelName(409,language)%></span>
<INPUT class=inputstyle style="width: 90%;height: 93px;line-height:92px;color:#556266;border: 0px solid #a2a2a2;padding-left: 100px;background-color: #f3f3f3;font-size: 30px;" type="password" maxLength=20 size=30 name=userpassword id="password1" value="" onfocus="$('#p1Msg').hide()" onblur="if(this.value==''){$('#p1Msg').css('display','');}else{$(this).css('border','0px solid #ff817f');}">
</td>
</tr>
<tr>
<tr>
<td align="center" style="padding: 52px 0 5px 10px;">
<div id="showMsg" style="height: 50px;font-size: 30px;width: 100%;text-align: center;color:red; "> </div>
</td>
</tr>
<tr>
<td align="center" style="padding: 490px 0 5px 10px;">
<div id="dosubmit" onclick="doAdd()" style="background-color:#41b4f4;padding:27px 0 0 0;width: 90%;text-align: center;height: 63px;font-size: 30px;;color: white;cursor:pointer;">
<%=SystemEnv.getHtmlLabelName(125248,language)%>
</div>
</td>
</tr>
</table>
</div>
</center>
</div>
</form>
<script language=javascript>
function doAdd(){
if($("#password1").val() == ""){
$("#password1").css("border","1px solid #ff817f");
//$("#password1").css("border-top","2px solid #ff817f");
// $("#password1").css("border-left","2px solid #ff817f");
$("#showMsg").html("<%=SystemEnv.getHtmlLabelName(125249,language)%>");
return;
}
frmMain.submit();
}
</script>
</BODY>
</HTML>