From a0c9111a7d4d7bf08d6f2d68f86ab8abe8476d5c Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Tue, 24 Sep 2024 16:58:51 +0800 Subject: [PATCH] Encapsulate password input field code Signed-off-by: Ryan Wang --- .../gateway_modules/input_fragments.html | 30 ++++++++ .../main/resources/templates/login_local.html | 31 +------- .../src/main/resources/templates/signup.html | 76 ++----------------- 3 files changed, 40 insertions(+), 97 deletions(-) create mode 100644 application/src/main/resources/templates/gateway_modules/input_fragments.html diff --git a/application/src/main/resources/templates/gateway_modules/input_fragments.html b/application/src/main/resources/templates/gateway_modules/input_fragments.html new file mode 100644 index 0000000000..c9bbac1cb1 --- /dev/null +++ b/application/src/main/resources/templates/gateway_modules/input_fragments.html @@ -0,0 +1,30 @@ +
+
+ + +
+ + + + + +
+
+
diff --git a/application/src/main/resources/templates/login_local.html b/application/src/main/resources/templates/login_local.html index 6b25bb0b80..90435ac491 100644 --- a/application/src/main/resources/templates/login_local.html +++ b/application/src/main/resources/templates/login_local.html @@ -47,33 +47,8 @@ -
- - -
- - - - - -
-
+ diff --git a/application/src/main/resources/templates/signup.html b/application/src/main/resources/templates/signup.html index 0c6cfc5820..cedccc97e2 100644 --- a/application/src/main/resources/templates/signup.html +++ b/application/src/main/resources/templates/signup.html @@ -1,4 +1,4 @@ - + Sign Up
- -
- - -
- - - - - -
-
+
-
- - -
- - - - - -
-
+