2021-01-05 12:25:28 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<link rel="stylesheet" href="/_matrix/static/client/login/style.css">
|
2021-01-27 16:59:50 +01:00
|
|
|
<title>{{ server_name }} Login</title>
|
2021-01-05 12:25:28 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="container">
|
2021-01-27 16:59:50 +01:00
|
|
|
<h1 id="title">{{ server_name }} Login</h1>
|
2021-01-05 12:25:28 +01:00
|
|
|
<div class="login_flow">
|
|
|
|
<p>Choose one of the following identity providers:</p>
|
|
|
|
<form>
|
2021-01-27 16:59:50 +01:00
|
|
|
<input type="hidden" name="redirectUrl" value="{{ redirect_url }}">
|
2021-01-05 12:25:28 +01:00
|
|
|
<ul class="radiobuttons">
|
|
|
|
{% for p in providers %}
|
|
|
|
<li>
|
2021-01-27 16:59:50 +01:00
|
|
|
<input type="radio" name="idp" id="prov{{ loop.index }}" value="{{ p.idp_id }}">
|
|
|
|
<label for="prov{{ loop.index }}">{{ p.idp_name }}</label>
|
2021-01-20 14:15:14 +01:00
|
|
|
{% if p.idp_icon %}
|
2021-01-27 16:59:50 +01:00
|
|
|
<img src="{{ p.idp_icon | mxc_to_http(32, 32) }}"/>
|
2021-01-20 14:15:14 +01:00
|
|
|
{% endif %}
|
2021-01-05 12:25:28 +01:00
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
<input type="submit" class="button button--full-width" id="button-submit" value="Submit">
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|