confirm.html 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <!DOCTYPE html>
  2. <html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{layout}">
  3. <head>
  4. <title th:text="#{cas.oauth.confirm.pagetitle}"></title>
  5. </head>
  6. <body id="cas">
  7. <div layout:fragment="content">
  8. <div class="alert alert-success">
  9. <h1 th:text="#{screen.oauth.confirm.header}"/>
  10. <div align="middle">
  11. <img th:src="${service.logo}" th:if="${service.logo}"/>
  12. <p th:text="${service.description}" />
  13. </div>
  14. <div th:if="${dynamic}">
  15. <div class="alert alert-warning fade in" role="alert">
  16. <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
  17. <strong th:utext="#{screen.oidc.confirm.dynamic(${dynamicTime})}"/>
  18. </div>
  19. </div>
  20. <div th:unless="${#sets.isEmpty(scopes)}">
  21. <p th:text="#{screen.oidc.confirm.asksinfo}"/>
  22. <span th:each="scope : ${scopes}">
  23. <div>
  24. <span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
  25. <strong><code th:text="${scope}"/></strong>
  26. <p th:text="#{screen.oidc.confirm.scope.__${scope}__}"/>
  27. </div>
  28. </span>
  29. <div th:if="${service.informationUrl}">
  30. <span class="glyphicon glyphicon-comment" aria-hidden="true"></span>
  31. <a th:href="${service.informationUrl}" th:text="#{screen.oidc.confirm.infourl(${serviceName})}"/>
  32. </div>
  33. <div th:if="${service.privacyUrl}">
  34. <span class="glyphicon glyphicon-eye-open" aria-hidden="true"></span>
  35. <a th:href="${service.privacyUrl}" th:utext="#{screen.oidc.confirm.privacyurl(${serviceName})}"/>
  36. </div>
  37. <br/>
  38. </div>
  39. <strong>
  40. <h4 th:text="#{screen.oauth.confirm.message(${serviceName})}"/>
  41. </strong>
  42. <p>
  43. <a class="btn btn-submit" id="allow" name="allow"
  44. th:href="@{${callbackUrl}}"
  45. th:utext="#{screen.oauth.confirm.allow}"/>
  46. <a th:if="${deniedApprovalUrl}"
  47. class="btn btn-danger" id="deny" name="deny"
  48. th:href="@{${deniedApprovalUrl}}"
  49. th:utext="#{screen.oauth.confirm.deny}"/>
  50. </p>
  51. </div>
  52. </div>
  53. </body>
  54. </html>