mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-25 11:45:30 +00:00
![Patrick Cloke](/assets/img/avatar_default.png)
* Enables autoescape by default for HTML files. * Adds a new read_template method for reading a single template. * Some logic clean-up.
32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<link rel="stylesheet" href="/_matrix/static/client/login/style.css">
|
|
<title>{{ server_name }} Login</title>
|
|
</head>
|
|
<body>
|
|
<div id="container">
|
|
<h1 id="title">{{ server_name }} Login</h1>
|
|
<div class="login_flow">
|
|
<p>Choose one of the following identity providers:</p>
|
|
<form>
|
|
<input type="hidden" name="redirectUrl" value="{{ redirect_url }}">
|
|
<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 }}</label>
|
|
{% if p.idp_icon %}
|
|
<img src="{{ p.idp_icon | mxc_to_http(32, 32) }}"/>
|
|
{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
<input type="submit" class="button button--full-width" id="button-submit" value="Submit">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|