passwordInitial.ftl 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <!DOCTYPE HTML >
  2. <html>
  3. <head>
  4. <#include "layout/header.ftl"/>
  5. <#include "layout/common.cssjs.ftl"/>
  6. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  7. <title><@locale code="login.password.initial.change.tip" /></title>
  8. </head>
  9. <body>
  10. <div id="top">
  11. <#include "layout/nologintop.ftl"/>
  12. </div>
  13. <div id="content">
  14. <div class="container">
  15. <table width="100%">
  16. <tr>
  17. <td>
  18. <form method="post" type="label" autoclose="true" action="<@base/>/safe/changeInitPassword">
  19. <table class="table table-bordered" >
  20. <tbody>
  21. <tr>
  22. <th colspan="2"><@locale code="login.password.initial.change.tip" /></th>
  23. </tr>
  24. <tr>
  25. <th><@locale code="userinfo.displayName" /> :</th>
  26. <td>
  27. <input readonly type="text" id="displayName" name="displayName" class="form-control" title="" value="${model.displayName}"/>
  28. </td>
  29. </tr>
  30. <tr>
  31. <th><@locale code="userinfo.username" /> :</th>
  32. <td>
  33. <input readonly type="text" id="username" name="username" class="form-control" title="" value="${model.username}"/>
  34. </td>
  35. </tr>
  36. <tr>
  37. <th><@locale code="login.password.newPassword" />:</th>
  38. <td>
  39. <input type="password" id="newPassword" name="newPassword" class="form-control" title="" value="" required="" />
  40. </td>
  41. </tr>
  42. <tr>
  43. <th><@locale code="login.password.confirmPassword" />:</th>
  44. <td nowrap>
  45. <input type="password" id="confirmPassword" name="confirmPassword" class="form-control" title="" value="" required="" />
  46. </td>
  47. </tr>
  48. <tr>
  49. <td colspan="2" class="center">
  50. <input id="_method" type="hidden" name="_method" value="post"/>
  51. <input class="button btn btn-lg btn-primary" style="width:100px" type="submit" id="submitBtn" value="<@locale code="button.text.save" />"/>
  52. </td>
  53. </tr>
  54. </tbody>
  55. </table>
  56. </form>
  57. </td>
  58. </tr>
  59. </table>
  60. </div>
  61. </div>
  62. <div id="footer">
  63. <#include "layout/footer.ftl"/>
  64. </div>
  65. </body>
  66. </html>