You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
2.3 KiB
64 lines
2.3 KiB
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
|
pageEncoding="UTF-8"%>
|
|
<%@ page import="com.lp.cfg.ProConfig" %>
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<%@ include file="/WEB-INF/oss/base/common/variable.jsp"%>
|
|
<%@ include file="/WEB-INF/oss/base/common/resource_lib.jsp"%>
|
|
<%@ include file="/WEB-INF/oss/base/common/variable_js.jsp"%>
|
|
<link type="text/css" href="<%=basePath%>/css/iot/login.css?<%=v%>" rel="stylesheet"/>
|
|
<script type="text/javascript" src="<%=basePath%>/lib/jquery/jquery.backstretch.min.js"></script>
|
|
<title>重置密码</title>
|
|
</head>
|
|
<script type="text/javascript">
|
|
$(function(){
|
|
$.backstretch("<%=basePath%>/image/iot/login_back4.png");
|
|
})
|
|
function sunccessReturn(){
|
|
forwardUrl("/iot/login",1000,'修改成功');
|
|
}
|
|
function beforefunc(){
|
|
if( $(".modify .comfirm").val() != gic("password",".modify").val() ){
|
|
tip("二次密码输入不一致,请检查");
|
|
return false ;
|
|
}else{
|
|
return true ;
|
|
}
|
|
}
|
|
</script>
|
|
<body>
|
|
<div>
|
|
<div class="system-title">
|
|
<p>IOT 物联网平台</p>
|
|
</div>
|
|
<div class="login_container modify" type-option="form_submit" config-option=" 'url':'/user',
|
|
'method':'PUT',
|
|
'submit':'.modify-password-btn',
|
|
'before':'beforefunc',
|
|
'success':'sunccessReturn',
|
|
'validate':{ 'tigger':'submit','style':'color,pop'} ">
|
|
<div class="login-title">
|
|
<span>修改密码</span>
|
|
</div>
|
|
<c:if test="${Info.status==2}">
|
|
<input type-name="id" type="hidden" value="${Info.data.id }" >
|
|
<input type-name="email" type="hidden" value="${Info.data.email}">
|
|
<div class="login-input">
|
|
<input class="input input-big" validate="empty:请输入邮箱" type-name="password" maxlength="50" placeholder="请输入新密码">
|
|
</div>
|
|
<div class="login-input">
|
|
<input class="input input-big comfirm" validate="empty:请输入密码" type="password" maxlength="50" placeholder="请确认密码">
|
|
</div>
|
|
<div style="margin-left: 20px;">
|
|
<button class="btn modify-password-btn">确认</button>
|
|
</div>
|
|
</c:if>
|
|
<c:if test="${Info.status != 2 }">
|
|
<p style="color: white;font-size: 20px;text-align: center;">${Info.statusMsg}</p>
|
|
</c:if>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|