diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-02-01 15:52:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-01 15:52:50 +0000 |
commit | 4167494c90bc0477bdf4855a79e81dc81bba1377 (patch) | |
tree | 6ec650b39d8521d9c7f8d8d3386c5ab8320e3ed7 /synapse/res/username_picker/index.html | |
parent | Improve styling and wording of SSO redirect confirm template (#9272) (diff) | |
download | synapse-4167494c90bc0477bdf4855a79e81dc81bba1377.tar.xz |
Replace username picker with a template (#9275)
There's some prelimiary work here to pull out the construction of a jinja environment to a separate function. I wanted to load the template at display time rather than load time, so that it's easy to update on the fly. Honestly, I think we should do this with all our templates: the risk of ending up with malformed templates is far outweighed by the improved turnaround time for an admin trying to update them.
Diffstat (limited to 'synapse/res/username_picker/index.html')
-rw-r--r-- | synapse/res/username_picker/index.html | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/synapse/res/username_picker/index.html b/synapse/res/username_picker/index.html deleted file mode 100644 index 37ea8bb6d8..0000000000 --- a/synapse/res/username_picker/index.html +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - <head> - <title>Synapse Login</title> - <link rel="stylesheet" href="style.css" type="text/css" /> - </head> - <body> - <div class="card"> - <form method="post" class="form__input" id="form" action="submit"> - <label for="field-username">Please pick your username:</label> - <input type="text" name="username" id="field-username" autofocus=""> - <input type="submit" class="button button--full-width" id="button-submit" value="Submit"> - </form> - <!-- this is used for feedback --> - <div role=alert class="tooltip hidden" id="message"></div> - <script src="script.js"></script> - </div> - </body> -</html> |