casGoogleAuthenticatorLoginView.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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.googleauth.pagetitle}">Google Authentication 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. <form method="post" id="fm1" class="fm-v clearfix" th:object="${credential}" th:action="@{/login}">
  13. <div id="msg" class="errors" th:if="${#fields.hasErrors('*')}">
  14. <span th:each="err : ${#fields.errors('*')}" th:utext="${err}"/>
  15. </div>
  16. <div class="form-group">
  17. <label for="token" class="fl-label" th:utext="#{cas.mfa.googleauth.label.token}">Token:</label>
  18. <input type="password" class="form-control required" id="token" size="25" tabindex="1"
  19. th:field="*{token}"
  20. th:accesskey="#{screen.welcome.label.password.accesskey}" autocomplete="off"/>
  21. <div>
  22. <p/>
  23. </div>
  24. </div>
  25. <input class="btn btn-submit" name="_eventId_submit" accesskey="l"
  26. th:value="#{screen.welcome.button.login}" tabindex="4" type="submit" value="Login"/>
  27. <input type="hidden" name="execution" th:value="${flowExecutionKey}"/>
  28. <input type="hidden" name="geolocation"/>
  29. </form>
  30. </div>
  31. </main>
  32. </body>
  33. </html>