casResetPasswordVerifyQuestionsView.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 Verify Questions 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">
  12. <h2 th:utext="#{screen.pm.reset.qstitle}">Answer Security Questions</h2>
  13. <p th:utext="#{screen.pm.reset.qsmsg(${username})}">Welcome <strong>{0}</strong>. Before you can reset your
  14. password, you must answer the following security questions.</p>
  15. <form method="post" id="fm1" class="fm-v clearfix">
  16. <input type="hidden" name="execution" th:value="${flowExecutionKey}"/>
  17. <input type="hidden" name="_eventId" value="submit"/>
  18. <input type="hidden" name="username" th:value="${username}"/>
  19. <input type="hidden" name="token" th:value="${token}"/>
  20. <div class="form-group">
  21. <table width="100%" th:if="${questionsEnabled}" class="table">
  22. <tr th:each="q : ${questions}">
  23. <td th:utext="${q}">Question text</td>
  24. <td>
  25. <input type="password" class="form-control required" required th:name="${'q' + qStat.index}"
  26. size="45"/>
  27. </td>
  28. </tr>
  29. </table>
  30. </div>
  31. <input class="btn btn-submit" accesskey="s"
  32. th:value="#{screen.pm.button.submit}" tabindex="2" type="submit" value="SUBMIT"/>
  33. </form>
  34. </div>
  35. </main>
  36. </body>
  37. </html>