casSurrogateAuthnListView.html 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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.surrogates.account.selection.header}">Surrogate Account Selection 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. <div class="alert alert-info">
  13. <form method="post" id="loginForm" class="fm-v clearfix">
  14. <div class="form-group">
  15. <h2 th:text="#{screen.surrogates.choose.account}">Choose Account</h2>
  16. <div th:utext="#{screen.surrogates.message}">
  17. <p>You are provided with a list of accounts on behalf of which you are allowed to authenticate. </p>
  18. <p>Select one and continue.</p>
  19. </div>
  20. <label for="surrogateTarget" class="fl-label">Account:</label>
  21. <select name="surrogateTarget" id="surrogateTarget" class="form-control">
  22. <option th:each="surrogate: ${surrogates}" th:value="${surrogate}" th:text="${surrogate}"/>
  23. </select>
  24. </div>
  25. <input type="hidden" name="execution" th:value="${flowExecutionKey}"/>
  26. <input type="hidden" name="_eventId" value="submit"/>
  27. <input class="btn btn-submit" name="submit" accesskey="l"
  28. th:value="#{screen.welcome.button.login}" type="submit" value="Login"/>
  29. &nbsp;<a class="btn btn-danger" id="cancel" name="cancel"
  30. th:unless="${service}"
  31. th:href="@{/login}" th:text="#{screen.surrogates.button.cancel}">Cancel</a>
  32. &nbsp;<a class="btn btn-primary" id="login" name="login"
  33. th:if="${service}"
  34. th:href="${service.id}" th:text="#{screen.error.page.loginagain}">Login</a>
  35. </form>
  36. </div>
  37. </div>
  38. </body>
  39. </html>