summary refs log tree commit diff
path: root/synapse/res/templates/terms.html
blob: 66c40a70008bbfa71cc353b07dbad37892544cd0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% extends "_base.html" %}
{% block title %}Authentication{% endblock %}

{% block header %}
<style type="text/css">
  #registrationForm input {
    display: block;
    margin: auto;
  }
</style>
{% endblock %}

{% block body %}
<form id="registrationForm" method="post" action="{{ myurl }}">
    <div>
        {% if error is defined %}
            <p class="error"><strong>Error: {{ error }}</strong></p>
        {% endif %}
        <p>
            Please click the button below if you agree to the
            <a href="{{ terms_url }}">privacy policy of this homeserver.</a>
        </p>
        <input type="hidden" name="session" value="{{ session }}" />
        <input type="submit" value="Agree" />
    </div>
</form>
{% endblock %}