sso_new_user_consent.html 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>SSO redirect confirmation</title>
  6. <meta name="viewport" content="width=device-width, user-scalable=no">
  7. <style type="text/css">
  8. {% include "sso.css" without context %}
  9. #consent_form {
  10. margin-top: 56px;
  11. }
  12. </style>
  13. </head>
  14. <body>
  15. <header>
  16. <h1>Your account is nearly ready</h1>
  17. <p>Agree to the terms to create your account.</p>
  18. </header>
  19. <main>
  20. <!-- {% if user_profile.avatar_url and user_profile.display_name %} -->
  21. <div class="profile">
  22. <img src="{{ user_profile.avatar_url | mxc_to_http(64, 64) }}" class="avatar" />
  23. <div class="profile-details">
  24. <div class="display-name">{{ user_profile.display_name }}</div>
  25. <div class="user-id">{{ user_id }}</div>
  26. </div>
  27. </div>
  28. <!-- {% endif %} -->
  29. <form method="post" action="{{my_url}}" id="consent_form">
  30. <p>
  31. <input id="accepted_version" type="checkbox" name="accepted_version" value="{{ consent_version }}" required>
  32. <label for="accepted_version">I have read and agree to the <a href="{{ terms_url }}" target="_blank" rel="noopener">terms and conditions</a>.</label>
  33. </p>
  34. <input type="submit" class="primary-button" value="Continue"/>
  35. </form>
  36. </main>
  37. </body>
  38. </html>