summary refs log tree commit diff
path: root/synapse/res/templates/sso_login_idp_picker.html
blob: f53c9cd67971b1a7756969d11241e5b904ad2850 (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
28
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <link rel="stylesheet" href="/_matrix/static/client/login/style.css">
        <title>{{server_name | e}} Login</title>
    </head>
    <body>
        <div id="container">
            <h1 id="title">{{server_name | e}} Login</h1>
            <div class="login_flow">
                <p>Choose one of the following identity providers:</p>
            <form>
                <input type="hidden" name="redirectUrl" value="{{redirect_url | e}}">
                <ul class="radiobuttons">
{% for p in providers %}
                    <li>
                        <input type="radio" name="idp" id="prov{{loop.index}}" value="{{p.idp_id}}">
                        <label for="prov{{loop.index}}">{{p.idp_name | e}}</label>
                    </li>
{% endfor %}
                </ul>
                <input type="submit" class="button button--full-width" id="button-submit" value="Submit">
            </form>
            </div>
        </div>
    </body>
</html>