register.html 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {% extends "layout.html" %}
  2. {% block title %}Register{% endblock %}
  3. {% block description %}Register to take you business to it's fullest potential{% endblock %}
  4. {% block head %}
  5. <style>
  6. </style>
  7. {% endblock %}
  8. {% block content %}
  9. <div class="container">
  10. <div class="section">
  11. <div class="heading_div">
  12. <h1>Register <u>Securely</u> Using Your <a target="_blank" href="https://matrix.org/about/">Matrix</a> Account
  13. </h1>
  14. <h3>Don't Already Have Your Own Federated Matrix Account?</h3>
  15. <h4>The simplest way to sign up a Matrix account is to use <a target="_blank"
  16. href="https://app.element.io/">Element</a>, a web-based client.
  17. A great application to immediately start chatting, calling and screen sharing and will be fully integrated
  18. immediately with Kinbrio to receive any notifications and alerts you need.
  19. Go to <a target="_blank" class="button" href="https://app.element.io/">app.element.io</a> to get started - this will allow you
  20. to sign up for a
  21. new account on Matrix.org and register here using your new account, securely!</h4>
  22. </div>
  23. <div class="row justified">
  24. <div class="content">
  25. <form id="register_form">
  26. {% for choice in choices %}
  27. <a class="button" href="{{choice.url}}">{{choice.display}}</a>
  28. {% endfor %}
  29. </form>
  30. </div>
  31. </div>
  32. <div class="row justified">
  33. <p>What the hell is <a target="_blank" href="https://matrix.org/about/"><u>Matrix</u></a> and <a target="_blank"
  34. href="/why_federate">why do I care</a>?</p>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. <script>
  40. window.addEventListener('load', function () {
  41. post_form("register_form", "/register", data => {
  42. if (data.get("secret") != data.get("confirm_password")) {
  43. document.getElementById("error").innerHTML = "Passwords don't match";
  44. return false
  45. }
  46. return data
  47. });
  48. })
  49. </script>
  50. {% endblock %}