casPasswordlessDisplayView.html 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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="#{cas.login.pagetitle}">Passwordless Display 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="login">
  12. <div class="alert alert-info">
  13. <strong>Provide Token</strong><p>
  14. Please provide the security token sent to you via email, phone, etc. Note that the token is valid for only a brief window and
  15. upon submission, all other tokens will be invalidated and removed.</p>
  16. </div>
  17. <div class="alert alert-danger alert-dismissible" th:if="${error}">
  18. <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
  19. <strong>Authentication Failure</strong><p>The provided token could not be verified. It may have been invalidated, removed or expired.</p>
  20. </div>
  21. <form method="post" id="fm1" class="fm-v clearfix" th:action="@{/login}">
  22. <div class="form-group">
  23. <label for="password">Token:</label>
  24. <input class="form-control"
  25. type="password"
  26. id="password"
  27. name="password"
  28. size="25"
  29. tabindex="2"
  30. autocomplete="off"
  31. required/>
  32. <div>
  33. <p/>
  34. </div>
  35. <input type="hidden" name="username" th:if="${passwordlessAccount}" th:value="${passwordlessAccount.username}"/>
  36. <input class="btn btn-submit" name="_eventId_submit" accesskey="l"
  37. th:value="#{screen.welcome.button.login}" tabindex="4" type="submit" value="LOGIN"/>
  38. </div>
  39. <input type="hidden" name="execution" th:value="${flowExecutionKey}"/>
  40. </form>
  41. </div>
  42. </main>
  43. </body>
  44. </html>