casResetPasswordSendInstructionsView.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!DOCTYPE html>
  2. <html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{layout}">
  3. <head>
  4. <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
  6. <title th:text="#{screen.pm.reset.title}">Reset Password Send Instructions View</title>
  7. <link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" />
  8. </head>
  9. <body>
  10. <main role="main" class="container mt-3 mb-3">
  11. <div layout:fragment="content" id="reset">
  12. <h3 th:utext="#{screen.pm.reset.title}">Reset your password</h3>
  13. <span th:utext="#{screen.pm.reset.instructions}">Please provide your username. You will receive an email with follow-up instructions on how to reset your password.</span>
  14. <form method="post" id="fm1" class="fm-v clearfix">
  15. <input type="hidden" name="execution" th:value="${flowExecutionKey}"/>
  16. <input type="hidden" name="_eventId" value="findAccount"/>
  17. <div class="form-group">
  18. <label for="username" class="fl-label" th:utext="#{screen.pm.reset.username}"/>
  19. <input type="text" class="form-control" id="username" name="username"
  20. size="45" tabindex="1" required/>
  21. </div>
  22. <input class="btn btn-submit" accesskey="s"
  23. th:value="#{screen.pm.button.submit}" tabindex="2" type="submit" value="SUBMIT"/>
  24. &nbsp;
  25. <input class="btn btn-danger"
  26. name="cancel"
  27. accesskey="c"
  28. th:value="#{screen.pm.button.cancel}"
  29. type="button"
  30. onclick="location.href = location.href;" value="CANCEL"/>
  31. </form>
  32. <p/>
  33. </div>
  34. <script type="text/javascript" th:inline="javascript">
  35. var i = [[#{screen.welcome.button.loginwip}]];
  36. $('#fm1').submit(function () {
  37. $(':submit').attr('disabled', true);
  38. $(':submit').attr('value', i);
  39. return true;
  40. });
  41. </script>
  42. </div>
  43. </main>
  44. </body>
  45. </html>