changePassword.jsp 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  2. <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
  3. <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
  4. <%@ taglib prefix="s" uri="http://sso.maxkey.org/tags" %>
  5. <table width="100%">
  6. <tr>
  7. <td>
  8. <form id="actionForm" method="post" type="label" autoclose="true" action="<s:Base/>/safe/changePassword">
  9. <table class="datatable" >
  10. <tbody>
  11. <tr>
  12. <th colspan="2"><s:Locale code="access.security.loginpassword.setting" /></th>
  13. </tr>
  14. <tr>
  15. <th><s:Locale code="userinfo.displayName" /> :</th>
  16. <td>
  17. <input readonly type="text" id="displayName" name="displayName" class="required" title="" value="${model.displayName}"/>
  18. </td>
  19. </tr>
  20. <tr>
  21. <th><s:Locale code="userinfo.username" /> :</th>
  22. <td>
  23. <input readonly type="text" id="username" name="username" class="required" title="" value="${model.username}"/>
  24. </td>
  25. </tr>
  26. <tr>
  27. <th><s:Locale code="access.security.oldPassword" /> :</th>
  28. <td>
  29. <input type="password" id="oldPassword" name="oldPassword" class="required" title="" value=""/>
  30. <b class="orange">*</b>
  31. <label for="oldPassword"></label>
  32. </td>
  33. </tr>
  34. <tr>
  35. <th><s:Locale code="access.security.newPassword" />:</th>
  36. <td>
  37. <input type="password" id="newPassword" name="newPassword" class=" required" title="" value=""/>
  38. <b class="orange">*</b>
  39. <label for="newPassword"></label>
  40. </td>
  41. </tr>
  42. <tr>
  43. <th><s:Locale code="access.security.confirmPassword" />:</th>
  44. <td nowrap>
  45. <input type="password" id="confirmPassword" name="confirmPassword" class="{ required: true, equalTo: '#newPassword' }" title="" value=""/>
  46. <b class="orange">*</b>
  47. <label for="confirmPassword"></label>
  48. </td>
  49. </tr>
  50. <tr>
  51. <td colspan="2" class="center">
  52. <input id="_method" type="hidden" name="_method" value="post"/>
  53. <input class="button" style="width:100px" type="button" id="submitBtn" value="<s:Locale code="button.text.save" />"/>
  54. </td>
  55. </tr>
  56. </tbody>
  57. </table>
  58. </form>
  59. </td>
  60. </tr>
  61. </table>