From 4167494c90bc0477bdf4855a79e81dc81bba1377 Mon Sep 17 00:00:00 2001
From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Date: Mon, 1 Feb 2021 15:52:50 +0000
Subject: 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.
---
synapse/res/username_picker/index.html | 19 -------
synapse/res/username_picker/script.js | 95 ----------------------------------
synapse/res/username_picker/style.css | 27 ----------
3 files changed, 141 deletions(-)
delete mode 100644 synapse/res/username_picker/index.html
delete mode 100644 synapse/res/username_picker/script.js
delete mode 100644 synapse/res/username_picker/style.css
(limited to 'synapse/res/username_picker')
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 @@
-
-
-