summary refs log tree commit diff
path: root/synapse/res/templates/sso_auth_confirm.html
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2021-02-01 18:46:12 +0000
committerRichard van der Hoff <richard@matrix.org>2021-02-01 18:46:12 +0000
commit5963426b957d9f312817e0f3e4f44b753f8e2398 (patch)
tree217afd1d90cc7c0cb217158e5849dc011fbea5c4 /synapse/res/templates/sso_auth_confirm.html
parentRefactor email summary generation. (#9260) (diff)
parentmake primary button not wider than viewport (diff)
downloadsynapse-5963426b957d9f312817e0f3e4f44b753f8e2398.tar.xz
Merge branch 'social_login' into develop
Diffstat (limited to 'synapse/res/templates/sso_auth_confirm.html')
-rw-r--r--synapse/res/templates/sso_auth_confirm.html32
1 files changed, 23 insertions, 9 deletions
diff --git a/synapse/res/templates/sso_auth_confirm.html b/synapse/res/templates/sso_auth_confirm.html
index 4e7ca3a2ed..790470fb59 100644
--- a/synapse/res/templates/sso_auth_confirm.html
+++ b/synapse/res/templates/sso_auth_confirm.html
@@ -1,14 +1,28 @@
-<html>
-<head>
-    <title>Authentication</title>
-</head>
+<!DOCTYPE html>
+<html lang="en">
+    <head>
+        <meta charset="UTF-8">
+        <title>Authentication</title>
+        <meta name="viewport" content="width=device-width, user-scalable=no">
+        <style type="text/css">
+            {% include "sso.css" without context %}
+        </style>
+    </head>
     <body>
-        <div>
+        <header>
+            <h1>Confirm it's you to continue</h1>
             <p>
-                A client is trying to {{ description }}. To confirm this action,
-                <a href="{{ redirect_url }}">re-authenticate with single sign-on</a>.
-                If you did not expect this, your account may be compromised!
+                A client is trying to {{ description }}. To confirm this action
+                re-authorize your account with single sign-on.
             </p>
-        </div>
+            <p><strong>
+                If you did not expect this, your account may be compromised.
+            </strong></p>
+        </header>
+        <main>
+            <a href="{{ redirect_url }}" class="primary-button"/>
+                Continue with {{ idp.idp_name }}
+            </a>
+        </main>
     </body>
 </html>