123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- [#ftl]
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>重置密码</title>
- <!--框架必需start-->
- <script type="text/javascript" src="${ctx}/qui/libs/js/jquery.js"></script>
- <script type="text/javascript" src="${ctx}/qui/libs/js/framework.js"></script>
- <link href="${ctx}/qui/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
- <link rel="stylesheet" type="text/css" id="skin" prePath="${ctx}/qui/"/>
- <link rel="stylesheet" type="text/css" id="customSkin"/>
- <!--框架必需end-->
- <!-- 表单验证start -->
- <link rel="stylesheet"
- href="${ctx}/qui/libs/js/form/validform/css/style.css" type="text/css"
- media="all" />
- <script src="${ctx}/qui/libs/js/form/validform/validform.js"
- type="text/javascript"></script>
- <!-- 表单验证end -->
- </head>
- <body>
- <form id="editForm" action="${ctx}/user/resetPwdData.do" method="post" target="frmright" failAlert="表单填写不正确,请按要求填写!">
- <div class="box1" panelWidth="650">
- <fieldset>
- <legend>重置密码</legend>
- <table class="tableStyle" formMode="transparent" footer="normal">
-
- <tr>
- <td width="15%">密码:</td><td width="35%"><input id="password" name="password" type="password" value="" datatype="*6-16" nullmsg="请输入密码!" /><span class="star">*</span></td>
- <td width="15%">确认密码:</td><td><input id="passwordConfirm" type="password" value="" datatype="*6-16" recheck="password" nullmsg="请输入确认密码!" /><span class="star">*</span></td>
- </tr>
-
- </table>
- </fieldset>
- <div class="padding_top10">
- <table class="tableStyle" formMode="transparent">
- <tr>
- <td colspan="4">
- <input type="submit" value="提交"/>
- <input type="button" value="取消" onclick="top.Dialog.close()"/>
- </td>
- </tr>
- </table>
- </div>
- </div>
- </form>
- <!-- 异步提交start -->
- <script type="text/javascript">
- function initComplete(){
-
- //表单提交
- $("#editForm").Validform({
- tiptype:3,//表示在右边显示
- ajaxPost:true,
- showAllError:true,
- callback:function(responseText){
- $.Hidemsg();
- if(responseText.status=="y"){
- top.Dialog.confirm(responseText.info+" 是否重新登录?",function(){
- return top.location.href='${ctx}/logout.do';
- });
- }else{
- top.Dialog.alert(responseText.info,function(){
- return false;
- });
- }
-
- }
- });
- }
- </script>
- <!-- 异步提交end -->
- </body>
- </html>
|