casRadiusLoginView.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  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.radius.pagetitle}">Radius Login 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 class="alert alert-danger" th:if="${#fields.hasErrors('*')}">
  14. <span th:each="err : ${#fields.errors('*')}" th:utext="${err}">error message</span>
  15. </div>
  16. <div class="form-group">
  17. <label for="token" class="fl-label" th:utext="#{screen.welcome.label.password}"><span class="accesskey">P</span>assword:</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. <input class="btn btn-submit" name="_eventId_submit" accesskey="l"
  23. th:value="#{screen.welcome.button.login}" tabindex="4" type="submit" value="Login"/>
  24. <input type="hidden" name="execution" th:value="${flowExecutionKey}"/>
  25. <input type="hidden" name="geolocation"/>
  26. </form>
  27. </div>
  28. </main>
  29. </body>
  30. </html>