casAzureAuthenticatorLoginView.html 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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.mfa.azure.pagetitle}">Microsoft Authenticator View</title>
  7. <link href="../../static/css/cas.css" rel="stylesheet" th:remove="tag" />
  8. <style>
  9. textarea {
  10. border: 2pt;
  11. font-family: "Courier New";
  12. font-weight: bold;
  13. font-size: 45px;
  14. display: block;
  15. margin-left: auto;
  16. margin-right: auto;
  17. }
  18. </style>
  19. </head>
  20. <body>
  21. <main role="main" class="container mt-3 mb-3">
  22. <div layout:fragment="content" id="login" class="box">
  23. <form method="post" id="fm1" class="fm-v clearfix" th:object="${credential}" th:action="@{/login}">
  24. <div id="msg" class="alert alert-danger" role="alert" th:if="${#fields.hasErrors('*')}">
  25. <span th:each="err : ${#fields.errors('*')}" th:utext="${err}">this error block and text is only shown if there are errors</span>
  26. </div>
  27. <div class="form-group">
  28. <label for="token">Press 'LOGIN' below and provide the displayed code via your mobile device.</label>
  29. <textarea readonly class="form-control" id="token" size="25" rows="1" cols="8"
  30. th:field="*{token}"></textarea>
  31. </div>
  32. <input class="btn btn-submit"
  33. name="_eventId_submit"
  34. accesskey="l"
  35. tabindex="1"
  36. th:value="#{screen.welcome.button.login}"
  37. id="submitBtn"
  38. type="submit"
  39. value="LOGIN"/>
  40. <input type="hidden" name="execution" th:value="${flowExecutionKey}"/>
  41. <input type="hidden" name="geolocation"/>
  42. </form>
  43. </div>
  44. </main>
  45. </body>
  46. </html>