resetpwd.ftl 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <!DOCTYPE HTML>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <#include "../layout/header.ftl">
  5. <#include "../layout/common.cssjs.ftl">
  6. </head>
  7. <body >
  8. <div id="top">
  9. <#include "../layout/nologintop.ftl">
  10. </div>
  11. <div class="container">
  12. <#if 4 == forgotType>
  13. <@locale code="forgotpassword.pwdreseted.captcha"/>
  14. <a href="javascript:history.go(-1);"><@locale code="forgotpassword.backstep"/></a >
  15. </#if>
  16. <#if 1 == forgotType>
  17. <@locale code="forgotpassword.resetpwd.notfound.prefix"/>
  18. <b>${emailMobile} </b>
  19. <@locale code="forgotpassword.resetpwd.notfound.suffix"/>
  20. <a href="javascript:history.go(-1);"><@locale code="forgotpassword.backstep"/></a >
  21. </#if>
  22. <#if 2 == forgotType || 3 == forgotType >
  23. <form action="<@base/>/forgotpassword/setpassword" method="post">
  24. <table class="table table-bordered">
  25. <tr>
  26. <td><@locale code="forgotpassword.emailmobile"/>
  27. <input type='hidden' id="text" name="userId" value="${userId}" />
  28. <input type='hidden' id="text" name="forgotType" value="${forgotType}" />
  29. <input type='hidden' id="text" name="username" value="${username}" />
  30. </td>
  31. <td>${emailMobile}</td>
  32. </tr>
  33. <tr>
  34. <td><@locale code="login.password.newPassword"/></td>
  35. <td><input class="form-control" type='password' id="password" name="password" tabindex="1" value="" /></td>
  36. </tr>
  37. <tr>
  38. <td><@locale code="login.password.confirmPassword"/></td>
  39. <td><input class="form-control" type='password' id="confirmpassword" name="confirmpassword" tabindex="2" value="" /></td>
  40. </tr>
  41. <tr>
  42. <td><@locale code="login.text.captcha"/>:</td>
  43. <td><input class="form-control" type='text' name="captcha" tabindex="3" value="" /></td>
  44. </tr>
  45. <tr>
  46. <td colspan="2"><input id="registerBtn" class="button btn btn-lg btn-primary btn-block" type="submit" value="<@locale code="forgotpassword.nextstep" />"/></td>
  47. </tr>
  48. </table>
  49. </form>
  50. </#if>
  51. </div>
  52. <div id="footer">
  53. <#include "../layout/footer.ftl">
  54. </div>
  55. </body>
  56. </html>